Posts

Showing posts from September 6, 2009

Top 10 things to know about Visual Studio 2008 and .NET Framework 3.5

The list below is not in order of importance, instead it is in the order I suggest you explore this new release. 1. VS2008 and Fx 3.5 will officially launch together in February but will be available to developers by the end of November 2007 . The same type of Visual Studio SKUs/Editions available with VS2005 will also be available with VS2008 including a brand new one: VS2008 Shell. VS 2008 is a great Vista client, has better aesthetics and a bunch of new usability features including enhancements for multithreaded debugging . 2. Fx 3.5 continues with the additive approach that we introduced with Fx 3.0 while still not introducing a new CLR. As a reminder, Fx 3.0 simply added to Fx 2.0 without changing or removing anything in the existing assemblies (it added WPF, WCF, WF and CardSpace). So, Fx 3.5 simply adds some assemblies to the existing set of DLLs that Fx 2.0/3.0 comprises of. This means that simply installing the framework should not affect your existing so

How to: Implement an Asynchronous Service Operation

How to: Implement an Asynchronous Service Operation In Windows Communication Foundation (WCF) applications, a service operation can be implemented asynchronously or synchronously without dictating to the client how to call it. For example, asynchronous service operations can be calling synchronously, and synchronous service operations can be called asynchronously. For an example that shows how to call an operation asynchronously in a client application, see How to: Call WCF Service Operations Asynchronously . For more information about synchronous and asynchronous operations, see Designing Service Contracts and Synchronous and Asynchronous Operations . Implement a service operation asynchronously In your service contract, declare an asynchronous method pair according to the .NET asynchronous design guidelines. The Begin method takes a parameter, a callback object, and a state object, and returns a System.IAsyncResult and a matching End method that takes a System.

Windows Communication Foundation Architecture Overview

Image
Summary: Get a high-level view of the Windows Communication Foundation (WCF) architecture and its key concepts. Code examples demonstrate WCF contracts, endpoints, and behaviors. (17 printed pages) Contents Introduction WCF Fundamentals Code Examples Summary Introduction This document provides a high-level view of the Windows Communication Foundation (WCF) architecture. It is intended to explain key concepts in WCF and how they fit together. There are a few code examples to further illustrate the concepts, but code is not the emphasis of this document. The rest of this document is organized in two main sections: WCF Fundamentals: Covers key concepts in WCF, terms, and architectural components. Code Examples: Provides a few short code examples intended to illustrate and reify the concepts covered in WCF Fundamentals. WCF Fundamentals A WCF Service is a program that exposes a collection of Endpoint s. Each Endpoint is a portal for communicating with the world. A Clien