App_Start Folder in ASP 4.5 only in WebApplications Projects?

后端 未结 5 1943
萌比男神i
萌比男神i 2020-12-25 11:44

I have a Website Project I\'ve converted to .NET 4.5. I\'d like to use the AuthConfig that I\'ve seen added to the App_Start

5条回答
  •  無奈伤痛
    2020-12-25 12:03

    There is nothing special about App_Start, it's just a folder. What's special is how it's used, and that's specific to the WebActivator framework, which is a NuGet package you can install. App_Start and WebActivator are not specific to .NET 4.5, but they do require .net 4 (which means VS 2010 or 2012)

    See http://blog.davidebbo.com/2011/02/appstart-folder-convention-for-nuget.html

提交回复
热议问题