Activities of "maliming"

hi

System.IO.InvalidDataException: Form key length limit 2048 exceeded.

You can configure the KeyLengthLimit of FormOptions.

https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.features.formoptions.keylengthlimit?view=aspnetcore-7.0

Answer

hi

Can you share the full error info?

Thanks

hi

https://support.abp.io/QA/Questions?Filter=MultiTenantConnectionStringResolver

hi

Thanks, I will handle this.

hi

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-7.0#appsettingsjson

You can create the appsettings.json by the environment.

: )

hi

These are the changes: https://support.abp.io/QA/Questions/5740#answer-3a0da383-face-7d11-aa37-6152b014966e

You should use the production URL in appsettings.json and then migrate the URL to the production database.

appsettings.json appsettings.Development.json appsettings.Production.json

hi

context.Services.ConfigureApplicationCookie(options =>
{
    options.ExpireTimeSpan = TimeSpan.FromSeconds(10);
    options.SlidingExpiration = true;
    options.Events.OnSigningIn = cookie =>
    {
        cookie.Properties.IsPersistent = true;
        return Task.CompletedTask;
    };
});

Configure<AbpEndpointRouterOptions>(options =>
{
    options.EndpointConfigureActions.RemoveAll(x => x.Target.GetType().FullName.Contains("AbpAspNetCoreComponentsServerModule"));
    options.EndpointConfigureActions.Add(endpointContext =>
    {
        endpointContext.Endpoints.MapBlazorHub(httpConnectionDispatcherOptions => httpConnectionDispatcherOptions.CloseOnAuthenticationExpiration = true);
        endpointContext.Endpoints.MapFallbackToPage("/_Host");
    });
});

Just a moment, I'll confirm it again.

Showing 5501 to 5510 of 10662 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 15, 2025, 14:41