Tag: Development

Community

The Builder Pattern in .NET

(Eric Vogel) The Builder Pattern is a common software design pattern that’s used to encapsulate the construction logic for an object. This pattern is often used when the construction process of an object is complex. It’s also well suited for constructing multiple representations of the same class. F

Community

Entity Framework Gotchas

(Jude O’Kelly) Entity Framework is fast becoming the default data access method for small to medium sized apps in .NET. Whilst it offers a lot of benefits in terms of productivity and security, working with EF is often very different from working with the standard ADO.NET data-access objects and pos

Community

Using Enum.HasFlag

(Richard Carr) Prior to version 3.5 of the .NET framework, extracting individual flags from an enumeration required the use of logical bitwise operators. In .NET 3.5, the need for logical operations is removed with the introduction of the Enum.HasFlag method.