I am starting a project in asp.net. I want to use 3 layer architecture. now I have problem with layers. I manage these layers like this:
but I have seen somewhere that uses App_Code and some other formats. could you please help me which one is true and standard?
App_Code
is a special ASP.NET folder which is used by ASP.NET Websites. It is not used by precompiled ASP.NET applications. You can read more about the differences between the two in this article
. So if UI is an ASP.NET Website you could use the App_Code
folder to put some logic although this is better suited to external libraries as you have in your current design. This allows for better unit testability of this code and reusability.