Hello, your recommendation is not useful and radtools generates a lot of errors. I have version 4.4.0 of PowerTools and version 17.8.16 of VisualStudio Enterprise
Update:
The problem occurred with Hangfire is this library that generated conflict with the new parameter in the cs, what I did was add another special cs, without the parameter, for Hangfire in appsettings.json then change the following lines of code:
appsettings.json
"ConnectionStrings": {
"Default":"Server=localhost; Database=xxx; User Id=xxx; Password=xxx; Column Encryption Setting = Enabled;",
"Hangfire":"Server=localhost; Database=xxx; User Id=xxx; Password=xxx;"
},
Startup.cs
if (WebConsts.HangfireDashboardEnabled)
{
//Hangfire(Enable to use Hangfire instead of default job manager)
services.AddHangfire(config => {
config.SetDataCompatibilityLevel(CompatibilityLevel.Version_170);
config.UseColouredConsoleLogProvider();
config.UseSimpleAssemblyNameTypeSerializer();
config.UseRecommendedSerializerSettings();
config.UseSqlServerStorage(_appConfiguration.GetConnectionString("Hangfire"), new SqlServerStorageOptions
{ CommandBatchMaxTimeout = TimeSpan.FromMinutes(5),
SlidingInvisibilityTimeout = TimeSpan.FromMinutes(5),
QueuePollInterval = TimeSpan.Zero,
UseRecommendedIsolationLevel = true,
DisableGlobalLocks = true,
UsePageLocksOnDequeue = true
}); });
}
WebCoreModule.cs
JobStorage.Current = new SqlServerStorage(_appConfiguration.GetConnectionString("Hangfire"));
Do I have to change something else in the ABP Zero Project so that Hangfire does not have problems?
Thanks for the reply @ismcagdas