Groups | Blog | Home
all groups > dotnet interop > september 2006 >

dotnet interop : Calling .NET code from ASP


Mwob
9/30/2006 9:31:56 AM
Hi,

If I call .NET code from ASP by registering the .NET assemblies with
COM, how can I tell in my assembly if it is being called from interop?
Does anyone know that process actaully executes the .net code - if
asp.net code calls my assembly then obviously the process is
aspnet_wp...

Thanks!

Matt
Gaurav Vaish (www.EduJiniOnline.com)
10/1/2006 12:32:45 AM
[quoted text, click to view]

You can't.
Your code always runs within .Net.
Not sure if there would be anything special in StackTrace... I don't think
there should be.

[quoted text, click to view]

COM-client talks to mscoree.dll that talks to the .Net DLL by running it on
top of the .Net Runtime.


--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------

AddThis Social Bookmark Button