|
Home
»
Design & Architecture
|
|
|
|
|
|
Welcome to Design & Architecture section of C# Corner. In this section, you will find various Design & Architecture related source code samples, articles, tutorials, and tips.
|
|
|
|
|
|
|
|
|
Introduction to the Visitor Pattern
by
Matthew Cochran
on
Aug 24, 2009
The power of adding a functional extensibility point to our classes via the visitor pattern is often overlooked. Using a visitor pattern is a very effective means of providing a nice boundary around a set of core classes while at the same time allowing for functional change. This article will demonstrate how the visitor pattern can be used as an extensibility mechanism and provide a boundary to keep core domain classes from getting cluttered.
|
Dependency Injection - NINJECT
by
Rohit Sinha
on
Jul 09, 2009
There are many ways of injecting dependencies, you can use Spring.NET, StructureMap etc. NInject is one way of achieving this. In this article, I have implemented Inversion of Control with minimal changes using NInject.
|
Singleton Pattern
by
Amit Dhania
on
Jun 10, 2009
In this article we will implement Singleton pattern to maintain global variables in
Winform application.
|
Singleton Design Patterns in C#
by
Prasoon
on
Jun 09, 2009
Whenever we want that a class has only one instance and it should have global point to access it but allowing the flexibility to create more objects if the situation changes,in that case we will use Singleton Design Pattern.
|
Introducing: .NET Event Cache
by
Matthew Cochran
on
Mar 07, 2009
This article introduces a reusable generic event cache component that houses events with custom bubbling capabilities. This can be used as a component in your business objects to provide event declaration runtime with events that can bubble to other classes.
|
Coding Better: Programming From the Outside In for Fluent Interfaces. Part II
by
Matthew Cochran
on
Jan 31, 2009
In this article we’ll cover building a Fluent Interface in order to
write readable code that closely models spoken/written language. In a
previous article I discussed how we can be more efficient and write better code
by developing from the outside-in. Now we’ll look at a new trick to make
this approach even more effective, the Fluent Interface and Method Chaining.
|
DI and IOC
by
Shivprasad
on
Jan 20, 2009
In this article we will discuss about how IOC and DI can help us build loosely coupled software architecture.
|
Coding Better: Using Classes vs. Interfaces
by
Matthew Cochran
on
Jan 17, 2009
Using the .NET framework we basically have two ways to provide abstraction for our code: Classes and Interfaces. This article will look at the use of each and cover some things to consider when choosing between them in different situations.
|
C# Code reviews using StyleCop
by
Shivprasad Koirala
on
Nov 14, 2008
In this article we will discuss an upcoming code review tool StyleCop. We will understand the basics and do a small sample of code review practically to understand how StyleCop works.
|
|
|
|
|
|
|
|
|
Coding Better: Programming From the Outside In. Video Part I
by
Matthew Cochran
on
Jan 26, 2009
Modeling an API for a domain is a difficult task. The trick is to get the correct level of encapsulation/abstraction while making the API easy to understand and consume. If we can model our domains at the same level that we understand them linguistically then we are 90% of the way there. This article discusses a programming methodology by which we can build a concise interface that will provide a consistent level of abstraction and is easy to code against.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Welcome to the Google Driven Development (GDD) Model
by
Mahesh Chand
On
Mar 20, 2008
The growing popularity of the Agile Development, Feature Driven Development (FDD) and Extreme Programming and other Rapid Application Development (RAD) models pushing developers away from the traditional software development life cycle (SDLC) and system analysis and development (SAD).
|
|
Comments:
1
|
|
|
|
|
When you think you are GOD
by
Lasse Jaervensivu
On
Nov 01, 2007
Being a 5+ year old student programmer, I've been through hell and heaven, and back to hell. Software engineering is an interesting field I am starting to scrape on, and sometimes when you have those AHA-experiences about some problematic matter, it really turns your world upside down - in a good way. This blog is about pattern and OO principles I read about in a fantastic book which I truly recommend to any software developer.
|
|
Comments:
0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
This book demonstrates the overwhelming majority of LINQ operators and protoypes, it is a veritable treasury of LINQ examples.
|
|
Browse more books here»
|
|
|
|
|