Data Contract Inheritance - Known Types and the Generic Resolver

Tue, 01 Feb 2011 10:00:00 GMT

Developers often struggle with the hassles of data contract inheritance in WCF, a problem called known types. We'll explain the origin of the problem, then show you how to eliminate the problem altogether with the generic resolver.

Read article

WCF Architecture - AppFabric Service Bus Discovery

Fri, 01 Oct 2010 10:00:00 GMT

Learn how to roll your own discovery mechanism as we walk you through a small framework the author wrote to support discovery over the service bus, bringing it on par with the built-in support for discovery in WCF.

Read article

Foundations - Service Bus Buffers

Mon, 03 May 2010 10:00:00 GMT

Learn some advanced Windows Communication Foundation programming techniques as Juval Lowy begins an in-depth examination of the Azure AppFabric service bus, focusing first on buffers.

Read article

Foundations - Discover a New WCF with Discovery

Wed, 06 Jan 2010 10:00:00 GMT

Juval Lowy explains how the industry-standard discovery solution enables clients to discover available addresses for WCF calls at runtime, and he provides tools and helper classes to simplify the process.

Read article

Foundations - Routers in the Service Bus

Mon, 12 Oct 2009 10:00:00 GMT

This article describes aspects of using routers with the .NET service bus, especially their use ina message-based architecture.

Read article

Foundations - Securing The .NET Service Bus

Thu, 18 Jun 2009 10:00:00 GMT

This column shows you how to secure the .NET Services Bus and also provides some helper classes and utilities to automate many of the details.

Read article

Foundations - Working With The .NET Service Bus

Thu, 19 Mar 2009 10:00:00 GMT

The .NET Services Bus is arguably the most accessible, powerful, and useful piece of the new Azure Cloud Computing initiative. See how it manages cloud communications.

Read article

Foundations - Easily Apply Transactions To Services

Fri, 19 Dec 2008 10:00:00 GMT

Managing state and error recovery using transactions is the topic of this month’s installment of Foundations.

Read article

Foundations - Managing State With Durable Services

Fri, 19 Sep 2008 10:00:00 GMT

This month Juval Lowy tackles questions such as when to keep proxies and services in memory for better state management in long-running workflows.

Read article

Foundations - Adding Code Access Security to WCF, Part 2

Fri, 20 Jun 2008 10:00:00 GMT

This month's column continues the discussion around code access security in WCF and partially trusted services.

Read article

Foundations - Code Access Security in WCF, Part 1

Mon, 14 Apr 2008 06:17:18 GMT

Here we discuss code-access security in Windows Communication Foundation (WCF) and present a solution for enabling partially trusted clients for WCF services.

Read article

Foundations - What's New for WCF in Visual Studio 2008

Tue, 18 Dec 2007 10:00:00 GMT

Visual Studio 2008 and the .NET Framework 3.5 provide new tools and support that extends Windows Communication Foundation (WCF). Visual Studio 2008 also automates a number of manual WCF tasks for the developer as well.

Read article

Foundations - Synchronization Contexts in WCF

Fri, 28 Sep 2007 10:00:00 GMT

After a description of what synchronization contexts are and how WCF uses them, the author demonstrates various options for extending WCF to use custom synchronization contexts, both programmatically and declaratively.

Read article

Foundations - Declarative WCF Security

Tue, 19 Jun 2007 10:00:00 GMT

Juval Lowy designs easily configured security settings for applications built on Windows Communication Foundation.

Read article

Foundations - WCF Transaction Propagation

Wed, 11 Apr 2007 10:00:00 GMT

Read article

Foundations - Build a Queued WCF Response Service

Thu, 21 Dec 2006 10:00:00 GMT

With queued calls in Windows Communication Foundation you can perform work in a disconnected manner by sending messages through Microsoft Message Queuing. Juval Lowy explains.

Read article

WCF Essentials - What You Need To Know About One-Way Calls, Callbacks, And Events

Wed, 09 Aug 2006 10:00:00 GMT

Object and component-oriented programming have only one way for clients to call a method, but Windows® Communication Foundation introduces two more.In this article Juval Lowy explains how they work.

Read article

WCF Essentials - Discover Mighty Instance Management Techniques For Developing WCF Apps

Thu, 04 May 2006 10:00:00 GMT

Instance management refers to a set of techniques used by Windows Communication Foundation to bind a set of messages to a service instance. This article introduces the concept and shows you why you need instance management.

Read article

C# - Create Elegant Code With Anonymous Methods, Iterators, And Partial Classes

Fri, 20 Jan 2006 10:00:00 GMT

