Latest Patterns stories

C# Design Patterns - An Overview(geekdaily.net)

submitted by justinbezansonjustinbezanson(1555) 3 years, 5 months ago

Over the next number of posts I am going to be exploring the world of design patterns. We’ll look at some of the most commonly used patterns and how they look in C#. read more...

2 comments |category: |Views: 777

tags: another

IServiceLocator a step toward IoC container / Service locator detente(codebetter.com)

submitted by schalkvanwykschalkvanwyk(1335) 3 years, 7 months ago

Today we launched an exciting project on CodePlex, namely the Common Service Locator library. What is it? It's a shared interface that applications and frameworks can reference in order to leverage IoC containers / service location mechanisms without taking hard dependencies. read more...

1 comment |category: |Views: 227

tags: another

What is this Managed Extensibility Framework thing all about ?(sidarok.com)

submitted by sidaroksidarok(1715) 3 years, 8 months ago

Another IoC Container From Microsoft ? Add-in Framework ? What the heck is it ? Sidar tries to answer. read more...

add a comment |category: |Views: 300

tags: another

Unity - Dependency Injection and Inversion of Control Container(dotnethitman.spaces.live.com)

submitted by misbaharefinmisbaharefin(845) 3 years, 8 months ago

Dependency injection is a programming technique to reduce component coupling. Dependency injection is also commonly known as “inversion of control” or IoC or sometimes as The Hollywood Principle - "Don’t call us, we’ll call you”. The goal of dependency injection is to separate the concerns of how a dependency is obtained from the core concerns of a boundary. This improves reusability by enabling components to be supplied with dependencies which may vary depending on context. read more...

add a comment |category: |Views: 368

tags: another

Getting rid of strings (3): take your app settings to the next level(blog.andreloker.de)

submitted by alokeraloker(1810) 3 years, 8 months ago

In the first article of this series I talked about the problems with strings in code. This article will show you how you can use lambda expressions and expression trees as another tool to avoid strings read more...

2 comments |category: |Views: 769

tags: another

Great Design Pattern Resources(rtipton.wordpress.com)

submitted by rayetrayet(240) 3 years, 8 months ago

Some common patterns include the Singleton, Facade, Adaptor and Decorator. There are many, many patterns and below are some great resources to learn about them. read more...

add a comment |category: |Views: 592

tags: another

Implementing a Repository and Specificaiton pattern using Linq(codeinsanity.com)

submitted by rao.riteshrao.ritesh(230) 3 years, 9 months ago

In my previous post I put down some thoughts on the Repository and Specification patterns and in the end said that with the introduction of Linq and the growing popularity of ORM frameworks and their support for Linq, it’s time to look back at these two patterns and see how we can leverage Linq to simplify the patterns and make them infrastructure agnostic. read more...

1 comment |category: |Views: 441

tags: another

Introduction to IoC/DI - The art of Decoupling(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 3 years, 9 months ago

Introduction to IoC/DI - The art of Decoupling. This episode we will review what Inversion of Control (IoC)/Dependancy Injection (DI) is and why they are important. read more...

add a comment |category: |Views: 323

tags: another

Specification Pattern and Lambdas(ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(660) 3 years, 9 months ago

While working on my current project I decided that I had a need to use the Specification Pattern . After finding a clean implementation by Jeff Perrin I set to work creating the specifications that I needed. I quickly realized that we were going to end up having a ton of specifications and sometimes they would only apply to very special cases. Other times they would be very broad cases and they needed to be even more composable than even the fluid interface implemented in Jeff’s implementation wasn’t going to be enough. It after all still required me to create a concrete implementation for each specification, no matter how minuscule it might be. This is the part where I thought to my self that since i was really only creating implementations for a single method that I could just write a LambdaSpecification and be able to use this for all the special cases I had. read more...

add a comment |category: |Views: 334

tags: another

Getting Started with TDD(stevesmithblog.com)

submitted by ssmithssmith(1160) 3 years, 10 months ago

Getting started with Test Driven Development can be challenging. In this blog post, Steve offers some advice on how to get started either for a brand new project or one that already in maintenance mode. read more...

2 comments |category: |Views: 422

tags: another

Exploring MEF Extensibility Points(sidarok.com)

submitted by sidaroksidarok(1715) 3 years, 10 months ago

The ways of extending Managed Extensibility Framework is discussed in this post, Custom Binders and Value Resolvers dug deeper. read more...

add a comment |category: |Views: 153

tags: another

Some concepts to know before you use an IoC tool(codebetter.com)

submitted by terrbleterrble(1665) 3 years, 10 months ago

The baseline understanding required to effectively implement dependency injection read more...

add a comment |category: |Views: 272

tags: another

Alt.NET Podcast Episode 5: Dependency Injection and Inversion of Contr(altnetpodcast.com)

submitted by blowmageblowmage(455) 3 years, 11 months ago

Part one of a two part discussion with Nate Kohari and Brad Wilson on Dependency Injection and Inversion of Control containers. read more...

1 comment |category: |Views: 242

tags: another

Playing Nice With Service Locators(kohari.org)

submitted by nkoharinkohari(1310) 3 years, 11 months ago

An explanation of how you can use the Service Locator pattern along with dependency injection to make your code more flexible in certain cases. read more...

add a comment |category: |Views: 197

tags: another

What is Old is New Again: Functional Programming(explodingcoder.com)

submitted by spoulsonspoulson(327) 3 years, 11 months ago

One of the greatest ideals of high level programming is the idea of code reuse. In the old days, this was only ever done using functions or subroutines, depending on the language. In later days, this was performed as object oriented design. Every language seems to accomplish these ideals in various ways to accomplish a similar goal. read more...

1 comment |category: |Views: 286

tags: another

Managed Extensibility Framework (MEF) at a Glance(sidarok.com)

submitted by sidaroksidarok(1715) 3 years, 11 months ago

A Hands-On overview to Dependency Injection Managed Extensibility Framework and the first CTP. read more...

add a comment |category: |Views: 409

tags: another