Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of the steps for VS2010 to publish and visit a new site

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces the "VS2010 new site release and visit steps detailed explanation", in the daily operation, I believe that many people in the VS2010 new site release and visit the steps to explain the problem in detail, the editor consulted a variety of materials, sorted out a simple and easy-to-use method of operation, hope to answer the "VS2010 new site release and visit steps detailed explanation" of the doubt! Next, please follow the editor to study!

When we are developing asp.net, the first thing we learn is to build a new site on the platform, which is the so-called "putting on airs". The first step in the release of our site is to build a new website.

Let's first open VS2010, as follows:

According to the figure above, click "website" and select the development language "C #" to create a new empty website. As follows:

Let's select the location of the site and click the OK button, as follows:

There is only one webconfig file in the empty website. Let's create a new web page, as follows:

We click "add New item" as follows:

We select "web form", and then click "add", as follows:

We casually add something to the page, such as:

Second, let's take a look at how to create a new site in IIS and configure it.

We open "IIS" as follows:

Let's right-click "site" to create a new website, and click "add site", as follows:

Then we make the relevant configuration, as above:

Note 1: the physical path we currently choose is an empty folder, which is where we publish the website when we publish it.

Note 2: we do not fill in the host name for the time being, which is what we filled in after applying for the domain name!

We click "" to confirm, as follows:

This is done by adding a website to IIS! Next let's take a look at how to publish a website in VS2010!

Open the first big step of the new website, as follows

We right-click the site and click "publish site" as follows:

Let's choose the release path, which is the path where we added the site in IIS, as follows:

We click on the location marked in the image above, and click "Open", as follows:

We can't send it if we click OK again. This is the success of the release!

Finally, let's take a look at how to visit the website and what we need to pay attention to!

Let's open IIS as follows:

We click on the location marked on the right, as follows:

We can see the successful visit! Isn't it great!

At this point, on the "VS2010 new site release and visit the steps to explain" the end of the study, I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 269

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report