how to get current url in mvc

daa
daa
4 Points
2 Posts

Hi,

how to get current url in mvc?

Views: 9219
Total Answered: 1
Total Marked As Answer: 0
Posted On: 15-Jun-2015 09:36

Share:   fb twitter linkedin
Answers
Smith
Smith
Moderator
738 Points
154 Posts
         

Hi,

Use  Request.RawUrl

In view as:

 @Request.RawUrl
Posted On: 15-Jun-2015 09:42
 Log In to Chat