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:195114
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