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
Linux DistributionsASP

Avatar of undefined
Last Comment
robrodp
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
robrodp
Flag of Mexico image

ASKER

Wher can I find info or a tutorial to make an asp.net to a com class?
Avatar of brawney
brawney
Flag of United States of America image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of robrodp
robrodp
Flag of Mexico image

ASKER

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

Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.

82K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo