Showing posts with label Asp Net Core. Show all posts
Showing posts with label Asp Net Core. Show all posts
Jan 26, 2022
Dec 11, 2021
Apr 11, 2021
Feb 21, 2021
Oct 25, 2020
Oct 18, 2020
Jul 20, 2020
How to handle large form in Asp.Net Core MVC
Kalpesh Satasiya
12:52 AM
Asp Net Core, Asp Net Core MVC, Large Form
No comments
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.