ASP.NET.3.5电子商务开发实战源代码

  • h3_392215
    了解作者
  • 3.7MB
    文件大小
  • 7z
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-09 11:45
    上传日期
原书对应的所有源代码 源代码 是也,,,,,,,,,,
ASP.NET.3.5电子商务开发实战源代码.7z
内容介绍
UrlRewriter - a rule-based URL Rewriter for .NET. Copyright (c)2007 Seth Yates Author Seth Yates Version 2.0 RC 1 build 6 Installation ============ 1. Open your web project, or create a new one. 2. Add a reference to the Intelligencia.UrlRewriter assembly. 3. Open the web.config file. 4. Add Configuration section handler: <configSections> <section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" /> </configSections> This enables the URL Rewriter to read its configuration from the rewriteRules node in the web.config file. 5. Add UrlRewriter mapper HttpModule: <system.web> <httpModules> <add type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" name="UrlRewriter" / rel='nofollow' onclick='return false;'> </httpModules> </system.web> This enables the URL Rewriter to intercept web requests and rewrite URL requests. 6. Add some rules to your web.config file: <rewriter> <if url="/tags/(.+)" rewrite="/tagcloud.aspx?tag=$1" /> <!-- same thing as <rewrite url="/tags/(.+)" to="/tagcloud.aspx?tag=$1" /> --> </rewriter> The syntax of the rewriter section is very powerful. Refer to the help file for more details of what is possible. The above rule assumes you have mapped all requests to the .NET runtime. For more information on how to do this, see http://urlrewriter.net/index.php/using/installation/ 7. Compile and test!
评论
    相关推荐
    • asp.net
      asp.net做的,有参考价值!适合初学者.
    • asp.net
      asp.net初学者实用小实例
    • asp.net
      hello,this is a asp.net
    • asp.net
      oksssssssssssssssssss
    • Asp.Net
      Asp.Net
    • ASP.NET
      关于ASP.NET的一些说明
    • asp.net 课件
      asp.net课件,ASP.NET项目实训_电子教案ASP.NET项目实训_电子教案ASP.NET项目实训_电子教案ASP.NET项目实训_电子教案ASP.NET项目实训_电子教案
    • ASP.NET相册控件
      ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP.NET相册控件ASP...
    • ASP.NET验证码
      ASP.NET验证码 ASP.NET验证码ASP.NET验证码 ASP.NET验证码 ASP.NET验证码 ASP.NET验证码 ASP.NET验证码 ASP.NET验证码
    • asp.net网上书店
      转换界面jsasp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net网上书店asp.net...