Wednesday, May 4, 2011

Using C# and togheter in

To use in the same Web Application classes written in different languages, such C# and, you have to do this steps:

Create in the App_Code folder two subfolder, called for example VB and CS:


Next, add in the web.config this lines:
add directoryName="CS"/>
<add directoryName="VB"/>

And voila, its done!

PS: obviously, you have to put all classes in a folder and all the c# classes in the other folder...