<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sun, 19 May 2013 15:12:26 GMT</pubDate>
	<lastBuildDate>Sun, 19 May 2013 15:12:26 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>24</c9:totalResults>
	<c9:pageCount>-24</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>I thought that in VS2005 you could have .cs and .vb files in the same project?<br>
<br>
I just tried with an asp.net project and it doesn't work!<br>
It says that the two files <strong>use a different language, which is not allowed</strong>.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/168886#168886</link>
		<pubDate>Mon, 20 Mar 2006 16:34:00 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/168886#168886</guid>
		<dc:creator>dotnetjunkie</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dotnetjunkie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>You can mix C# and VB <em>projects</em> in the same <em>solution,</em> but I don't think you can mix them within a project.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/857c989ecd8f408b8d809dea0139f0d3#857c989ecd8f408b8d809dea0139f0d3</link>
		<pubDate>Mon, 20 Mar 2006 17:03:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/857c989ecd8f408b8d809dea0139f0d3#857c989ecd8f408b8d809dea0139f0d3</guid>
		<dc:creator>AndyC</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/AndyC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>You can't have C# and VB.Net files within the same project.<br>
<br>
seb<br>
<a href="http://sgomez.blogspot.com">http&#58;&#47;&#47;sgomez.blogspot.com</a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/c98a7d6fa433433285029dea0139f0fe#c98a7d6fa433433285029dea0139f0fe</link>
		<pubDate>Mon, 20 Mar 2006 18:57:18 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/c98a7d6fa433433285029dea0139f0fe#c98a7d6fa433433285029dea0139f0fe</guid>
		<dc:creator>sgomez</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/sgomez/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>You can't have App_Code files with both VB and C#, but you can have one VB ASP.NET page and one C# ASP.NET page in the same project.<br>
<br>
Thanks,<br>
-Dan</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/4e01f0ccf9d049fbb2c79dea0139f128#4e01f0ccf9d049fbb2c79dea0139f128</link>
		<pubDate>Mon, 20 Mar 2006 19:33:13 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/4e01f0ccf9d049fbb2c79dea0139f128#4e01f0ccf9d049fbb2c79dea0139f128</guid>
		<dc:creator>Dan Fernandez</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>Dan: So it's not possible to add a normal C# class to a VB.NET web project?&nbsp; A page is a class as well, so that's kind of strange.<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/99c51909e52e403290519dea0139f151#99c51909e52e403290519dea0139f151</link>
		<pubDate>Tue, 21 Mar 2006 01:18:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/99c51909e52e403290519dea0139f151#99c51909e52e403290519dea0139f151</guid>
		<dc:creator>dotnetjunkie</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dotnetjunkie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>I think it's because ASPX pages are compiled on the fly, whereas executables and libraries are compiled by their corresponding compilers, csc.exe in C#'s case.<br>
<br>
I guess technically someone could write a compiler that puts VB and C# together, but that'd defeat .NET's goal of being language independent, since that compiler would have to accomodate for every language out there.<br>
<br>
There's more than 50 .NET languages out there right now, and ASPX supports only two of them.<br>
<br>
It's just modularity on a different level, ASPX being arguably more practical but definitely less holistic.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/558f370890684e69a9ad9dea0139f17b#558f370890684e69a9ad9dea0139f17b</link>
		<pubDate>Tue, 21 Mar 2006 02:20:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/558f370890684e69a9ad9dea0139f17b#558f370890684e69a9ad9dea0139f17b</guid>
		<dc:creator>reinux</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/reinux/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>reinux: I was not talking about executables or libraries but a simple class file or webservice in a web project!<br>
<br>
The files in your App_Code directory are compiled on the fly as well, just like the pages, so it must be an architectural limitation!<br>
<br>
It seems that everything in App_Code is compiled together in one assembly???!!<br>
<br>
Can someone from the team tell a bit more about the exact limitations / architecture and possible solutions?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/30d1a9fe85544737875e9dea0139f1a5#30d1a9fe85544737875e9dea0139f1a5</link>
		<pubDate>Tue, 21 Mar 2006 03:42:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/30d1a9fe85544737875e9dea0139f1a5#30d1a9fe85544737875e9dea0139f1a5</guid>
		<dc:creator>dotnetjunkie</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dotnetjunkie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p><blockquote>
