Re: Using ATL COM DLL in web-based application (Visual C# and ASP.
"John" <John@discussions.microsoft.com> wrote in message
news:579EB983-803D-4443-AAFC-9837C4AE1970@microsoft.com
I have one more doubt. I would like to use this atl com dll in
page_load event of aspx page.
Details of ATL COM DLL ->Threading Model - Apartment, Interface -
Dual
and Aggregation - Yes
Is this atl com dll can work aspx page when multiple users are
accessing this page simultaneously?
Yes. As far as I know, an ASPX page is processed by a dedicated STA
thread, and your object will happily run on the same thread.
You may find this document useful:
http://msdn2.microsoft.com/en-us/library/ms951557.aspx
for ex: 5000 users are accessing
this web page at 00:00:00 am. In this case, Can atl com dll serve to
all 5000 users?
There is nothing in ATL or COM that would prevent that. There might be
something in your code that may cause problems, of course.
Do I need change this architecture for better
performance. I mean, convert atl com dll to com+ like that.
Have you measured performance of your existing solution, and found it
inadequate?
Can you please suggest me the best approach to solve this?
Solve what? I don't recall you stating a problem you need solved.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925