Content by Category
.NET 1.x
.NET 2.0
.NET 3.0
.NET 3.5
.NET 4.0
.NET 4.5
.NET Assemblies
.NET Framework
.NET Getting Started
Accessibility
ADO.NET
Advertorials
Agile Development
AJAX
Amazon Web Services
Analysis Services
Android
Architecture
Arduino
ASP .NET Web API
ASP.NET
ASP.NET MVC
ASP.NET WebForms
Azure
B2B (Business Integration)
BDD
Big Data
Bing
BizTalk
Book Excerpts
Build and Deploy
Business Intelligence
C#
C++
ClickOnce
Cloud Computing
Code Contracts
CODE Framework Info - non Technical
CODE on the Road!
COM+
Community
Conferences
Continuous Integration
Crystal Reports
CSLA.NET
CSS
Data
Debugger
Design Patterns
Development Process
Display Technologies
Distributed Computing
Document Database
DotNetNuke
DSL
Dynamic Languages
Dynamic Programming
Editorials
Enterprise Services ("COM+")
Entity Framework
Events
Expression Blend
F#
Fox to Fox
Frameworks
Functional Programming
Git
Graphics
HTML 5
Internet Explorer 8.0
Interviews
IOS
iPhone
Iron Ruby
Java
Java Script
JavaScript
jQuery
JSON
Lightswitch
LINQ
Linux
LUA
Mac OS X
MDX
Messaging
Metro
Microsoft Application Blocks
Microsoft Business Rules Framework
Microsoft Dynamics
Microsoft Expression
Microsoft Office
Mobile Development
Mobile PC
Mono
MsBuild
MVVM
MySQL
Network
NHibernate
node.js
NOSQL
Nuget
Object Oriented Development
Objective C
Odata
OLAP
Open Source
Opinion
Opinions
Oracle
ORM
Other Languages
Parallel Programming
Patterns
PHP
Podcasts
Post Mortem
PowerPoint
Print/Output
Prism
Product News
Product Reviews
Project Management
Prolog
Python
Q&A
Rails
Rake
Razor
Reporting Services
REST
RIA Services
Ruby
Ruby on Rails
Scheme
Search
Security
Services
SharePoint
SignalR
Silverlight
SOA
Social Networks
Software & Law
Software Business
Source Control
Speech-Enabled Applications
SQL Server
SQL Server 2000
SQL Server 2005
SQL Server 2008
SQL Server 2012
SQL Server CE/AnyWhere/Mobile/Compact
SSIS
Subversion
Sync Framework
Tablet PC
TDD
Team System
Techniques
Testing and Quality Control
TFS
Tips
TypeScript
UI Design
UML
User Groups
VB Script
VB.NET
Version Control
VFP and .NET
VFP and SQL Server
Virtual Earth
Vista
Visual Basic
Visual Basic 6 (and older)
Visual FoxPro
Visual Studio .NET
Visual Studio 11
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Visual Studio 2011
Visual Studio 2012
Visual Studio Tools for Office
VSX
WCF
Web Development (general)
Web Services
WebMatrix
WF
Whitepapers
Windows 7
Windows 8
Windows Azure
Windows Live
Windows Phone 7
Windows Phone SDK
Windows Server
Windows Vista
WinForms
WinRT
Workflow
WPF
XAML
Xiine Documentation
XML
XNA
XSLT



Component One


LearnNow
 


Component One

Category: Design Patterns


