asp.net CommunityServer中的wwwStatus

我们一生之中,要牢记和要忘记的东西一样多。其实人生最好的贵人,就是不断努力的自己!靠自己,最踏实!假期很短暂,快乐却无边,工作很苦闷,赚钱最重要,陶醉在假期的快乐中,奋斗在工作的战线中,苦中寻乐一点甜,快乐与你长相伴。

wwwStatus (default = Remove)
Three supported values: Require, Remove, Ignore
Require validates the current Url uses www. (ie, http://www.communityserver.org)
Remove validates the current Url does not contain www.
Ignore does not validate the request

\大概意思是:
有3个属性:Require, Remove, Ignore。使用Require意味着必须使用www;使用Remove则意味着如果使用www.haodaima.com则会自动跳为haodaima.com;而使用Ignore则以为着不处理。

到此这篇关于asp.net CommunityServer中的wwwStatus就介绍到这了。分分秒秒,构筑辉煌。更多相关asp.net CommunityServer中的wwwStatus内容请查看相关栏目,小编编辑不易,再次感谢大家的支持!

您可能有感兴趣的文章
ASP.NET中Response.BufferOutput属性的使用技巧

ASP.NET轻量级MVC框架Nancy的基本用法

ASP.NET Core中的对象池介绍

.NET集成ORM框架HiSql

asp.net中MVC的处理流程详解