IIS URL 动态改写方式 [英] IIS URL dynamic rewriting ways

查看:11
本文介绍了IIS URL 动态改写方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IIS、asp.net 网页中动态url重写的方式有哪些?我知道其中之一是动态地将规则添加到配置中,但这有一些缺点.

What are the ways of dynamic url rewriting in IIS, asp.net web page. I know one of them is to add rules into config dynamically, but that has some disadvantages.

推荐答案

您还可以通过 IIS Url Rewrite Module 使用自定义重写提供程序.有一篇关于这个主题的好文章 这里.

You can also use custom rewrite providers with the IIS Url Rewrite Module. There is a good article on the subject here.

如果您需要动态重写规则,DbProvider 可能对您最有用.

The DbProvider might be the most useful to you if you want dynamic rewrite rules.

这篇关于IIS URL 动态改写方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