I want to use https for a single page instead of whole website.
My application is in MVC3. I have used below code to accomplish this.
[RequireHttps]
public ViewResult YourAction()
But after routing to my particular action, the whole website runs under https.
I want to use https for a single page not for whole website.
I have done it using below code.