21 Articles
found and displayed in this view.

  • Getting Rid of Your Code Behind

    Magazine/Issue: CoDe Magazine, 2012 Jul/Aug
    Release Date: Wednesday, June 27, 2012
    Quick ID: 1208031
    You know you should be moving code out from behind your forms, windows and web pages and into stand-alone classes. Everyone preaches that this is what to do, everyone shows you examples of ViewModel classes, but no one really shows you a real-world example of how to get rid of the code behind.

  • Behavior-Driven Development Using SpecFlow

    Magazine/Issue: CoDe Magazine, 2012 Jul/Aug
    Release Date: Wednesday, June 27, 2012
    Quick ID: 1208081
    As software development becomes complicated, writing unit tests provides a protection against constant changes and modifications. Traditionally, unit tests were written by testing each piece of the application layer in isolation. With the advent of behavior-driven development, now our unit tests can be composed into user defined stories. Each story represents a single feature of the application which can be tested from end to end. This method makes sure that the unit test only passes when the story is completely done. In this article I’ll show you how to use SpecFlow and WatiN to write BDD-style tests to implement user stories.

  • Introducing Queues and Topics in Azure Service Bus

    Magazine/Issue: CoDe Magazine, 2011 Nov/Dec
    Release Date: Friday, October 21, 2011
    Quick ID: 1112041
    In 2007, Microsoft unveiled a new vision called “Software + Services” that would fundamentally change the way that both Microsoft and their customers build software and have a gradual, yet marked ripple effect throughout the software giant’s entire strategy.

  • Entity Framework 4.1: Code First

    Magazine/Issue: CoDe Magazine, 2011 Jul/Aug
    Release Date: Sunday, July 03, 2011
    Quick ID: 1108051
    The Entity Framework team at Microsoft has been making several improvements since the launch of v4 with Visual Studio. The biggest of these is the capability to use a Code First or Code Only development model. Previously, if you wanted to work with the Entity Framework, you had to use either a Database First or Model First development model.

  • An Introduction to node.js

    Magazine/Issue: CoDe Magazine, 2011 May/Jun
    Release Date: Thursday, March 31, 2011
    Quick ID: 1105081
    Brian explores node.js and shows you the basic concepts needed to develop with it.

  • Composite Application Library (Prism) and Silverlight

    Magazine/Issue: CoDe Magazine, 2010 Sep/Oct
    Release Date: Friday, August 20, 2010
    Quick ID: 1009101
    With the advancement in the Silverlight technology starting with the 1.0 release to 2.0, 3.0, and lately 4.0, Silverlight is loudly saying WOW “Watch Out World.” Can you guess which world I am talking about here? It is the RIAs world! Really WOW!

  • Nerd Dinner on Rails

    Magazine/Issue: CoDe Magazine, 2010 May/Jun
    Release Date: Friday, May 07, 2010
    Quick ID: 1006071
    It is often said that ASP.NET MVC was inspired by Rails. What better way to test that assertion than by writing the Nerd Dinner ASP.NET MVC application in Rails? In this article, I’ll take you through the steps I used to get Nerd Dinner up and running in Rails. A few points to keep in mind:

  • Developing Database Agnostic Applications with Entity Framework

    Magazine/Issue: CoDe Magazine, 2010 Mar/Apr
    Release Date: Friday, February 12, 2010
    Quick ID: 1003101
    Microsoft released Entity Framework, an ORM (Object Relational Mapping) tool, in 2008.Entity Framework gives developers the ability to be abstracted from the underlying relational database management system and allows them to talk to a database using familiar LINQ-based syntax.

  • S.O.L.I.D. Software Development, One Step at a Time

    Magazine/Issue: CoDe Magazine, 2010 Jan/Feb
    Release Date: Friday, December 11, 2009
    Quick ID: 1001061
    Derick outlines how to achieve the benefits of low coupling, high cohesion, and strong encapsulation. He also shows how the five S.O.L.I.D. design principles can get you there.Most professional software developers understand the academic definitions of coupling, cohesion, and encapsulation.However, many developers do not understand how to achieve the benefits of low coupling, high cohesion and strong encapsulation, as outlined in this article. Fortunately, others have created stepping stones that lead to these goals, resulting in software that is easier to read, easier to understand and easier to change. In this article series, I will define three of the primary object-oriented principles and show how to reach them through the five S.O.L.I.D. design principles.

  • Introducing Advanced Code Contracts with the Entity Framework and Pex

    Magazine/Issue: CoDe Magazine, 2010 Jan/Feb
    Release Date: Friday, December 11, 2009
    Quick ID: 1001101
    Martin introduces Design by Contract and Code Contracts, and gives you a sneak preview of Pex—Microsoft’s new test-suite generator. Along the way, he will show you how to add contracts to ADO.NET entities and some interesting coding strategies, good practices, and pitfalls you may encounter while making a deal with your code.With Code Contracts, Microsoft delivers its own flavor of Design by Contract for the .NET Framework. But wait, what is this thing sometimes called Contract-First Development? How will it change the way you develop software and write your unit tests? And first and foremost, how do you use Code Contracts efficiently?In this article, I will introduce Design by Contract and Code Contracts, as well as give you a sneak preview of Pex-Microsoft’s new test-suite generator. Along the way, I will show you how to add contracts to ADO.NET entities and some interesting coding strategies, good practices, and pitfalls you may encounter while making a deal with your code.

  • The Zen of Inversion of Control

    Magazine/Issue: CoDe Magazine, 2009 Mar/Apr
    Release Date: Friday, February 27, 2009
    Quick ID: 0903101
    On the surface, this article is about the techniques of dependency injection and inversion of control.Underneath, the intent of the words and code samples is to get you to think about the questions of “why” and “when” you might want to use these two closely related techniques, as well a series of similar evolutionary techniques that lead up to the full-blown dependency injection. The initial code samples are admittedly (and deliberately) simple; I do not want the content of the code to obscure the intent of the code.

  • Build Composite WPF Applications

    Magazine/Issue: CoDe Magazine, 2008 Nov/Dec
    Release Date: Friday, October 24, 2008
    Quick ID: 0811041
    When you build complex UI applications, it is all too easy to end up with a messy, tightly coupled, interwoven mess that is difficult to develop and maintain; and impossible to test.Too avoid that, you need to employ good design patterns in your UI layer that help you keep things loosely-coupled and testable. Composite Application Guidance for WPF is a set of libraries, documentation, and sample code from Microsoft patterns & practices that helps you to build clean, maintainable applications. In this article, I’ll show you what this set of guidance provides and how to use it to build your WPF applications.

  • Heard on .NET Rocks! James Kovacs Inverts Our Control

    Magazine/Issue: CoDe Magazine, 2008 Nov/Dec
    Release Date: Friday, October 24, 2008
    Quick ID: 0811091
    Nov/Dec 08 .NET Rocks by Carl Franklin

  • Design for Extensibility

    Magazine/Issue: CoDe Magazine, 2008 Jan/Feb
    Release Date: Friday, December 28, 2007
    Quick ID: 0801041
    Today’s clients seem to be getting more and more demanding regarding the flexibility of their applications and the speed in which modifications can be made. In this article, I will show you how to design applications with extensibility points so that they will grow with the clients’ needs as well as provide a way to “swap” functionality in and out as needed.

  • The Provider Model

    Magazine/Issue: CoDe Magazine, 2007 Nov/Dec
    Release Date: Friday, October 26, 2007
    Quick ID: 0711081
    In this article you will learn how to isolate yourself from change by taking advantage of the Provider Model.Designing your applications using the Provider Model will allow you to swap components out at runtime, thus allowing you to upgrade them easily.

  • TESLA: Democratizing the Cloud

    Magazine/Issue: CoDe Focus Magazine, 2007 - Vol. 4 - Issue 3 - Data Programability
    Release Date: Wednesday, October 03, 2007
    Quick ID: 0712182
    In our service-oriented world, users need the same experience on any device, whether mobile phone, office PC, or Internet café. Moreover, they want the same experience any time they access applications, offline or online. For developers, this means tackling multi-tier, distributed, and concurrent programming. LINQ 1.0 radically simplified multi-tier programming with unified query and deep XML support. TESLA is a broad engineering program by the authors to extend the success of LINQ with external relationships, reshaping combinators, assisted tier-splitting, and join patterns.

  • Layered Architecture, Dependency Injection, and Dependency Inversion

    Magazine/Issue: CoDe Magazine, 2007 - May/Jun
    Release Date: Thursday, April 26, 2007
    Quick ID: 0705071
    Building loosely coupled application architectures requires more than just separating your application into different layers.In this article, I’ll take a project that was built using techniques that result in fragile, hard-to-test code and introduce some principles, techniques, and refactorings that will help you realize flexibility and testability in your applications.

  • The Baker’s Dozen: 13 Steps for Building a Lookup Page Using ASP.NET 2.0, SQL 2005, and C# 2.0

    Magazine/Issue: CoDe Magazine, 2007 - Mar/Apr
    Release Date: Friday, March 02, 2007
    Quick ID: 0703041
    Lookup and navigation screens initially seem like no-brainers, when compared to other parts of an application-yet by the time a developer has met all the user requirements and requests, he/she has expended much more time than expected. This issue of The Baker’s Dozen will build a lookup Web page using ASP.NET 2.0, SQL Server 2005, and C# 2.0. The lookup and results page will contain optional lookup criteria and custom paging of the result set. The solution will utilize new language features in SQL 2005 for providing ranking numbers to correlate with custom paging, and new capabilities in .NET generics to pump the results of a stored procedure into a custom collection. Just like Mr. Mayagi taught Daniel the martial arts by doing exercises, the example in this article will demonstrate some common design patterns, such as factory creation patterns, using .NET generics. The article also subtly presents a general methodology for building database Web pages.

  • Dissecting and Putting the Visual Studio 2005 Generated Data Access Layer Into Perspective

    Magazine/Issue: CoDe Magazine, 2006 - Jul/Aug
    Release Date: Friday, June 23, 2006
    Quick ID: 0607071
    Do more with less code is the slogan of Visual Studio 2005.When it comes to reducing the amount of written code, wizards are definitely a viable option. Visual Studio 2005 has a lot of wizardry in it, especially to generate data access code. Any code that gets silently injected in your project follows a strict logic and a well-known design pattern. A full understanding how Visual Studio 2005 does it puts you on the right track to modify and extend the code to build your made-to-measure data access layer. This article dissects the code behind table adapters and binding source components to unveil patterns and best practices.

  • Database Concurrency Conflicts in the Real World

    Magazine/Issue: CoDe Magazine, 2006 - Jul/Aug
    Release Date: Friday, June 16, 2006
    Quick ID: 0607081
    A lot of articles have been written about database concurrency conflict detection and the various ways of handling them.Unfortunately most of these articles, and accompanying solutions, have one major flaw in that they focus on the technical issues and database implementation instead of real-world data and how people use the data. In this article, I will try to show the difference between focusing on the database implementation and on the real-world data. I will show some possible approaches on how to solve these concurrency issues.

  • Windows DNA Development: A Pattern Language

    Magazine/Issue: CoDe Magazine, 2000 - Spring
    Release Date: Saturday, April 15, 2000
    Quick ID: 0001041
    When creating a Windows DNA application, it is not enough to start creating COM objects and run them under MTS.Rather what is needed is a standard approach to analyzing DNA applications. This article provides a pattern language for COM objects. The purpose of this pattern language is to standardize discussion of types of components so that the design of these applications becomes more standardized.



Hacker Halted