IIS deploys MVC project

Let’s create the project first



Creating an MVC Project



Right click project release



Select the folder and click Create Profile

Click on the release



Locate the project folder you want to publish, and click Open

Copy the files to a folder on your desktop called WebApp.



Open IIS and let’s add the site:

1. Right click the site.

2. Add a website.



Go to the Add Site page and enter the add site name, the path just published, and finally change the port name

At this point we click to browse the website



We see: 500.19



At this point we need to configure permissions



Click Security: At this point we will add our permissions and click Edit again



The following page appears,

1. After we click Add,

2. Enter iis_iUSRS

3. Click to check the name

Finally click OK –



Check permissions for full control



Continue as above to add another user permission: iusr

The results are shown below:



And then I’ll say OK

After completing the above permission configuration, we click Browse to get the following result: we are done ~~

Welcome to qq group communication: 704028989