重新检查时如何维护项目 [英] How can I maintain a project at the time of rechecking

查看:111
本文介绍了重新检查时如何维护项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了一个项目,并且已经托管;但假设我要更改一些页面.这段时间我想停止我的项目,在那段时间里,将要打开该项目的人只能看到一个静态页面.更改完成后,他们可以看到工作页面.

请在ASP.NET中帮助我.我认为它必须在Web.config文件中.

任何解决方案;请尽快帮助我. 立即.

谢谢.

I have completed a project and it is hosted; but suppose I want to change some pages. For that time I want to stop my project and during that period people who will open that project only can see a static page. After the changes are complete they can see the working pages.

Please help me in ASP.NET. I think it must be in the Web.config file.

Any solution; Please help me as soon as you can. immediately.

Thanks.

推荐答案

在项目的根目录上添加App_Offline.htm ...参考在这里...

http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx [ ^ ]

或者,也可以在IIS设置中完成此操作.

它的名称为将所有请求重定向到IIS中的单个文件"
推荐人在这里...

http://www.microsoft.com. com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr = true [
add a App_Offline.htm on the root of your project... reference is here...

http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx[^]

alternatively, it can be done in IIS settings too..

its called, "To redirect all requests to a single file, in IIS"
the referrence is here...

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true[^]

mark as answer if solves your oroblem... it motivates :)


这篇关于重新检查时如何维护项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