by Neville
10. January 2010 11:04
There are many cases where you might want to combine C# classes with VB classes in the same website / web application. To do so, the following steps need to be followed:
- Add sub-folders to your app_code folder - one for your C# code and a second for your VB code:
- Place your code files in the appropriate folders - C# in the 'csCode' folder; VB in the 'vbCode' folder.
- Add the lines shown below to your web.config (within the <compilation> tag)
- Run/compile as normal!
