asp.net mvc - .NET-MVC - Rewrite URL's + certain URL's through SSL? -


IIS 6 is a webserver running .NET MVC with a domain name. Site URL again is to generate such type of use URL:

domain.com/controller/action

I force a To use (1) controller , SSL (others should work without SSL). How do I implement it?

Decorate the controller that requires SSL. The

  [RequireHttps] public class Sikyorntntrolr: Controller {...}  

However, requests can supply a custom version localhost Ignore this if you are using Cassini for debugging.


Comments