Friday, April 20, 2018

What nuget package you add at start when you create a project in MVC?

To enable MVC in your web application project template, minimum these four building block packages are required.

Microsoft.Web.Infrastructure - 1 library 
Microsoft.Web.Infrastructure.dll

Microsoft ASP.NET Razor - 1 library 
System.Web.Razor.dll

Microsoft ASP.NET Web Pages (depends on 1 and 2) - 4 libraries 
System.Web.Helpers.dll System.Web.WebPages.dll 

System.Web.WebPages.Razor.dll System.Web.WebPages.Deployment.dll and some web.config settings.

Microsoft ASP.NET MVC (depends on 2 and 3) - 1 library 
System.Web.Mvc.dll and some web.config settings.


Source : https://blog.jsinh.in/man-001-base-nuget-packages-for-mvc-and-webapi/#.WtlKeYhubIU

No comments:

Followers

Link