<div>dotnetjunkie wrote:</div>
<div>reinux: I was not talking about executables or libraries but a simple class file or webservice in a web project!<br>
<br>
The files in your App_Code directory are compiled on the fly as well, just like the pages, so it must be an architectural limitation!<br>
<br>
It seems that everything in App_Code is compiled together in one assembly???!!<br>
<br>
Can someone from the team tell a bit more about the exact limitations / architecture and possible solutions?<br>
</div>
</blockquote>
<br>
Ahh sorry, I misread.<br>
<br>
Weird... I always thought you could do it.<br>
<br>
I can see it being a limitation of CodeDom's architecture though, since CodeDom can spit out assemblies but it can't spit out
<em>just</em> raw objects.<br>
<br>
There'd be ways to get around it, I'm sure, like ILMerge does, but I guess they figured it wouldn't be worth the trouble <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-6.gif' alt='Sad' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/5b5532bc9bba4faa874f9dea0139f1cf#5b5532bc9bba4faa874f9dea0139f1cf</link>
		<pubDate>Tue, 21 Mar 2006 04:23:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/5b5532bc9bba4faa874f9dea0139f1cf#5b5532bc9bba4faa874f9dea0139f1cf</guid>
		<dc:creator>reinux</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/reinux/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>Maybe compile one as a dll with a nice Interface(s) and use it in the other project&nbsp;through a reference?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/8a94194623ba438b86869dea0139f1f8#8a94194623ba438b86869dea0139f1f8</link>
		<pubDate>Tue, 21 Mar 2006 05:31:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/8a94194623ba438b86869dea0139f1f8#8a94194623ba438b86869dea0139f1f8</guid>
		<dc:creator>JohnAskew</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JohnAskew/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p><blockquote>
<div>dotnetjunkie wrote:</div>
<div>It seems that everything in App_Code is compiled together in one assembly???!!</div>
</blockquote>
<br>
That is correct. This assembly is referenced when compiling the pages.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/3691acdebc7044278d4a9dea0139f221#3691acdebc7044278d4a9dea0139f221</link>
		<pubDate>Tue, 21 Mar 2006 17:49:31 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/3691acdebc7044278d4a9dea0139f221#3691acdebc7044278d4a9dea0139f221</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>Thanks, that explains why it can't be done.<br>
I hope that people from the team are reading this, as I think this would be a nice improvement for vNext!<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/b6772ad8dc20467e8c509dea0139f249#b6772ad8dc20467e8c509dea0139f249</link>
		<pubDate>Tue, 21 Mar 2006 22:34:06 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/b6772ad8dc20467e8c509dea0139f249#b6772ad8dc20467e8c509dea0139f249</guid>
		<dc:creator>dotnetjunkie</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/dotnetjunkie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p><a href="http://pietschsoft.com/Blog/Post.aspx?PostID=1287">Um... Yes you can use both VB.NET and C# within your App_Code folder!</a><br>
<br>
On my blog I posted on how to do just that. It's really easy!<br>
<br>
<a href="http://pietschsoft.com/Blog/Post.aspx?PostID=1287">http://pietschsoft.com/Blog/Post.aspx?PostID=1287</a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/57a814e16d0f4c6a899c9dea0139f272#57a814e16d0f4c6a899c9dea0139f272</link>
		<pubDate>Thu, 08 Jun 2006 21:11:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/57a814e16d0f4c6a899c9dea0139f272#57a814e16d0f4c6a899c9dea0139f272</guid>
		<dc:creator>Chris Pietschmann</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/CRPietschmann/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>I am having the same type problem, but with a non web project. I would like to not have to rewrite the C# code, but want to use it in my VB.net project.&nbsp; Any suggestions on if this is possible?</p>
