ASP Classic Hosting .NET COM Object

Memory profiling for .NET developers

Moderators: Luke Jefferson, StephenC, AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

ASP Classic Hosting .NET COM Object

Postby DuNuNuBatman » Fri Dec 02, 2011 5:11 am

Is there any way to profile a COM object written in C# that is hosted within classic asp?
DuNuNuBatman
 
Posts: 2
Joined: Fri Dec 02, 2011 5:09 am

Postby Brian Donahue » Mon Dec 05, 2011 3:27 pm

Maybe... if this is a managed-code serviced component built in Visual Studio then yes - but there are two ways you can profile it by my reckoning. If the component is configured as a COM+ server application, you can use the option to profile a COM+ server application and ANTS will call dllhost to launch it.

If the COM object is a library, then I suppose you would profile the web application (hosted in IIS or in Development Web Server) and any managed code run in the ASP worker process should show up in the profiler results.

Without knowing a lot more about this code, however, it's hard to say whether or not it will work.
Brian Donahue
 
Posts: 6669
Joined: Mon Aug 23, 2004 10:48 am

Postby DuNuNuBatman » Thu Dec 08, 2011 3:19 pm

Cool, I'll have to take another look at it. My knowledge of writing COM is lacking. I didn't think of hosting it. Thanks for your reply.
DuNuNuBatman
 
Posts: 2
Joined: Fri Dec 02, 2011 5:09 am


Return to ANTS Memory Profiler 7

Who is online

Users browsing this forum: No registered users and 0 guests