Sometimes, we are fortunate enough to work with a large team which means we all have parts to play. As a developer, that part would often be to cut as much code as possible and keep the project on track. In this situation, deployment may not be something to worry about.
Conversely, on smaller teams it is a concern. Here are some resources I have found that relate to deploying MVC applications to IIS. It’s not always as simple as it seems. With helpful articles like this, you don’t have to be a highly skilled Dev Ops person to deploy your applications successfully.
Firstly, we need to make sure the IIS knows how to handle routing. MVC stores the routing options so we need to give IIS those instructions too. See this article for more information – http://stackoverflow.com/questions/17717782/deploying-asp-net-mvc-4-app-on-iis-7.
Next, you may need to update your
web.config file to help IIS understand what you application is doing. See this article for more information – http://www.iis.net/configreference/system.webserver/modules.
Til next time….