I have been able to develop a simple asp.net project without vs. Can someone help me doing the same for a asp.net mvc 3. Starting from getting the ASP.NET MVC 3 framework. It seems that we can’t download anymore the assemblies. Is it possible to have the project compiled on the fly ( I mean without compiling the my web application but letting IIS doing so , it is possible to achieve this with the regular asp.net so I assume it could be possible with the MVC framework)
Thx
Dave
Sure, it’s pretty easy, only a couple of steps after you install ASP.NET MVC 3.
Fire notepad.exe and create a
HomeController.csfile (Of course if you don’t want to use notepad you could also do this by using thecopy con HomeController.cscommand on the command prompt, this way you will be closer to the metal):Compile on the command prompt (adjust the folders to match yours)
Create a folder
c:\MyApplicationc:\MyApplication\binand copyMyApplication.dllto thisbinfolder.Inside
c:\MyApplication\web.config:Inside
c:\MyApplication\Views\web.config:Inside
c:\MyApplication\Global.asax:Inside
c:\MyApplication\Views\Home\Index.cshtml:Now you have all the necessary files for an ASP.NET MVC 3 application. The final step is to host it on a web server and run it.
Conclusion: unless you are suffering from some severe brain damage you will never do this and simply download Visual Studio 2010 Express and start developping ASP.NET MVC 3 applications by following the tutorials on the ASP.NET MVC web site.