Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
replace %20 or space from url in C#.net
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
monica lund
11y
5.6k
1
Reply
Hi All,
i m using visual stdio version :2010 and framework :4.0 , i am willing to replace the space in url with -
here is my code
<rule name="Myrule3" stopProcessing=
"true">
<match url="(.
)((%20)|\ )(.
)" />
<action type="Rewrite" url="{R:1}-{R:4}" logRewrittenUrl
="true" />
</rule>
but the above rule is not effecting my url .. any help will be appreciated.
Thanks
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
C program that reads in two words, should be readable.
converting a delimited string to xml