This article is divided into three parts: Web site Publishing, IIS6 installation method, ASP. V4.0 Installation Method
First, the Web site publishing
1. Open the Visual Studio 2013 compilation environment
2. Right-click on its solution to eject the rebuild solution to see if there is an error
3. If the item is not wrong Right-click the WebUI layer to publish
4. This will see the following interface
5. Create a new profile in the configuration file
7. In the Profile Name dialog box, you can enter the site name, for example: test
8. Connection publishing method to select the file system
9. Select the disk you want to place the site on, then click the New Folder icon in the upper right corner, and make sure to place the item under the website folder!
10. Configure in Settings to select Release release, do not select Debug Administrator beta!
11. Next release.
12. Then open Internet Information Services (IIS) Manager
1). Open cmd Input IIS open Internet Information Services (IIS) Manager
2). Control Panel--Administration Tools--Internet Information Services (IIS) Manager
13. Open the application pool to see if there are ASP. NET 4.0 or later, and see if the status is not turned on
14. Start adding sites
15. Fill in the Site name and select V4.0 Classic in the application pool
16. Select the physical path
17. Select the type, IP address, port
18. The hostname can be empty and then OK, so a test site will appear in the Site Directory
19. Check the test station to switch to the content view, then select the index page right click to see if the publication is successful
20. Sometimes want to enter the IP address in the URL can be accessed to the homepage of the website, we can do so
21. If you want to enter 192.168.1.108 on the URL to open the homepage of the site, you can do this
(The Web default port is 80, has just changed the port to 8080, so enter 192.168.1.108 on the website can not open the site, only input 192.168.1.108:8080 to open the site)
Second, IIS6 installation method
Control Panel ==> programs and features ==> turn Windows features on or off ==> select Internet Information Services ==> Web management tools and all subdirectories of the World Wide Web service are checked (all subdirectories are checked after the root directory will not show the Tick [√]) = = OK
Three, ASP. V4.0 Installation Method
Find path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319 ==> copy its path ==> open cmd ==> input command: CD C:\Windows\ microsoft.net\framework64\v4.0.30319 (right-click) ==> Enter ==> then enter: Aspnet_regiis.exe-i ==> return to install
. NET Publishing Site steps