<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from Cold Fusion to ASP.NET</title><link>http://forums.asp.net/49.aspx</link><description>Discuss moving from Cold Fusion to ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to use the C# or VB.NET code into the coldfusion</title><link>http://forums.asp.net/thread/3190985.aspx</link><pubDate>Wed, 27 May 2009 15:39:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3190985</guid><dc:creator>vinceb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3190985.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=3190985</wfw:commentRss><description>&lt;p&gt;If your custom class resides within your ASP.NET webapp, either in an assembly (dll) within your &amp;quot;bin&amp;quot; folder or as source code within the &amp;quot;App_Code&amp;quot; directory, then just put the name of your custom class in place of &amp;quot;System.Collections.Hashtable&amp;quot; in the example I gave. If your custom class resides within an assembly (dll) within the Global Assembly Cache (GAC), then you need to specify the fully-qualified class name, including assembly name, version, etc.&lt;/p&gt;
&lt;p&gt;The only other &amp;quot;trick&amp;quot; to know is that when accessing class properties, you must use .NET IL syntax, not C# property syntax. This is as simple as appending &amp;quot;get_&amp;quot; or &amp;quot;set_&amp;quot; to the property name (which is what the C# compiler does). In the Hashtable example, notice that I access the Item property using &amp;quot;get_Item()&amp;quot;.&lt;/p&gt;
&lt;p&gt;You can find more information in Section 4.1.2 of the following document:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.newatlanta.com/products/bluedragon/self_help/docs/7_0/BlueDragon_70_Integrating_CFML_with_ASPNET.pdf"&gt;Integrating CFML with ASP.NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just to be clear, this integration of CFML and ASP.NET is only available with BlueDragon.NET and not with Adobe ColdFusion.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to use the C# or VB.NET code into the coldfusion</title><link>http://forums.asp.net/thread/3190725.aspx</link><pubDate>Wed, 27 May 2009 13:58:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3190725</guid><dc:creator>dilip12</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3190725.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=3190725</wfw:commentRss><description>&lt;p&gt;Thank you so much. How can i use the code for my own custom class. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any tutorials would be grately helpfu please.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you once again.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;</description></item><item><title>Re: How to use the C# or VB.NET code into the coldfusion</title><link>http://forums.asp.net/thread/3172973.aspx</link><pubDate>Tue, 19 May 2009 15:38:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3172973</guid><dc:creator>vinceb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3172973.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=3172973</wfw:commentRss><description>&lt;p&gt;BlueDragon.NET allows you to create .NET objects and invoke their methods from within CFM pages. For example, the following code creates an instance of System.Collections.Hashtable, adds element &amp;quot;firstName&amp;quot; and then checks for its existence within the Hashtable; the following code would be within a CFM page:&lt;/p&gt;&lt;pre class="coloredcode"&gt;    &amp;lt;&lt;span class="tag"&gt;cfset&lt;/span&gt; ht = createObject( &amp;quot;.net&amp;quot;, &amp;quot;System.Collections.Hashtable&amp;quot; )&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;cfset&lt;/span&gt; ht.Add( &amp;quot;firstName&amp;quot;, &amp;quot;Vince&amp;quot; )&amp;gt;

    &amp;lt;&lt;span class="tag"&gt;cfif&lt;/span&gt; ht.Contains( &amp;quot;firstName&amp;quot; )&amp;gt;
        Hello &amp;lt;&lt;span class="tag"&gt;cfoutput&lt;/span&gt;&amp;gt;#ht.get_Item( &amp;quot;firstName&amp;quot; )#&amp;lt;/&lt;span class="tag"&gt;cfoutput&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;cfelse&lt;/span&gt;&amp;gt;
        Error, &amp;quot;firstName&amp;quot; not found!
    &amp;lt;/&lt;span class="tag"&gt;cfif&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;p&gt;The CFML &amp;quot;createObject&amp;quot; function or &amp;lt;cfobject&amp;gt; tag can be used to create an instance of any .NET class, whether a built-in framework class or one you&amp;#39;ve written yourself.&lt;/p&gt;
&lt;p&gt;Is this what you&amp;#39;re trying to do? If not, can you give me a more detailed example and I&amp;#39;ll try to help you find a solution (I&amp;#39;m sure there is one).&lt;/p&gt;</description></item><item><title>Re: How to use the C# or VB.NET code into the coldfusion</title><link>http://forums.asp.net/thread/3172931.aspx</link><pubDate>Tue, 19 May 2009 15:19:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3172931</guid><dc:creator>dilip12</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3172931.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=3172931</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply. You have given me very good example. But i am looking other way around. I want to use the .dll&amp;#39;s or the C# code into my Coldfusion code (cfm).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to use the C# or VB.NET code into the coldfusion</title><link>http://forums.asp.net/thread/3165818.aspx</link><pubDate>Fri, 15 May 2009 17:36:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3165818</guid><dc:creator>vinceb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3165818.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=3165818</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.newatlanta.com/"&gt;My company&lt;/a&gt; makes a product called BlueDragon.NET that extends ASP.NET to allow it to run ColdFusion (CFML) applications without needing a ColdFusion Server. Yes, by installing BlueDragon.NET, you can run &amp;quot;.cfm&amp;quot; pages directly within ASP.NET. Then you can fully integrate your ColdFusion (CFML) pages with ASP.NET, for example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;share application and session scope variables between &amp;quot;.cfm&amp;quot; and &amp;quot;.aspx&amp;quot; pages&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;invoke .NET objects from within CFML pages (which I think answers your original question)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;invoke CFML components from ASP.NET pages&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;There also two documents you might be interested in reviewing:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;a href="http://www.newatlanta.com/products/bluedragon/self_help/docs/7_0/BlueDragon_70_Deploying_CFML_on_ASPNET.pdf"&gt;Deploying CFML on ASP.NET&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a href="http://www.newatlanta.com/products/bluedragon/self_help/docs/7_0/BlueDragon_70_Integrating_CFML_with_ASPNET.pdf"&gt;Integrating CFML with ASP.NET&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;BlueDragon.NET is being used by &lt;a href="http://www.myspace.com/"&gt;MySpace.com&lt;/a&gt; among many other web sites.&lt;/p&gt;</description></item><item><title>How to use the C# or VB.NET code into the coldfusion</title><link>http://forums.asp.net/thread/3150886.aspx</link><pubDate>Fri, 08 May 2009 14:49:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3150886</guid><dc:creator>dilip12</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3150886.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=3150886</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am a .Net developer and recently i am working with the coldfusion project with one of the multination company. I am encoraged to give new ideas.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My thougt is---is there any way to use the class files or the pre-compiled .net code to the coldfusion. i want to use most of my coding&amp;nbsp;i.e, core functionality&amp;nbsp;in .net and use only the calls and the html in coldfusion.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any idea will be greatly appriciated&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;</description></item></channel></rss>