Hello @liangshiwei Can we connect now for testing it together on zoom call?
Hello,
Our users currently working on the production site. We won't be able to do any changes on the production server.
I will sent an email or send a message here when we have the system for testing and redeployments.
Thanks,
Hello,
Going for lunch now, Let me message you post lunch and then you can check on zoom meeting.
Thanks, Let me try and redeploy this and will update you on the impact. Meanwhile can you check the other ticket also where I have posted reply.
Thanks, Just need to add in appsettings part, no need to change in configuration side of code, right?
Configure<RedisCacheOptions>(options =>
{
options.InstanceName = "Production";
});
var dataProtectionBuilder = context.Services.AddDataProtection().SetApplicationName("GemsProduction");
if (!hostingEnvironment.IsDevelopment())
{
var redis = ConnectionMultiplexer
.Connect(configuration["Redis:Configuration"]);
dataProtectionBuilder.PersistKeysToStackExchangeRedis(redis, "GemsProduction-Protection-Keys");
}
Hello
This needs to be added before we setup applicationname and connection with redis right? Check screenshot and code and confirm please.
private void ConfigureDataProtection(
ServiceConfigurationContext context,
IConfiguration configuration,
IWebHostEnvironment hostingEnvironment)
{
Configure<RedisCacheOptions>(options =>
{
options.InstanceName = "Production";
});
var dataProtectionBuilder = context.Services.AddDataProtection().SetApplicationName("GemsProduction");
if (!hostingEnvironment.IsDevelopment())
{
var redis = ConnectionMultiplexer
.Connect(configuration["Redis:Configuration"]);
dataProtectionBuilder.PersistKeysToStackExchangeRedis(redis, "GemsProduction-Protection-Keys");
}
}
Hello,
Which place need to add this code. As can not see this RedisCacheOptions declared or used any of the module pages (Authservermodule, WebModule)
Hello Team,
Any updates