IIS installation and MVC program deployment

Source: Internet
Author: User

Recently in the guest system, although not much of a project, but very little perfectly formed, using EF Code First+mysql+frozenui responsive layout, feel that through this project learned a lot of things, MySQL use, ef map MySQL, meet-style layout, This morning issued a version, did not think that some places need to change, change is not small, so the afternoon to play up the spirit of more than, and finally in the afternoon to work quickly changed. After the change to deploy, to tell the truth although do. NET also do so for a long time, but I have not deployed, the first version on-line or find the same table to solve, but the deployment of their own always have to learn to, so on their own computer Baidu tried on the next, did not expect to deploy successfully. I went home and tried again.

One, IIS installation

In the Control Panel--programs and features--start or close the Windows app-->internet information services--> World Wide Web Service--and under the application Development features panel, select the following several, The system will install IIS after confirmation.

II. deployment

Once the installation is complete, IIS can be found in the Control Panel--management tool.

1. Application Publishing

Publishing is actually quite simple, select the project right-click Publish.

May not have released the same as me, the page was popped up, do not know what to do next step, we are here in the local deployment so you should choose a custom, and then pop up a box to create a new custom profile, and then choose how to publish, here Select the file System, and then choose the path to publish.

2. Application Deployment

The basic preparation work is done, and the rest is to configure IIS to publish the app.

1). Select IIS Manager to locate the handler map to the right of which there is an add script map such as

2) Application pool settings

With the application pool selected, on the right there is an Add application pool, set name, CLR version, and managed pipeline mode.

3) website Configuration

Check the site, also add the site, set the name, application pool, physical path (do not set on the desktop, I set the desktop not to run out of the 500 error), IP address port number these. You can see the website page by clicking on the website on the right.

IIS installation and MVC program deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.