阅读背景:

在ASP.NET MVC中在HTTP和HTTPS之间移动

来源:互联网 

So I've found the [RequiresHttps] attribute but once your in https your kind of stuck there, so to try and be able to have actions on a single url (and scheme) I've found I've ended up having to create my own ExtendedController to revert back to http for actions that don't use [RequireHttps].So I've found the [RequiresHttps] attribute but




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: