In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "the detailed steps of VS2012 publishing website". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the detailed steps of VS2012 publishing website.
1. Open your VS2012 project and right-click on the project menu to regenerate the project; right-click on publish again:
2. Pop up the website publishing settings panel, and click to create a new publishing profile:
Enter the profile name you defined:
3. Click next: select "File system" in the publishing method, so that we can publish to the local file we specify.
Select the folder you specify: create a new folder by clicking on the red arrow in the upper right corner of the image below and customize the name (mine will write WebSite). Click Open to proceed to the next step
4, in the configuration, to choose "Release"-release mode (Release is called release version, it is often a variety of optimization, so that the program in the code size and running speed are optimal, so that users can use it well. Debug, often referred to as the debug version, contains debugging information and does not make any optimizations, making it easy for programmers to debug programs)
5. Click next: enter the pre-release preview interface
Click publish to publish in the folder you specify. Here, I publish it in the WebSite folder under disk C.
After the release is successful, click on the folder, and the .cs files of all the pages are gone. Where are they? Is it in the bin folder? Let's guess.
Published screenshot:
6. Start the 'Internet Information Services (IIS) Manager' through the Control Panel Administrative tools to enter the IIS interface.
Right-click site add site
7. In the figure below, enter the custom website name in the red box on the left (please try to use English, here I will write MyPhotoSite), click 'Select (E) …' at the red arrow on the right. Make changes.
You can click the drop-down list box to choose according to your own version of the website (generally, please choose one without Classic). What I choose here is DefaultAppPool.
8. Select the physical path of the published site folder.
9. Click the drop-down list to select "your current IP address"
Click OK: at this time our website is just one step away from publishing, click on the website MyPhotosSite, and then click the red arrow below to switch to the "content View".
10. The last step: register the IIS server. Command: aspnet_regiis-i (please copy), first in the program menu "VS2012" VS2012 developer command prompt "Visual Studio Tools". Right-click the VS2012 developer Command prompt. Run as an administrator. (if you are not running as an administrator, you will be prompted with a "insufficient permissions" error)
After running, right-paste aspnet_regiis-I and press enter. Wait for about 1 minute to complete the installation (my machine is slow, so I provide 1 minute for your reference, don't worry and wait for the installation to be completed).
Finally, find the home page of your website and right-click. IE sometimes does not respond (the address bar is blank), and it takes multiple browsing to succeed. Show what we've done:
At this point, I believe you have a deeper understanding of the "detailed steps of the VS2012 publishing website". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.