Hi, If I want to deploy my asp.net mvc application in iis (any version it may be) with code , means without any publishing. then is it must that its bin dir have the dll which is nameed by application name? Can I deploy application without its dll?
views:
20answers:
1
A:
Not sure if this is feasible with MVC but if you want source code in your IIS server (why would you???) you need to use a web site in contrast to web application when creating your MVC project. Notice that this is not what the default template uses, meaning that you have to create everything manually from scratch.
This being said, this is not the recommended way of working with ASP.NET MVC. It is preferred to have a web application which is precompiled. For compiling you could use either the publishing functionality or take a look at Building a Web Deployment Package or take a look at Web Deployment Projects as well (blog post).
Darin Dimitrov
2010-10-27 11:01:16