
Benefit of App_code
Hi... i want to know the benefit of App_code and why we use it.


3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 12, 2011, 9:20 PM EDT
We can store the Source code(.cs,.vb file) file in the app_Code folder, it will be automatically compiled at run time...
So it contains business objects and shared classes.
refer Link1
Link2
Advantages: reusability, application performance increased etc..
Gurjeet SinghRank #747 · 3.1K reputationPosted Jul 13, 2011, 10:24 AM EDT
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jul 13, 2011, 6:26 PM EDT
Note: adding large number of files/classes in app_code may hit your application compile time performance. You can add n number of files and folders in app_code but it is always suggested to keep only few files here. If you are looking to add your business and data access layer files in app_code, I would suggest you to go for class library.