# Tuesday, July 06, 2004
« Ask the Experts | Main | Differences between managers and program... »

One of the main talking points at Tech Ed was whether to use remoting or enterprise services to talk between service tiers. For the benefit of the guys at work I thought I'd try and collate some of the information thats available and draw some guidelines. I won't cover ASMX/WSE as I believe there is no argument there - for talking between services use ASMX.

Firstly, for an overview of the options for hosting objects and communicating with them, you can't beat Don Box's bullets:

Don however doesn't mention remoting as he is really against it. Rock Lhotka provides a view that includes remoting:

These two articles from Richard Turner (a program manager working on "Indigo") give you the inside view.

Finally, another good roundup is by Aaron Skonnard reviewing Richard Turner's Tech-Ed session:

I think the general guidance from all these articles is that remoting is OK given the following rules:

  1. Only use it between tiers on the same machine (Otherwise use DCOM/ES instead)
  2. Don't use any of the custom stuff like formatters and sinks
  3. Don't use it at the service boundary (Use ASMX instead)
  4. You MUST use remoting to communicate between app domains in the same process
  5. You may have to do some rework when Indigo arrives
by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Tuesday, July 06, 2004 12:15:23 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
Related posts:
Post TechReady and Popfly Invites
Testing Windows Forms Applications
Messing around with the Insert Code plug-in
Link Dump
Debugging FullTrust VSTO InfoPath Forms
Which version of the .NET Framework does Excel load?
Comments are closed.