Pretty sure that is not possible in lucee.
However, it is extremely easy if you absolutely need to use .net. Enable asp.net on server.
Write an asp.net page and add you .net specific logic there. I would use a simple rest interface.
Then ensure it can only be called locally (iis security or code in page).
You should, then, be able to call it using cfhttp all day long.
Just curious if you guys had given this any though as to whether it could
be integrated:
Jani, in the mean time, you might have success generating a Java wrapper
around the .Net assembly using the above and then interacting with the Java
wrapper from CFML.On Monday, August 3, 2015 at 6:58:47 AM UTC-5, Igal wrote:
I’d still visit Kai’s question if I were you – can’t you achieve your
objective with a Java library instead? you’ll get much better performance
and integration…
and no, .NET objects are not supported in Lucee, but it ships with the
JAva COm Bridge (JACOB – Java/COM Bridge - Dan Adler) which enables
communications between Java and COM objects, so that might also be an
option here.
On Monday, 3 August 2015 16:44:17 UTC+5:30, Bilal wrote:
Pretty sure that is not possible in lucee.
However, it is extremely easy if you absolutely need to use .net. Enable asp.net on server.
Write an asp.net page and add you .net specific logic there. I would use
a simple rest interface.
Then ensure it can only be called locally (iis security or code in page).
You should, then, be able to call it using cfhttp all day long.
–
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/