Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App_Start Folder in ASP 4.5 only in WebApplications Projects?

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 directory. A couple of questions.

Is the App_Start directory only available for Web Application Projects?, When I try to add an existing asp.net folder I don't see it as an option to be added.

Secondly, Can I just an AuthConfig file anywhere in my website project if that is the case?

like image 595
TreK Avatar asked Jan 09 '13 03:01

TreK


1 Answers

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

like image 107
Erik Funkenbusch Avatar answered Sep 21 '22 05:09

Erik Funkenbusch