design-patterns

Explore posts tagged with "design-patterns" below.

Action Events in .NET

The Async Pattern used in .NET 1.x and 2.0 code always annoyed me because of the excessive coding noise it introduced. The new support in .NET 3.x in relation to lamdas (convenient delegate or...

dotnet csharp delegates programming design-patterns
December 4, 2008
Read More

General versus Special Case Tension

One of the blogs I subscribe to is by Reginald Braithwaite. He was recently interviewed on InfoQ and part of the conversation related to the development process of generalizing in programming: ……so...

software-engineering programming design-patterns professional-development
September 19, 2008
Read More

DisposableResource

This post contains some very minor variations of the Dispose pattern implemented in a class that implements IDisposable. A typical example of how to implement the Dispose idiom can be found over...

csharp memory-management design-patterns programming
March 8, 2005
Read More

RBAC Patents

Following on from my previous post, I was searching for how other developers handled the definition of what roles are allowed to perform which tasks in a declarative programming model.

patents security licensing programming design-patterns
September 16, 2004
Read More

The CRUDE Pattern

I'm currently working on the Authorization infrastructure for a software package in the finance industry. The approach taken is to use .NET attributes to declaratively state which user roles are...

security design-patterns dotnet programming
September 15, 2004
Read More

Anders and AOP

There's a whiteboard session with Anders Hejlsberg on the MSDN site entitled "Whiteboard with Anders Hejlsberg". The very first question that Anders addresses relates to AOP and his reaction was...

aop dotnet csharp java design-patterns
August 4, 2004
Read More