<p>&nbsp;</p>
<p>Kquad</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/07e58eb7aae644ffa3449dea0139f2b4#07e58eb7aae644ffa3449dea0139f2b4</link>
		<pubDate>Sun, 01 Oct 2006 23:22:31 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/07e58eb7aae644ffa3449dea0139f2b4#07e58eb7aae644ffa3449dea0139f2b4</guid>
		<dc:creator>kquad</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/kquad/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>why not just build a dll and use it??<br>
<br>
simple to do, works everytime.<br>
<br>
<br>
no magic, just build a class-lib project and then ref-the dll in another project.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/dfa9716a4bfc4a329c8d9dea0139f2dc#dfa9716a4bfc4a329c8d9dea0139f2dc</link>
		<pubDate>Mon, 02 Oct 2006 02:23:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/dfa9716a4bfc4a329c8d9dea0139f2dc#dfa9716a4bfc4a329c8d9dea0139f2dc</guid>
		<dc:creator>figuerres</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/figuerres/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>csc.exe /t:module and al.exe are your friends <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif' alt='Big Smile' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/cb66a05a696d4559821c9dea0139f305#cb66a05a696d4559821c9dea0139f305</link>
		<pubDate>Mon, 02 Oct 2006 04:26:37 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/cb66a05a696d4559821c9dea0139f305#cb66a05a696d4559821c9dea0139f305</guid>
		<dc:creator>Andrew Webber FX</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Andrew Webber FX/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p><blockquote>
<div>dotnetjunkie wrote:</div>
<div>I thought that in VS2005 you could have .cs and .vb files in the same project?</div>
</blockquote>
<a href="/ShowPost.aspx?PostID=19445">you can have files in different languages in the&nbsp;same project</a>, if you are using C&#43;&#43;/CLI, at least in Beta 1, 2 you could.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/b10b4868c7fd492fae7f9dea0139f32e#b10b4868c7fd492fae7f9dea0139f32e</link>
		<pubDate>Mon, 02 Oct 2006 14:27:54 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/b10b4868c7fd492fae7f9dea0139f32e#b10b4868c7fd492fae7f9dea0139f32e</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>We can mix up both C# and VB.Net in App_Code. For that purpose we have to perform these two steps:<br>
1. Create two subdirectories in App_Code folder one each for C# and VB.Net. Let suppose i have created directory named &quot;VBCode&quot; for VB.Net and &quot;CSCode&quot; for C#.<br>
2. Modify the complition section of web.config file like this <br>
<br>
&lt;compilation&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;codeSubDirectories&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &lt;add directoryName=&quot;VBCode&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;add directoryName=&quot;CSCode&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/codeSubDirectories&gt; <br>
&lt;/compilation&gt;<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/f833dccf31e04d5d934a9dea0139f371#f833dccf31e04d5d934a9dea0139f371</link>
		<pubDate>Fri, 02 Nov 2007 11:04:49 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/f833dccf31e04d5d934a9dea0139f371#f833dccf31e04d5d934a9dea0139f371</guid>
		<dc:creator>aftab</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/aftab/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>You can also make a class lib project (compiles to dll) and put&nbsp;the respective&nbsp;code in their own projects&nbsp;in the bin directory of website. I highley recommend this approach. I am not sure I see the benifit of using app_code except in really trivial cases
 or&nbsp;pages like&nbsp;global.ASAX. I would avoid it. dlls make utility code more distributable. (of course I do not condone dll spam, making yet another dll)</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/a4cd7b2770434e7ba3589dea0139f39c#a4cd7b2770434e7ba3589dea0139f39c</link>
		<pubDate>Fri, 02 Nov 2007 13:31:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/a4cd7b2770434e7ba3589dea0139f39c#a4cd7b2770434e7ba3589dea0139f39c</guid>
		<dc:creator>odujosh</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/odujosh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>as the explanation above, you can mix&nbsp;C# and VB.Net code together by using the correct configuration. Mr. Dino Esposito's book Programming Microsoft ASP .Net 2.0 Core Reference describes this as well. BUt you have to have both VB.Net and C# compiler installed
 for this to work.<br>
