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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top