Where is the source for RequireHttpsAttribute?
问题 ASP.NET MVC includes the attribute RequireHttpsAttribute to force SSL connections, however in looking at codeplex, the source file for it is nowhere to be found. Am I not looking in the correct place? 回答1: I just downloaded the source for ASP.NET MVC 3 RTM and found it in the System.Web.Mvc project: namespace System.Web.Mvc { using System; using System.Diagnostics.CodeAnalysis; using System.Web.Mvc.Resources; [SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes",