Use app_offline.htm in Asp.net 2.0

Source: Internet
Author: User

In Asp.net 2.0, if you want to copy the site, perform site maintenance, deployment, and perform a lot of modifications, your web application may be suspended.ProgramAnd prompts the user in a friendly way, such as what "the website is being updated" and so on, in ASP. . Net 2. 0. You can create a static HTM page file named app_offline.htm (case-insensitive), which is changed to the content you want to temporarily display and put it in the root directory of your application. In this way, any external requests will be immediately transferred to this page. At this time, your website can still be accessed, but your application cannot be accessed. In that case, you can avoid the trouble of updating many websites.
Of course, you can also use the ASP. NET configuration management tool under the website menu of vs.net 2005 to make your site offline.

Related Article

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.