Jul
31
2009

In .NET 4.0 SecurityManager.IsGranted is obsolete

In .NET 4.0 SecurityManager.IsGranted has been made obsolete.  This is what it was and if you compile in .NET 4.0 compatibility it will complain. bool isGranted = SecurityManager.IsGranted(new SecurityPermission(SecurityPermissionFlag.Infrastructure)) In order to fix this now yo... [More]
Jul
30
2009
C# // MSDTC

Enable Network Access for MS DTC

  Microsoft Distributed Transaction Coordinator (MS DTC) helps you control the coordination of transactions between applications and resource managers. Depending on the network topology of these components, a transaction can span multiple DTCs throughout your network. To allow transactio... [More]
Jul
30
2009

AvalonDock Binding DocumentContent in WPF MVVM

I'm working on a WPF application using the MVVM pattern. I'm using the AvalonDock to achieve a Visual Studio look and feel. We needed to have a Tab collection, very much like the open documents in Visual Studio that have to be added and removed at design time. In order to accomplish this we created ... [More]
Jul
30
2009

Getting America Right

According to Edwin J. Feulner and Doug Wilson in their book Getting America Right the right government should have all its actions and policies answer the following six questions: 1. Is it the government's business or could this be handled better by a state, community or an individual? 2. Does thi... [More]
Jul
28
2009
WCF // WF

Designing WCF Workflow Services in .NET Framework 4.0

Not an easy task given the sparse documentation and the magnitude of change Microsoft has presented to developers. Workflow terminology has changed also, so State Machine Workflow is now called Flowchart and Sequential Workflow is called Sequence. Deploying the Workflow as a WCF Service is supposed ... [More]
Jul
25
2009
.NET // C# // Microsoft

Efficient iterations using the yield keyword

Quick overview of the yield keyword in C#. [More]

Month List