I want to redirect a link using url,action(…)to an external site
http://external.com/Page.html
How do i do that in ASP.NET?
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.
Since the local ASP.Net site does not have knowledge of the external site, just enter your code in plain Html:
If you need to calculate parameters:
If you are using MVC (your question mentions Url.Action) you can use AttributeEncode to encode the attributes to the external site.