How to deploy the asp.net mvc website in IIS, and asp. netmvc in iis
The simple ASP. net mvc website configured in iis is 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 an MVC Project (Internet version), and run the test locally. Then configure iis 7:
Look at the content under simple_mvc (if the configuration is not correct here, the analyzer problem will occur !) :
Configure directory browsing first:
Because it is an MVC project, we do not need to configure the default document
Then we can browse it:
IIS configures the existing ASP. net mvc Project (proficient in asp.net mvc 4 Projects)
This project is the SportStore website in <proficient in ASP. NET MVC4>. First, you need to mount the SQL server database locally.
Then let's take a look at the structure of this project:
Three folders:
The first is related to the database, the second is the unit test module, and the third is the UI module. Note that to create a new website in IIS, you only need to set the physical path to the webUI folder in this project:
The rest are the same. The running result is as follows:
I have successfully deployed my server according to the deployment steps on the local IIS. Therefore, you can follow this deployment. I will not cite the deployment examples on the server.
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.