views:

251

answers:

4

I realize this would violate convention, but I'm curious to know if you can do this through configuration.

Edit: I understand why I wouldn't want to do this. BUT, I do want to understand the internals of this time of project.

A: 

I dont think this is posible, but why do you need to change it?

Oscar Cabrero
I don't need to change it, but I'm wondering how the App_Code folder works behind the scenes. Is it simply a default that you could override?
Larsenal
A: 

Google "Convention over Configuration"

Corey Trager
+2  A: 

No you cannot rename this folder and have it actually contain executable code. The web project system is hard coded to look for code in this folder and will not consider any other folder for raw code.

JaredPar
+1  A: 

Reflector tells me that System.Web.HttpRuntime contains...

internal const string CodeDirectoryName = "App_Code";

So the answer is no.

Larsenal