Asim,

Sure you can use C# code in Macromedia ColdFusion MX.

In general you should create a COM object and use the CFObject tag to
instantiate it.  You can then invoke methods on the object, just as you can
from C++ or Visual Basic.

Obviously we do not have a C# interpreter built in to CFMX. :-)

Tom Jordahl
Macromedia Server Development 

-----Original Message-----
From: Asim Manzur [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 3:29 AM
To: CF-Talk
Subject: way to import the C-Sharp code in ColdFusion.

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?

-- 
Regards,



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:195136
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to