Upcoming Patterns stories

The Law of Demeter(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 3 months, 6 days ago

Coupling in object-oriented software indicates the level to which classes are reliant upon each other. A tightly coupled system is usually harder to maintain and modify than a loosely coupled one. The Law of Demeter addresses a specific coupling problem. read more...

add a comment |category: |Views: 2

tags: another

Common design patterns(stevesmithblog.com)

submitted by oguzh4noguzh4n(5) 4 months, 14 days ago

Common design patterns with .net read more...

add a comment |category: |Views: 21

tags: another

GRASP Patterns - Creator(sharp-code.net)

submitted by VelcrowVelcrow(50) 7 months, 18 days ago

This post presents one of the GRASP Patterns - Creator. read more...

add a comment |category: |Views: 5

tags: another

GRAPS Patterns - Controller(sharp-code.net)

submitted by VelcrowVelcrow(50) 7 months, 26 days ago

This post presents one of the GRASP Patterns - Controller. read more...

add a comment |category: |Views: 4

tags: another

Domain Specific Software Engineering (DSSE)(www.dotnetblocks.com)

submitted by DotNetBlocksDotNetBlocks(393) 8 months, 20 days ago

Domain Specific Software Engineering read more...

add a comment |category: |Views: 4

tags: another

Non-Virtual Interface Design Pattern(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 8 months, 23 days ago

The non-virtual interface pattern is a design pattern that controls how methods in a base class are overridden. Base classes include public, non-virtual members that may be called by clients and a set of overridable methods containing core functionality. read more...

add a comment |category: |Views: 3

tags: another

Design Patterns - The Builder Pattern(www.d80.co.uk)

submitted by dan_swaindan_swain(190) 9 months, 13 days ago

A quick Builder Pattern example in C# for .Net developers. read more...

1 comment |category: |Views: 6

tags: another

Bad DI - Configuring the IoC container in unit test projects(www.devtrends.co.uk)

submitted by devtrendsdevtrends(184) 10 months, 5 days ago

You will often hear people say that using IoC allows your code to be unit testable, and they are of course correct. If you are doing dependency injection correctly, you code will inherently be unit testable. The subtlety that needs to be understood is how DI aids unit testing. It is certainly not the use of an IOC container which should have absolutely no bearing on your unit testing code. read more...

add a comment |category: |Views: 6

tags: another

How not to do dependency injection - the static or singleton container(devtrends.co.uk)

submitted by devtrendsdevtrends(184) 10 months, 14 days ago

Dependency injection and the use of IoC containers is becoming more and more popular but many development teams do not have the knowledge or experience necessary to fully utilise the power of the IoC container. In the next few posts, we will take a look at the most common mistakes and how to address them. In this post, we are going to talk about the static or singleton container and why this 'pattern' is such a bad idea. read more...

add a comment |category: |Views: 9

tags: another

The Magic of "MEF" Parts married with PostSharp Attributes!!(www.temporalwars.com)

submitted by berben11berben11(75) 10 months, 20 days ago

Learn how to use Microsoft's new MEF framework with PostSharp's Attributes, to create a powerful solutions, like a Logger. Then by simply decorating your code with this new attribute, achieve true decouple pluggable solutions. read more...

add a comment |category: |Views: 29

tags: another

The Reactor Pattern using C#(www.robertsindall.co.uk)

submitted by LuciferLucifer(5) 11 months, 10 days ago

The Reactor Pattern is a design pattern for synchronous demultiplexing and dispatching of concurrently arriving events. It receives incoming messages/requests/connections from multiple concurrent clients and processes these messages sequentially using event handlers. Basically the Reactor pattern allows an application to handle concurrent events while retaining the simplicity of single-threading. read more...

add a comment |category: |Views: 25

tags: another

Inversion of Control (IoC) and Dependency Injection (DI) and why they (www.progware.org)

submitted by iwannisiwannis(452) 11 months, 17 days ago

In this blog post, we are going to see how and when Dependency Injection (DI) and Inversion of Control(IoC) can be applied for writing nice and maintainable code. Note that although there are plenty of tools out there that give you the ability to apply DI out of the box, in this post we are going to implement such a tool on our own gaining valuable insight on the workings of IoC and DI. read more...

add a comment |category: |Views: 6

tags: another

Entity Framework and T4: Generate Query Objects on the fly, part 1(ruijarimba.wordpress.com)

submitted by ruijarimbaruijarimba(81) 1 year ago

Generate Query Objects on the fly for your Entity Framework entities using T4 templates. Don’t worry about LINQ, let the objects do all the work for you. read more...

add a comment |category: |Views: 13

tags: another

Building a HRM system with the MVVM pattern - Introduction post(www.wpfdevelopment.com)

submitted by erik_erik_(50) 1 year ago

Start of a series of blog posts that shows you how to build a wpf application with MVVM from the ground up read more...

add a comment |category: |Views: 10

tags: another

Improve your UI code with Strategy Pattern(ruijarimba.wordpress.com)

submitted by ruijarimbaruijarimba(81) 1 year ago

This article is intended to provide a brief introduction to the Strategy Design Pattern, and how can help us to improve our User Interface code. read more...

add a comment |category: |Views: 9

tags: another

Playing with the .NET Parallel Extensions(www.hemme.co.cc)

submitted by hemmehemme(189) 1 year, 1 month ago

This post is about using the .NET Parallel Library to implement a simple producer/consumer pattern. The scenario is quite simple: a method, a.k.a. the producer, keeps on pushing data inside a collection (in my case, a queue) while one or more methods, a.k.a. the consumers, access - in parallel - the collection and grab their own bits of data. read more...

add a comment |category: |Views: 2

tags: another