Detailed steps for. NET website publishing and. net website publishing

Source: Internet
Author: User

Detailed steps for. NET website publishing and. net website publishing

This article consists of three parts: web site Publishing, IIS6 installation, and ASP. NET v4.0 installation.

I. web site Publishing

1. Open the Visual Studio 2013 compiling environment

2. Right-click the solution to bring up a new solution to check for any errors.

3. If the project is correct, right-click WebUI layer to publish

 

4. The following page is displayed:

5. Create a configuration file in the configuration file

7. In the configuration file name dialog box, enter the website name, for example, test.

8. Select the file system for the connection publishing method.

9. Select the disk you want to place the WebSite on, and click the new folder icon in the upper right corner. Make sure to put the project under the WebSite folder!

10. Select the Release version for configuration in settings. Do not select the Debug administrator test version!

11. next release.

12. Open the Internet Information Service (IIS) manager.

1) Open cmd and enter IIS to open Internet Information Service (IIS) Manager

2). Control Panel --> Administrative Tools --> Internet Information Service (IIS) Manager

13. Check whether ASP. NET 4.0 or a later version is available in the application pool, and check whether the status is disabled.

14. Start adding a website

15. Enter the website name and select v4.0 Classic in the application pool.

16. Select the physical path

17. Select the type, IP address, and Port

18. The host name can be blank and then OK. A test site will appear in the website directory.

19. Select the test site to switch to the content view, select the index page, and right-click browse to see if the release is successful.

20. Sometimes you want to enter an IP address in the URL to access the homepage of the website. We can do this.

21. If you want to enter 192.168.1.108 on the URL, you can open the homepage of the website.

(The default web port is 80 and the port is changed to 8080. Therefore, you cannot open the website by entering 192.168.1.108 on the website. You can only open the website by entering 192.168.1.108: 8080)

Ii. IIS6 Installation Method

Control Panel ==> programs and functions ==> enable or disable Windows functions ==> Select Internet Information Service ==> Web management tools and all subdirectories of the World Wide Web service to check (all subdirectories) check the root directory to check [√]). ==> OK

Iii. ASP. NET V4.0 Installation Method

Search for 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 and paste) ==> press ENTER ==> and enter: aspnet_regiis.exe-I ==> press enter to install

Note: if there are any omissions or errors in the article, you can leave a message to make it easy to change !~

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

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.