In this article Juval Lowy describes how exciting new features in Visual Studio 2005, that will improve your overall productivity compared to the first version of C#, so you can write cleaner code faster.

Read article

Can't Commit? - Volatile Resource Managers in .NET Bring Transactions to the Common Type

Tue, 08 Nov 2005 10:00:00 GMT

Here Juval Lowy discusses the benefits you'll get when you implement transactions in your non-database applications, with a little help from volatile resource managers in the .NET Framework 2.0.

Read article

Security - Unify Windows Forms and ASP.NET Providers for Credentials Management

Tue, 15 Mar 2005 10:00:00 GMT

The .NET Framework 2.0 provides custom credentials management to ASP.NET apps out of the box. Using it, you can easily authenticate users without using Windows accounts. In this article the author presents a set of helper classes that let a Windows Forms application use the ASP.NET credentials management infrastructure as easily as if it were an ASP.NET application.

Read article

Advanced Serialization - Format Your Way to Success with the .NET Framework Versions 1.1 and 2.0

Tue, 14 Sep 2004 10:00:00 GMT

While .NET offers adequate support for the simple serialization cases, issues arise when you're attempting to support delegates and subscribers, versioning, and class hierarchies. . In addition, the introduction of generics in The .NET Framework breaks new ground in the complexity of the serialization task and the power of serialization tools. This article discusses these issues and related pitfalls, suggests techniques and workarounds that address them, and recommends when and how to best use the new serialization abilities.

Read article

C# 2.0 - Create Elegant Code with Anonymous Methods, Iterators, and Partial Classes

Tue, 20 Apr 2004 10:00:00 GMT

C# 2.0 introduces a wealth of exiting new features, such as generics, iterators, partial classes and anonymous methods. While generics are the most talked-about feature especially for former classic C++ developers, the rest of the new features are important additions to your .NET development arsenal, enhancing power and improving overall productivity. This article is dedicated to all the new C# 2.0 capabilities besides generics to give you a good overall picture of the upcoming features.

Read article

Remoting - Managing the Lifetime of Remote .NET Objects with Leasing and Sponsorship

Tue, 18 Nov 2003 10:00:00 GMT

Leasing and sponsorship is the solution for managing the lifecycle of a remote object in .NET. Each object has a lease that prevents the local garbage collector from destroying it, and most distributed applications rely upon leasing. There are several ways in which objects and clients can extend the lease, including dedicated sponsor objects. In this article, the author explains leasing, shows how to configure it, and how it relates to the various remoting activation models. He then discusses design guidelines and options, along with their impact on throughput and performance. Additionally, he introduces a helper class used to automate the management of lease sponsors.

Read article

Contexts in .NET - Decouple Components by Injecting Custom Services into Your Object's Interception Chain

Tue, 11 Feb 2003 10:00:00 GMT

The .NET Framework can use contexts as an object's execution scope and intercept calls going to and from the object, similar to the way COM+ provides component services. What is new with this mechanism is that the runtime allows developers to take part in the interception chain and add powerful services, thus extending existing component services. This in turn decouples the business logic from the system plumbing and simplifies long-term maintenance. Presently, .NET contexts and interception are undocumented aspects of .NET. This article presents the underlying interception architecture and message processing, explains custom context attributes, and walks through a custom interception-based component service.

Read article

Security - Unify the Role-Based Security Models for Enterprise and Application Domains with .NET

Tue, 16 Apr 2002 10:00:00 GMT

Role-based security allows administrators to assign access permissions to users based on the roles they play rather than on their individual identities. These privileges can be used to control access to objects and methods, and are easier to identify and maintain than user-based security. The .NET Framework provides two role-based security models, which are exposed as two namespaces: System.Enterprise-Services and System.Security.Permissions. Presented here is a comparison of the two options and a discussion of when each is the right choice. The author also demonstrates the process involved in setting up access security and discusses role memberships.

Read article

Windows XP - Make Your Components More Robust with COM+ 1.5 Innovations

Tue, 17 Jul 2001 10:00:00 GMT

The next version of COM+, COM+ 1.5, offers many improvements over COM+ 1.0. A comprehensive user interface that displays more data for each application as well as complete support for legacy components make the management of existing applications easier and more efficient. Enhanced queueing support provides more flexibility for managing queued calls, and pooling and recycling means better application lifetime management. Application partitioning in COM+ 1.5 surpasses that offered in COM+ 1.0, and transaction isolation can be configured for safer transactions. COM+ 1.5 also allows you to expose any COM+ component as a Web service, as long as it meets certain criteria. This article discusses these and other new features in COM+ 1.5 that take care of much of the plumbing code, allowing developers to concentrate on business components.

Read article