URL伪静态
用URLRewriter进行伪静态配置,webconfig的配置如下: 代码 <? xml version = " 1.0 " ?> < configuration > < configSections > < section name = " RewriterConfig " type = " URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter " /> </ configSections > < RewriterConfig > < Rules > < RewriterRule > < LookFor >~/ jifenmingxi.html </ LookFor > < SendTo >~/ jifenmingxi.aspx </ SendTo > </ RewriterRule > < RewriterRule > < LookFor >~/ jifenmingxi_(\d).html </ LookFor > < SendTo >~/ jifenmingxi.aspx ? page = $ 1 </ SendTo > </ RewriterRule > </ Rules > </ RewriterConfig > < connectionStrings > < add name =