写个httpmodule类 预处理下
private void application_AuthorizeRequest(object sender, EventArgs e)
{
HttpApplication application = (HttpApplication)sender;
string url = application.Context.Request.RawUrl.ToLower();
string pageName=url.Substring(url.LastIndexOf('/')+1);
string path = url.Substring(0, url.LastIndexOf('/') + 1);
application.Context.RewritePath((path+pageName+".aspx"),false);
}