\App_Code Folder stores your classes, .wsdl files, and typed datasets.
Items in this folder are automatically available to all the pages within your solution.
Because all the classes contained in this folder are built into a single assembly,
you cannot have classes of different languages sitting in the root \App_Code folder
\App_Code
Calculator.cs
AdvancedMath.vb
In order to work with multiple languages in your \App_Code folder,
you must make some changes to the folder structure and to the web.config file.
The first step is to add two new subfolders to the \App_Code folder - a \VB folder and a \CS folder.
\App_Code
\VB
Add.vb
\CS
Subtract.cs
Structuring the web.config file
<compilation>
<codeSubDirectories>
<add directoryName="VB"></add>
<add directoryName="CS"></add>
</codeSubDirectories>
</compilation>
|