How to handle large form in asp.net core MVC application.
It is just a simple configuration on Startup.cs file and there are only two line of code we need to add it.
Please below video for more detail.
It is just a simple configuration on Startup.cs file and there are only two line of code we need to add it.
public void ConfigureServices(IServiceCollection services)
{
services.Configure(x => x.ValueCountLimit = int.MaxValue);
services.AddMvc(options =>
{
options.MaxModelBindingCollectionSize = 1500;
});
services.AddControllersWithViews();
}
Please below video for more detail.
0 comments:
Post a Comment