Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Location of System.Web.MVC so I can reflect over it with reflector

Tags:

asp.net-mvc

I installed MVC 1.0. Where's the System.Web.MVC dll so that I can use reflector to see how the helper methods are coded? I've looked in the bin folder of my ASP.NET MVC web app but it's not there. I am not quite sure where the MVC 1.0 installer installs the dll and how that wires up to the web.config of your MVC apps. Is System.Web.MVC installed in the GAC or something? If so, how the heck can I reflect over the assembly?

like image 292
PositiveGuy Avatar asked Jun 17 '09 15:06

PositiveGuy


People also ask

How to localize a MVC 5 web site?

Now go to the browser and change the language for Tool -> Internet Options. Click the Add button. Select the language depending on your resource file language and click ok. Run you application and click the submit button. In this article I have explained how to localize easily and properly a MVC 5 web site.

Where can I find MVC DLLs?

C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 2\Assemblies\System.Web.Mvc.dll

Can I use system web MVC with Visual Studio project templates?

Then you will be able to using System.Web.MVC; Default ASP.NET MVC Visual Studio project templates do exactly so and they don't use dll's from Microsoft ASP.NET folder on your machine. Hope it will help somebody. Thanks for contributing an answer to Stack Overflow!

What is ASP NET MVC 5?

ASP. NET MVC 5 The System.Web.Mvc namespace contains classes and interfaces that support the ASP.NET Model View Controller (MVC) framework for creating Web applications. This namespace includes classes that represent controllers, controller factories, action results, views, partial view, model binders, and much more.


3 Answers

Mine was in C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 1.0\Assemblies\System.Web.Mvc.dll.

like image 200
ravuya Avatar answered Sep 18 '22 15:09

ravuya


Mine is at: C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 1.0\Assemblies

like image 24
nkirkes Avatar answered Sep 17 '22 15:09

nkirkes


You can view the actual source code on-line at http://aspnetwebstack.codeplex.com/. Sometimes the version there lags the release, but it's usually pretty up-to-date. When I use Reflector, I just add the assembly from C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 1.0\Assemblies.

like image 22
tvanfosson Avatar answered Sep 19 '22 15:09

tvanfosson