I want to modify rewrite rule from C# code. Url Rewrite rule is resides in web.config file.
step 1:- download urlrewrite2.exe Here
Step 2:- write you logic in web.config
step 3:- Put you .txt file in App_Code folder or another place for which you have given the address in web.config , txt file will have data like
**technology,expert/search-expert.aspx?CatId=1
counselling-personal-growth,expert/search-expert.aspx?CatId=2** etc**