Yes, there is a real way to do this. C# (and any .NET language) is fully
compatible with CFML, and you can invoke .NET code directly from CFML--using
BlueDragon.NET you can create and invoke any .NET object using CFOBJECT
(just as you can with Java objects on ColdFusion and the Java/J2EE editions
of BlueDragon).

 
http://www.newatlanta.com/products/bluedragon/self_help/docs/6_2/BlueDragon_
62_CFML_on_ASP_NET.pdf

Just because ColdFusion can't do it, doesn't mean it can't be done.

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com

> -----Original Message-----
> From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, February 16, 2005 6:04 PM
> To: CF-Talk
> Subject: Re: way to import the C-Sharp code in ColdFusion.
> 
> Sadly, there's no real way to do this.
> 
> c# isn't compatable with cfml
> c# and .NET managed code is not COM, and can't be treated 
> like a COM object.
> ..NET code can't be called from CF, except by command line 
> via cfexecute
> 
> Your best bet is to make a web service, or port the code by hand.
> 
> -nathan strutz
> http://www.dopefly.com/
> 
> 
> Asim Manzur wrote:
> > I am converting an application from ASP.NET to coldfusion. I was 
> > wondering that is there anyway that I can import the C-Sharp codes 
> > into the coldfusion template.
> > 
> > Like usually in
> > ASP we do #include "filename
> > CFM we do <cfinlcude
> > ASP.NET some ppl use behind code technique. which is <%@ Page 
> > language="c#" Codebehind="MyFile.aspx.cs"
> > AutoEventWireup="false" Inherits="PFP.CreateUserDocument" %>
> > 
> > 
> > How is this possible to do in coldfusion, is it something 
> which I need 
> > to use and register the COM Object??
> > 
> > Am I going to the right path?
> > 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195124
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to