Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which assemblies are required for MVC4?

In the MVC4 templates, many many (...many!) assemblies are added to a project, even for the "empty" template.

Which ones are really necessary, and what does each one actually do - I cannot find a list anywhere? I only want to reference the ones I need.

I created an "empty" project and started removing them one by one, but it gets tedious (and breaks) very quickly because of the associated web.config changes, etc.

like image 746
Bobby B Avatar asked Oct 01 '12 10:10

Bobby B


People also ask

What is MVC4?

ASP.NET MVC 4 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of the ASP.NET and the . NET framework. This new, fourth version of the framework focuses on making mobile web application development easier.

Which assembly contains MVC class?

The MVC framework is defined through System. Web. Mvc assembly. This is because this is the only assembly which contains classes and interfaces that support the ASP.NET Model View Controller (MVC) framework for creating Web application.

How do I know if MVC 4 is installed?

During design time go to “Solution Explorer." Right click on it and expand the “References” folder. Right click on “Web. MVC” Assembly. Then select “Properties” and you can find the versions.


1 Answers

Can't find anything official, but did manage to get a barebones project to run by using this answer.

Would still like to know what all the DLLs are for in the various templates.

like image 148
Bobby B Avatar answered Oct 20 '22 19:10

Bobby B