Accessing .Net class from .asp

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a server side .asp page (without any UI controls) on a server.
I also have a .Net class on the same server, in the same application.
Can I invoke that class from the .asp page?
 
You can wrap the .NET class in COM, register it using the regasm.exe tool so
that it is exposed just like any other COM component. A CCW (COM-Callable
Wrapper) will be created and take care of the marshalling to and from the
managed code.
This is a great solution to gradually move to ASP.NET, once all of your
components have been upgraded you can then re-write the ASP application in
ASP.NET. Here's info on the Regasm utility:
http://msdn.microsoft.com/library/d...ml/cpgrfassemblyregistrationtoolregasmexe.asp
 
Back
Top