Foundations: What's New for WCF in Visual Studio 2008
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.
Juval Lowy - February 2008
Foundations: Synchronization Contexts in WCF
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.
Juval Lowy - November 2007
Foundations: Declarative WCF Security
Juval Lowy designs easily configured security settings for applications built on Windows Communication Foundation.
Juval Lowy - August 2007
Foundations: WCF Transaction Propagation
Juval Lowy - May 2007
Foundations: Build a Queued WCF Response Service
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.
Juval Lowy - February 2007
WCF Essentials: What You Need To Know About One-Way Calls, Callbacks, And Events
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.
Juval Lowy - October 2006
WCF Essentials: Discover Mighty Instance Management Techniques For Developing WCF Apps
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.
Juval Lowy - June 2006
C#: Create Elegant Code With Anonymous Methods, Iterators, And Partial Classes
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.
Juval Lowy - Visual Studio 2005 Guided Tour 2006
Can't Commit?: Volatile Resource Managers in .NET Bring Transactions to the Common Type
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.
Juval Lowy - December 2005
Security: Unify Windows Forms and ASP.NET Providers for Credentials Management
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.
Juval Lowy - April 2005
Advanced Serialization: Format Your Way to Success with the .NET Framework Versions 1.1 and 2.0
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.
Juval Lowy - October 2004
C# 2.0: Create Elegant Code with Anonymous Methods, Iterators, and Partial Classes
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.
Juval Lowy - May 2004
Remoting: Managing the Lifetime of Remote .NET Objects with Leasing and Sponsorship
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.
Juval Lowy - December 2003
Contexts in .NET: Decouple Components by Injecting Custom Services into Your Object's Interception Chain
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.
Juval Lowy - March 2003
Security: Unify the Role-Based Security Models for Enterprise and Application Domains with .NET
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.
Juval Lowy - May 2002
Windows XP: Make Your Components More Robust with COM+ 1.5 Innovations
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.
Juval Lowy - August 2001
Foundations: Code Access Security in WCF, Part 1
Here we discuss code-access security in Windows Communication Foundation (WCF) and present a solution for enabling partially trusted clients for WCF services.
Juval Lowy - April 2008
Foundations: Adding Code Access Security to WCF, Part 2
This month's column continues the discussion around code access security in WCF and partially trusted services.
Juval Lowy - July 2008
Foundations: Easily Apply Transactions To Services
Managing state and error recovery using transactions is the topic of this month’s installment of Foundations.
Juval Lowy - January 2009
Foundations: Managing State With Durable Services
This month Juval Lowy tackles questions such as when to keep proxies and services in memory for better state management in long-running workflows.
Juval Lowy - October 2008
Foundations: Working With The .NET Service Bus
The .NET Services Bus is arguably the most accessible, powerful, and useful piece of the new Windows Azure Cloud Computing initiative. See how it manages cloud communications.
Juval Lowy - April 2009
Foundations: Securing The .NET Service Bus
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.
Juval Lowy - July 2009