Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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

internal const string CodeDirectoryName = "App_Code";

So the answer is no.

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

Google "Convention over Configuration"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top