Search code examples
asp.netasp.net-mvc-3iisconfigurationprerequisites

ASP.Net MVC 3 : Production environnement


I've developed a small site with ASP.NET MVC3, I will have to deploy in the next few days, and I would like to know which prerequisite the server should have(like this I can contact their IT service to be sure they have everything).

They already have IIS 7.5, the last .net framework installed, but should they have something installed/configured for ASP.NET MVC 3? I searched, but I found only non relevant links :(


Solution

  • In general, ASP.NET should be installed and configured on IIS.

    There're the two general methods that ASP.NET MVC application can be deployed with:

    1. Bin Deploy - it means that you will include the asp.net mvc dlls with the published web site. This time nothing else is required, just the published web site files. Read more about it on Phil Haack's blog post
    2. PreInstall ASP.NET MVC on server - using Microsoft Web Installer or the standalone downloader. Both links taken from ASP.NET MVC3 Home. This will install all the required dlls on server, so they will not be required to be passed along the published web site.

    That's just it, nothing more. ASP.NET MVC is known to have some problems when deployed to iis 6, but for the version you are deploying to, problems are solved. Read about those problems here