Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3215322
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:09:51+00:00 2026-05-17T15:09:51+00:00

I am interested in the design patterns that where used in the development of

  • 0

I am interested in the design patterns that where used in the development of wcf. As an example of what I am looking for: the ChannelFactory class is used to create the channel between the client and the service; does this represent an implementation of the Abstract Factory pattern or the Builder pattern? Or a combination of the two? The reason why I am asking the question is that in the documenting of design patterns the examples of its usage are frequently contrived, particularly in the area of how design patterns can be combined together. It seems to me that looking at a practical example of existing software that is in production (such as wcf, especially since a person can use Reflector to do a detailed examination of the classes and their object model) would greatly further understanding of design patterns.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:09:51+00:00Added an answer on May 17, 2026 at 3:09 pm

    Abstract Factory builds on the Builder pattern. Instead of the factory knowing how to create one type of object, it knows how to create many different, but related, types of objects. Builder is a basic building block for a pattern that encapsulates initialization of another object in a separate location from the object or consumer code. Abstract Factory uses Builder to create a pure fabrication that has the sole purpose of creating objects.

    More to your point:

    • Services in general, but especially WCF, make heavy use of Adapter-style patterns, such as Proxy. The WCF service creates a “proxy” that looks like the class behind the service endpoint, but is in reality a very different type of class; the proxy class is an “adapter” between your code (which expects a basic service class) and the service implementation (which maintains communication channels, serialization/deserialization, etc that dependent classes shouldn’t know about) that sits on top of the class that does the real work.

    • Anything having to deal with communication channels, as you found, generally involves a Factory to initialize the object representing the data channel. These objects are expensive, and require knowledge of implementation details that the consuming class shouldn’t know.

    • Behind the scenes, the service calls represent a use of the Command pattern. The message sent over the wire encapsulates the service method to call, which is digested by the web server and translated into a call to the method attached to that service endpoint. However, as it looks like you’re actually calling the method, instead of encapsulating the operation to be performed and calling a generic method, you may not consider it to be in that family.

    Asynchronous and message-passing patterns also abound in SOA.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm interested in hearing about design strategies you have used with non-relational nosql databases
Interested if anyone has used VSTS Database Edition extensively and, if so, which features
I'm interested in doing comparisons between the date string and the MySQL timestamp. However,
There are all those Design Patterns wikis -- you know, with Singleton, Iterator and
What design pattern might apply to logging? What is normally used in this type
I've recently became interested in proper OOP design in web applications. I think I
I'm interested in seeing a good diff algorithm, possibly in Javascript, for rendering a
I am interested in moving a number of my projects from Visual Studio and
I'm interested in learning some (ideally) database agnostic ways of selecting the n th
Although I'm specifically interested in web application information, I would also be somewhat curious

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.