开发者

ASP.NET MVC RequireHttps not available

I'm using System.Web.MVC v2.0.50727 and can't seem to apply the RequireHttpsAttribute. I can use [OutputCache(...)] for instance, but if I try to use [RequireHttps] I get a missing assembly error.

Is there a later version of mvc 2 out there that includes t开发者_如何学编程his?


There's no MVC build v2.0.50727. The RTM build is v2.0.50217.

This problem is sometimes caused by a mismatched MVC + MVC Futures. If you're using MVC 2 Futures in your site, make sure that its version number is also v2.0.50217.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