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