문제

I'm using url rewrite module to IIS ( http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module ) and i want do dynamically add the rules based on a rules repository, instead of statically create them on web.config.

How can i achieve this?

Thanks

도움이 되었습니까?

해결책

You can use custom providers like DBProvider and FileMapProvider and then create a job that reads your repository and fills the DB/file with your custom rules. Check out this article for more information.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top