views:

532

answers:

2

I have a c# .NET DLL compiled against the .NET 2.0 framework.

A customer uses classic ASP but needs the functionality of the .NET DLL. Is there a way for them to use the DLL?

A: 

i think exposing it to COM is your only option (might be wrong)

Andrew Bullock
+5  A: 

You would need to consume the .NET dll as a COM callable wrapper. This generally involves marking it as COM-visible (via attributes), and registering it as a COM component (regasm?).

See MSDN for more.

The server will need the .NET framework, of course.

Marc Gravell
Stuff that for a game of soldiers! Think I'll give it a miss.
Tim Saunders
@Tim - It's pretty straightforward in all honesty.
Russ Cam