<br>
the code in the app_code does get compiled on-the-fly. Actually, what happens is the code in the app_code get copied to a temporary folder,&nbsp;classes based on the aspx page combined with code behind gets generated and placed also in the temporary folder. Each
 codes will be compiled by the appropriate compilers and then linked to each other and gets deployed to asp.net. You can see the generated code in the temporary folder. in my pc it is under C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/cfd168d5dc6c48e9882f9dea0139f3df#cfd168d5dc6c48e9882f9dea0139f3df</link>
		<pubDate>Fri, 02 Nov 2007 14:12:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/cfd168d5dc6c48e9882f9dea0139f3df#cfd168d5dc6c48e9882f9dea0139f3df</guid>
		<dc:creator>punkouter</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/punkouter/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">punkouter wrote:</div>
<div class="quoteBody">BUt you have to have both VB.Net and C# compiler installed for this to work.</div>
</blockquote>
with .NET framework how could you not have them both?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/11d2d72ba47a407db1519dea0139f408#11d2d72ba47a407db1519dea0139f408</link>
		<pubDate>Fri, 02 Nov 2007 14:57:50 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/11d2d72ba47a407db1519dea0139f408#11d2d72ba47a407db1519dea0139f408</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>there are cases where we may not have C# and VB.Net compiler installed. the fact alone that we are developing on .Net Framework does not mean that we have those compiler installed. .Net Framework IS a framework afterall. It's a set of libraries where we
 develop on. FOr instance, If you installed visual web developer express, the distribution DOES include VB.Net and C# compiler. but if you only installed visual C# express, then you wont have the VB.Net compiler, yet, you can still develop using .Net Framework
 isn't it? With ASP.Net, given the proper settings, &nbsp;I think it is possible to develop on other languages, such as IronPython or IronRuby, maybe C Omega and F#. As long those languages have compiler that targets CLR anything goes. That's what language independence
 all about.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/3a35eefadbba4d06bea99dea0139f433#3a35eefadbba4d06bea99dea0139f433</link>
		<pubDate>Fri, 02 Nov 2007 15:29:06 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/3a35eefadbba4d06bea99dea0139f433#3a35eefadbba4d06bea99dea0139f433</guid>
		<dc:creator>punkouter</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/punkouter/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">punkouter wrote:</div>
<div class="quoteBody">&#65279;there are cases where we may not have C# and VB.Net compiler installed. the fact alone that we are developing on .Net Framework does not mean that we have those compiler installed.</div>
</blockquote>
again, Microsoft .NET Framework contains a C# compiler (csc.exe) and a VB compiler (vbc.exe) you don't need to install the SDK or any IDE to have the compilers<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/70912603905541fbab289dea0139f45c#70912603905541fbab289dea0139f45c</link>
		<pubDate>Fri, 02 Nov 2007 19:25:38 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/70912603905541fbab289dea0139f45c#70912603905541fbab289dea0139f45c</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p>&quot;JohnAskew--
<div class="reply">
<table>
<tbody>
<tr>
<td>Maybe compile one as a dll with a nice Interface(s) and use it in the other project&nbsp;through a reference? &quot;<br>
<br>
</td>
</tr>
</tbody>
</table>
</div>
<br>
That would be the most likely thing to do. keeping both apart but talking to each other.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/f64b9253348f4a81875b9dea0139f49e#f64b9253348f4a81875b9dea0139f49e</link>
		<pubDate>Fri, 02 Nov 2007 23:00:46 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/f64b9253348f4a81875b9dea0139f49e#f64b9253348f4a81875b9dea0139f49e</guid>
		<dc:creator>MikeeeG</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MikeeeG/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Mix VB.NET &amp;amp; C# not possible?</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">punkouter wrote:</div>
<div class="quoteBody">&#65279;there are cases where we may not have C# and VB.Net compiler installed.</div>
</blockquote>
<br>
The base framework comes with both compilers. You don't need anything else, not even the SDK. Everybody who has the .Net Framework has both the VB and the C# compiler.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/0d87530c37704541841a9dea0139f4c7#0d87530c37704541841a9dea0139f4c7</link>
		<pubDate>Sat, 03 Nov 2007 11:56:46 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/168886-Mix-VBNET-amp-C-not-possible/0d87530c37704541841a9dea0139f4c7#0d87530c37704541841a9dea0139f4c7</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>24</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>