WCF and Duplex Channels

Link. October 29, 2006. Comments [1]. Posted in: Architecture | WCF | Web Services | WinFX

Lot's of discussions on the support in Windows Communication Foundation for duplex channels and long running tasks:

  • Mike Taulty talks about trying to implement a composite duplex MSMQ binding for WCF, which would be a really interesting scenario to consider because of the MSMQ qualities, and the limitations he's hitting on the WCF model.
  • Christian Weyer chimes in with some comments on the same topic and offers some possible workarounds he and Buddhike have been exploring at thinktecture.
  • Harry Pierson asks how well WCF supports long running tasks. He suggests that WCF does not support them very well, and says that's one reason he likes SQL Server Service Broker so much. I'd say SSSB is a good match only as long as the long running tasks you're going to be executing are purely database driven and can be executed completely within the database. Sure, this is an "expanded universe" with the CLR support in SQL Server 2005, but even so it makes me nervous at times :-).
    You could also consider using a custom service with MSMQ or something like BizTalk Server for this if you had long running processes that were not completely tied to the DB (or a single DB for that matter).

Lots of good content to think about and explore!



Friday, December 08, 2006 2:12:56 PM (SA Pacific Standard Time, UTC-05:00)
Hi Thomas!

One remark to Service Broker: with the external activation mechanism in Service Broker you are also able to execute external applications when a new Service Broker message arrives. So your business logic stuff isn't directly bound to the database - you can do whatever you want when a new message arrives.

Klaus Aschenbrenner
www.csharp.at
http://www.sqljunkies.com/weblog/klaus.aschenbrenner
Upcoming book: "Pro SQL 2005 Service Broker"
Comments are closed.

About

Tomas Restrepo is co-founder of devdeo. His interests include .NET, Connected Systems, PowerShell and, lately, dynamic programming languages. More...

email: tomas@winterdom.com
msn: tomasr@passport.com
twitter: tomas_restrepo

Technorati Profile

devdeo logo

View my profile on LinkedIn

MVP logo

Syndicate

Ads


Links

Categories

Statistics

Total Posts: 1006
This Year: 76
This Month: 7
This Week: 0
Comments: 771

Blogroll

Post Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 1.9.7174.0

Sign In