Programming Index Cards

July 14, 2008

Windows Communication Foundation (WCF)

Filed under: SOA, WCF, programming — apcig @ 7:29 pm

Windows Communication Foundation is a comprehensive layered framework for SOA programming.
[WCF = SOA Framework]
… you’re only responsible for modeling the communications of your products with the
outside world, and you don’t have to worry about actually implementing this model. This saves
you from having to deal with dirty little details of the underlying runtime components that implement
your model, and consequently allows you to focus on what matters to your application…

WCF Service
…you must not incorporate the logic that handles
the communications of the bug report manager system with the outside world into the bug report manager system itself. Instead, you must delegate the responsibility of the communications with the outside world to a different component. This component is known as a WCF service…

WCF Endpoint
Binding: The binding of an endpoint specifies how the endpoint communicates with the outside
world…
Address: The address of an endpoint specifies where the endpoint is…
Contract: The contract of an endpoint specifies what operations of the WCF service the clients
can access through that endpoint.

WCF Service Model
…, a WCF service is a wrapper around a piece of software enabling the software to
communicate with the outside world.
… developing a WCF service model boils down to developing its endpoints. Recall that
every endpoint has an address, a binding, and a contract. In general it takes two sets of tasks to develop a WCF service model: imperative (coding or development tasks) and administrative.
anything that can be done declaratively in the configuration files should be done in the configuration files to allow administrators to modify the service without any code changes.

Blog at WordPress.com.