> Yes, I can imagine the slowness. WCF would fix that good by replacing
> everything you have done with all the functionality behind one simple WCF
[quoted text clipped - 13 lines]
> > and
> > Web service is slow and does not scale very well.
I wouldn't do that because there typically isn't a good reason for a web
service calling wcf service - the two are essentially the same. You would
replace the web service with a WCF service while maintaining the same call
signatures and URLs. If you web service was callable at
www.someservice.com/test.asmx, you would configure your endpoint on your WCF
to be the same so that your clients would not be broken. Underneath, the
implementation of the service would change from web service to WCF, your
clients would not notice anything different, except a huge increase in
performance.
With the COM+ service, i'd be a little more careful. Now, typically, you'd
use COM+ to take advantage of the object pooling capabilities and for legacy
interaction (printing capabilities in a VB/asp web page for instance). If
that's the case, you can replace the service with WCF which provides some of
those functionalities. Otherwise tread carefully. Hands-down you'll see a
drastic performance increase but again, tread carefully on the COM+
replacement. I'm doing an analysis on exactly that this week for a live
project so if you have any more questions, post here.

Signature
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------
> So just replace the COM+ with WCF service? I dont have the liberty to
> replace
[quoted text clipped - 24 lines]
>> > and
>> > Web service is slow and does not scale very well.
Salim - 02 Mar 2008 03:58 GMT
Thanks Alvin for yuor replies.
COM+ component was there only becuase it has to run as high priviledge user
to do high priviledge tasks. I dont want to do this high priviledge tasks
under Web service whic outer workd ees. Thats the reason, i am trying to
replae COM+ with a WCF service. This WCF service will run as a high
priviledge user and will not be directly avaiable to clients via Web Service.
I understand your suggestion to just have one service but its not possible
right now and I have t maintain two components. One web service which runs as
low priviledge user and other WCF service/COM+ component to do admin tasks. I
guess even if I keep a separate WCF Service to replace COM+ and have We
service call into this WCF service, I'll still get good peformance improvment
and scalability?
> I wouldn't do that because there typically isn't a good reason for a web
> service calling wcf service - the two are essentially the same. You would
[quoted text clipped - 43 lines]
> >> > and
> >> > Web service is slow and does not scale very well.
Alvin Bruney [ASP.NET MVP] - 03 Mar 2008 00:37 GMT
Usually, this is handled by creating an account on the machine that is
capable of running the highly privilege task. Then your webservice or some
lower priority stream of code impersonates that account to perform the
highly privilege task. Once the task is completed, the impersonation is
undone. The benefit is security because the account is isolated to one high
priority task. And performance, there is only one service.
If you are going to go the way of a service calling a service, i'd encourage
you to write a prototype and measure the calls to see if they fall within
tolerant limits. That's the only way to know for sure. Talking about it
simply won't help given your circumstance. A service calling another service
will allow you to scale and give you some degree of tolerance for failure.

Signature
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
> Thanks Alvin for yuor replies.
>
[quoted text clipped - 72 lines]
>> >> > and
>> >> > Web service is slow and does not scale very well.