Link to home
Start Free TrialLog in
Avatar of robrodp
robrodpFlag for Mexico

asked on

Call an asp.net routine from an asp script

I have an asp app there is something I need that can only be dome with asp.net.

Can I call an asp.net script from a regular asp script? The server supports asp.net
Avatar of brawney
brawney
Flag of United States of America image

I don't know how this could be directly done.  I guess it depends on exactly what you're trying to do in asp.net and what it would return, etc.

One thought is that you can make the ASP.NET class a COM class, register it on the machine and use it like any other COM component from ASP.

Another thought is to wrap the asp.net functionality in a web service and call the web service from asp.
Avatar of robrodp

ASKER

Wher can I find info or a tutorial to make an asp.net to a com class?
I've never put a COM wrapper on a .NET Assembly, but it can be done.  I've done the opposite; used a COM component from .NET.

Before going down that road I would investigate as much as possible to see if there are other ways to accomplish what you need to do.  I'm not a big fan of COM so I'd avoid it if at all possible.

Maybe these links will send you in the right direction.
http://msdn.microsoft.com/en-us/library/64hyx33x.aspx
http://oreilly.com/catalog/comdotnetsvs/chapter/ch10.html
ASKER CERTIFIED SOLUTION
Avatar of Leo Eikelman
Leo Eikelman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of robrodp

ASKER

I am rather green at AJAX but I will make it work