IIS deployment asp.net MVC website design method

Time:2021-4-9

IIS is easy to configure ASP.NET MVC website, for your reference, the specific content is as follows

Compiler: vs 2013
Local IIS: IIS 7
Operating system: Win 7
MVC version: ASP.NET MVC4
SQL Server Version: 2008 R2

Open vs 2013, create a new MVC project (Internet version), and then run the test locally. It should work. Then configure IIS 7:

Look at simple_ MVC under the content (if not configured correctly here, there will be analyzer problems! ):

First configure the following directory to browse:

Because it’s an MVC project, we don’t need to configure the default document

Then we can browse:

IIS configuration of existing ASP.NET MVC project (proficient) asp.net Project in MVC 4)
This project is < proficient ASP.NET Mvc4 > > inside the sportstore website, first of all, you need to set up a local SQL Server database
Then let’s look at the structure of the project:

Three folders:

The first is related to database, the second is unit test module, and the third is UI module. It should be noted that the physical path to create a new website in IIS only needs to be the webui folder in this project

The rest are the same

I successfully deployed on my own server according to the steps of deploying on the local IIS. Therefore, you can just follow this deployment. I won’t give an example of deploying on the server. It’s the same.

The above is the whole content of this article, I hope to help you learn, and I hope you can support developer more.