如题。

解决方案 »

  1.   

    url重写分iis级别和asp.net级别的重写,建议lz可以上网去查查相关的资料!
      

  2.   

    可在
    Global.asax中的Application_BeginRequest中重写
    例void Application_BeginRequest(object sender, EventArgs e) {
            string fullOrigionalpath = Request.Url.ToString();       
            if (fullOrigionalpath.Contains("/Products/Books.aspx")) {
                Context.RewritePath("/Products.aspx?Category=Books");
            }
    }也可在httpHandlers 或 httpModules 中重写