I have looked online but was unable to find the difference between
using @Url.Content vs @Url.Action.
I have looked online but was unable to find the difference between using @Url.Content
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Url.Contentis used when you wish to resolve a URL for any file or resource on your site and you would pass it the relative path:Url.Actionis used to resolve an action from a controller such as:See here for more info:
http://geekswithblogs.net/liammclennan/archive/2008/05/21/122298.aspx– Dead link