Design Patterns for .Net
  Articles, editorials, and presentations on the profession of software development
Printable Version
 
 

Presentations > Windows Communication Foundation

Categories

AntiPatterns

Architecture

Best Practices

Career Advice

Data Access Patterns

Design Paradigms

Enterprise Application Patterns

Fundamentals

Humor

Leadership

Musings

Object-Oriented Programming

Service Oriented Architecture

Software Architecture

Software Development Practices

Windows Communication Foundation

Have it Your Way - REST and SOAP in WCF Solutions

   5/22/2008 12:05:00 PM   Rob Daigneau

  Demo Code

Two camps have risen in the SOA world, the RESTafarians, and the SOAP/WSDL-ites. Each has passionately argued that they are the one true path to SOA. Now they need battle no longer, for in .Net 3.5 they have been brought together into the same happy WCF family.

In this session you’ll learn what REST is, when to use it vs SOAP/WSDL, and how to do it.  

Asynchronous Messaging Patterns with WCF

   5/22/2008 12:01:00 AM   Rob Daigneau

  Demo Code

A client program calls a service and must wait for it to finish before moving on to do more work. We all know how to do synchronous calls; it’s as easy as writing a “Hello World” program. But how does one design a system where lots of work can be done in parallel?

In this session you’ll see how to use WCF to do just that. You’ll learn about several patterns used in the world of asynchronous messaging including callbacks, store and forward, and conversations. This session will provide you an introduction to some of the fundamental concepts required to build distributed Event Driven Architectures.  

Creating Custom WCF Behaviors

   5/22/2008 12:00:00 AM   Rob Daigneau

  Demo Code

Custom behaviors provide a mechanism to modify the WCF runtime execution at the proxy (i.e. client) or dispatcher (i.e. service) via attributes or configurations. This powerful technique may be used to inject logic upon the Service, Contract, Endpoint, or Operation. While the commonly cited cases where behaviors are used include instance management, concurrency, and threading, the possibilities for this amazing WCF feature are endless.

In this session we will explore how WCF custom behaviors might be leveraged to implement a concept similar to Aspects. You’ll learn how this powerful feature can be used to apply cross-cutting logic to your services in a manner that is both simple to understand and implement. You’ll also see that the concepts of SOA, OOP, and AOP (i.e. Aspect-Oriented Programming) should be thought of as being complementary rather than competing.  

Implementing SOA Design Patterns in WCF ... Part II

   11/11/2007 12:00:00 AM   Rob Daigneau

  Demo Code

Both Service-Orientation and the Windows Communication Foundation (WCF) offer the promise of greater interoperability and ease of integration, but in order to realize benefits such as these we must evolve the way we architect solutions. While many of the lessons learned from Distributed Object-Oriented Architectures can be leveraged, much of what we did “back in the day” will not help us to achieve the goals of SOA even if we choose to use the WCF. In fact, many of the old ways have become Anti-Patterns. In this session you’ll see how the WCF can be leveraged to create extensible, versioned, responsive, interoperable, and easy-to-maintain services.

Contains a lot of code samples demonstrating anti-patterns in contract design, message exchange patterns, and patterns for flexible service design.  

Implementing SOA Design Patterns in WCF

   4/5/2007 5:14:35 PM   Rob Daigneau

  Demo Code

Both Service-Orientation and the Windows Communication Foundation (WCF) offer the promise of greater interoperability and ease of integration, but in order to realize benefits such as these we must evolve the way we architect solutions. While many of the lessons learned from Distributed Object-Oriented Architectures can be leveraged, much of what we did “back in the day” will not help us to achieve the goals of SOA even if we choose to use the WCF. In fact, many of the old ways have become Anti-Patterns. In this session you’ll see how the WCF can be leveraged to create extensible, versioned, responsive, interoperable, and easy-to-maintain services. We’ll also see how Microsoft’s “Web Service Software Factory” might help or hinder us in our efforts.  

© ArcSage 2000-2011, All rights reserved

Contact Me      Site Factoids