Selectively Redirecting HTTP requests to HTTPS requests in ASP.NET

Posted by plaureano on Stack Overflow See other posts from Stack Overflow or by plaureano
Published on 2010-06-18T09:56:33Z Indexed on 2010/06/18 10:03 UTC
Read the original article Hit count: 313

Filed under:
|
|

What's the simplest and most effective way to selectively redirect HTTP requests to your ASP.NET page to its HTTPS equivalent?

For example, if my page site URL is http://www.somesite.com, I want to redirect some (or all) page requests to https://www.somesite.com.

What's the easiest way to do that?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about http