How to publish my MVC 3 web application on IIS7

If possible, I need to get complete beginner advice from the start on how to get my ASP.Net MVC 3 Razor Visual Studio 10 web application on my IIS 7 web server?

I have never tried to publish this before, and wonder what am I missing?

I clicked Publish on Visual Studio Express 10, created a “published” version of the website. I uploaded it to my web server but cannot upload it to the network?

Please rate some recommendations, please? (not sure how / which documents work by default, etc.?)

+6
source share
1 answer

The easiest way is to use web application deployment.

This Scott Gu Blog Gives A Great Entry

http://weblogs.asp.net/scottgu/archive/2010/07/29/vs-2010-web-deployment.aspx

The article talks about web.config conversions (the ability to have a .Release and .Debug version of your web.config). This feature was later generalized through an additional package for working with any XML-structured file in your deployment (for example, I use it with NLog configuration files).

http://www.hanselman.com/blog/SlowCheetahWebconfigTransformationSyntaxNowGeneralizedForAnyXMLConfigurationFile.aspx

+5
source

Source: https://habr.com/ru/post/913054/


All Articles