Multiple folders in App_Code folder

I create several subfolders in my App_Code folder to organize my classes, and it seems to work fine, are there any restrictions on this?

like:

  • App_code
    • Ui
      • Textboxes
      • Stickers
+3
source share
3 answers

Absolutely no limits. Subdirectories are just FileSystem Grouping, you will have to manually assign namespaces to all your classes in App_Code.

+1
source

I found this interesting piece of information looking for information about App_Code, so I thought I'd share it.

- App_Code . . codeSubDirectories Web.config . , VBCode CSCode :

<compilation debug="false">
    <codeSubDirectories>
        <add directoryName="VBCode" />
        <add directoryName="CSCode" />
    </codeSubDirectories>
</compilation>

VBCode CSCode , . App_Code, ASP.NET .

+2

, - . .

+1

Source: https://habr.com/ru/post/1706337/


All Articles