Groups | Blog | Home
all groups > dotnet component services > february 2004 >

dotnet component services : ASP.NET Question Regarding COM+ vs Web Services



William
2/24/2004 1:26:24 AM
First I am a COM+ newbie.

1. How can I access COM+ applications from ASP.NET?

2. Why use COM+ instead of a web service, transactional support?

Thank In Advance.

VR
2/27/2004 9:40:11 PM
1. How can I access COM+ applications from ASP.NET?

two ways

first: you can set Option Strict Off in your class and call it like
classical ASP via CreateObject("...") (MS does not recomed)
second: you can set a reference to the object in your project and call it by
the use of a variable of the type

2. Why use COM+ instead of a web service, transactional support?
simplicity in transaction management, construction support, object pooling,
connection pooling, well, depending of what you want to do, but the
simplicity in transaction management is really a great feature you only find
in COM+

regards,
Victor




[quoted text, click to view]

William
3/1/2004 7:56:48 PM
How do you add a reference to a com+ application from asp.net?

[quoted text, click to view]

Felipe Garcia
3/3/2004 4:41:23 PM
At solution tab, you will see a references folder, right click it and click
add reference. A window may open, go to components tab and select the
components that you need.

HTH
[quoted text, click to view]

AddThis Social Bookmark Button