hi
_3M.DbMigrator.csproj
<PackageReference Include="Hangfire.PostgreSql" Version="1.9.9" />
public class _3MDbMigratorModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
var configuration = context.Services.GetConfiguration();
context.Services.AddHangfire(config =>
{
GlobalConfiguration.Configuration.UsePostgreSqlStorage(configuration.GetConnectionString("Default"));
//config.UsePostgreSqlStorage(configuration.GetConnectionString("Default"));
});
Configure<AbpBackgroundJobOptions>(options =>
{
options.IsJobExecutionEnabled = false;
});
}
}
You can copy from abp new Akadimi-v 6.0.1 -t app-pro
👍
builder.WebHost.ConfigureKestrel(x => x.Limits.KeepAliveTimeout = xx); is the right way to change Kestrel serttings.
Abp framework will not change anything about Kestrel.
how i configure my app to take it automatically instead of modifying the code for each page? and I want to make the digits count after the decimal point in a specific format for all language
You can add a custom middleware after UseAbpRequestLocalization and set System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
or add a Razor Page filters
https://learn.microsoft.com/en-us/aspnet/core/razor-pages/filter?view=aspnetcore-7.0#implement-razor-page-filters-globally
ok, You can run your app via dotnet run and IIS.
then make a timeout test request to test.
You can try to set the timeout in web.config.
https://dotnetblog.asphostportal.com/how-to-increase-timeout-asp-net-core/
Timeout error (after deploying the application),
What web server are you using? IIS? NGINX?
https://dotnetblog.asphostportal.com/how-to-increase-timeout-asp-net-core/
hi
hi
https://github.com/maliming