I am converting an asp.net application into mvc3. Lets say I have a sign in page that requires https and every other page only needs http how can I redirect the signin to https and keep all the other pages on http?
Any suggestions would be great!
To my absolute surprise, Kevin and I were playing UMvC3 seamlessly online through Parsec. We were pulling off the game's most difficult sequences, such as Dr. Doom's TAC infinites or Firebrand's wall cling fireballs with great ease.
It's still being played.
The RequireHttpsAttribute
class may be what you want.
[RequireHttps]
public ActionResult SignIn() {
return View();
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With