News in the Category: Patterns and Practices Subscribe to the rss of this category.

Total posts: 367

Data Framework DLL and Enterprise Web Application Architectural Design Pattern utilizing Reflection, CollectionBase and Abstract Class

The Code Project Latest Articles, July 2, 2008

Data Framework DLL that hydrates and returns a collection of objects via reflection. Data Framework DLL and Enterprise Web Application Architectural Design Pattern utilizing Reflection, CollectionBas...

Everything You Wanted To Know About MVC and MVP But Were Afraid To Ask

youve been HAACKED, June 16, 2008

Or, as my recent inbox tells me, youre not afraid to ask. ;) A coworker recently asked for some good resources on getting up to speed on the Model View Controller (MVC) pattern. Around the same time,...

Introducing Design Patterns...

DotNetJohn.Com, May 22, 2008

Design Patterns are a solution to the complexities in Software Designs. This article provides a bird's eye view of the Creational, Structural and Behavioral Design Patterns and their applicability....

Updated Routing With WebForms

youve been HAACKED, May 19, 2008

A while back I wrote a sample that demonstrated how to use Routing with WebForms. If you missed it, you can download the code here With the recent announcement that Routing will be included with .NE...

Foundations of Programming - pt 7 - Addendum

Karl Seguin [MVP], May 4, 2008

I've made two additions to Part 7. The first is based on a suggestion by Greg to talk about a common cause of memory leaks - events and delegates. The second is about deterministic finalizationMem...

Foundations of Programming - pt 7 - Addendum

Karl Seguin [MVP], May 4, 2008

I've made two additions to Part 7. The first is based on a suggestion by Greg to talk about a common cause of memory leaks - events and delegates. The second is about deterministic finalizationMem...

Foundations of Programming - pt 7 - Addendum

Karl Seguin [MVP], May 4, 2008

I've made two additions to Part 7. The first is based on a suggestion by Greg to talk about a common cause of memory leaks - events and delegates. The second is about deterministic finalizationMem...

Foundations of Programming - pt 7 - Addendum

Karl Seguin [MVP], May 4, 2008

I've made two additions to Part 7. The first is based on a suggestion by Greg to talk about a common cause of memory leaks - events and delegates. The second is about deterministic finalizationMem...

Foundations of Programming - pt 7 - Addendum

Karl Seguin [MVP], May 4, 2008

I've made two additions to Part 7. The first is based on a suggestion by Greg to talk about a common cause of memory leaks - events and delegates. The second is about deterministic finalizationMem...

Foundations of Programming - pt 7 - Addendum

Karl Seguin [MVP], May 4, 2008

I've made two additions to Part 7. The first is based on a suggestion by Greg to talk about a common cause of memory leaks - events and delegates. The second is about deterministic finalizationMem...

Microsoft patterns & practices Web Client Software Factory 2.0

Misfit Geek, April 27, 2008

I know this isn't "hot off the press" but I'm just Microsoft patterns & practices Web Client Software Factory 2.0 February 2008 Release    Resources ·  &#...

Patterns & Practices Quebec City Summit - Almost Sold Out

Guy Barrettes WebLog, April 24, 2008

If you're planning to attend the Patterns & Practices Quebec City Summit but haven't registered yet, do it right away!  I just heard from Joel Quimper that the Summit is almost sold out, less...

Improving MoQ to allow arrange-act-assert testing style

eXtensible mind, April 23, 2008

Today, the MoQAPI lets you setup expectations and later verify them, like so: [Fact] public void FillingRemovesInventoryIfInStock() { //arrange/setup var order = new Order(TALISKER, 50); ...

Refactoring the GoF patterns (Singleton in .NET continued

Cirrus Minor, April 22, 2008

Among the reactions I got for my previous post on the Singleton pattern in .NET were a couple that talked about the design rationale behind the solution I posted: Adi Avnit posted on the risk of ...

The "Driving Force" pattern--part 1 of N

Dino Espositos WebLog, April 21, 2008

Recession is perhaps affecting the economy, but it couldn't be farther from the dazzling world of (Microsoft) software. CTPs are coming out every day and some of them are amazingly morphing into Betas...

SOA - Between philosophy and concrete answers

Cirrus Minor, April 11, 2008

Someone calling himself r r left the following comment on part IV of my series of posts on SOA definition:"I keep trying to read this series on SOA unfortunately suffers from the same disease as t...

Cambrian First Look - Extension Installer (Pt 3)

Shaun Walker, April 7, 2008

In my previous blog in this series I described how the new Extension Installer processes the manifest. In summary the Installer creates an instance of a PackageInstaller and passes the manifest to it....

New Release of Enterprise Library 4

Chris Love's Official Blog - Professional ASP.NET, March 31, 2008

I have long had a love affair with the Data Access Application Block, DAAB since it was first release way back in the old days. Since then it has become part of the Enterprise Library and supported an...

Best practice and effective way of using DataContext in Linq to SQL?

Bigyan Rajbhandari, March 19, 2008

At work, Jeff and I have been throwing around ideas to find a best way to implement DataContext in Linq so that we can integrate it into the base class in our framework while achieving following goals...

Testing ASP.NET MVC P2

Code Climber, March 10, 2008

I'm playing a bit around with the ASP.NET MVC "MIX08 preview" and I wanted to use a different approach to testing the RedirectToAction method. SubText fellow Phil Haack wrote some sample tests back ...

Visitors and Multiple Dispatch

K. Scott Allen, March 10, 2008

The visitor pattern is an elegant solution to a specific class of problems, but also comes with drawbacks in mainstream programming languages. There are various techniques one can us to minimize the d...

Software Design Best Practices Debate

Steven Smith, March 6, 2008

I've been following the discussion on Phil Haack's blog surrounding how best to introduce polymorphic objects into the MVC framework as part of the framework's interface for developers to work with.&n...

SOA Patterns Book Status Update

Cirrus Minor, March 4, 2008

Great news. Two of my friends and fellow DDJ bloggers, Eric Bruno and Udi Dahan have agreed to join my (now ours) SOA Patterns book which will be published by Manning. Both Udi and Eric are compe...

Guidance Automation Feb. Release

Corporate Coder, February 27, 2008

Quick heads up on a great new tool for teams on the patterns and practices msdn site.  The Guidance Automation Extensions and Guidance Automation Toolkit Feb 2008 release is now out.  This t...

Why I Love F#: Option Types

Did it with .NET, February 25, 2008

Welcome to the eighth article in my series about why I look upon the F# language with the hormone-driven lust of a 16-year old boy. ([ed.] Dustin's trophy wife has indicated that the previous metap...

Mocks: by-the-book vs practical

eXtensible mind, February 21, 2008

Lately, there's been some formalization of the definitions of mocks, stubs, fakes and dummies, which Fowler popularized through his site with his article Mocks aren't Stubs by introducing the co...

New Moq features for mock verification and creation

eXtensible mind, February 21, 2008

I wrote before about What's wrong with the Record/Reply/Verify model for mocking frameworks, and in that context, why Moq didn't provide a mock verification functionality. Given that the project is dr...

Why I Love F#: Pattern Matching

Did it with .NET, February 19, 2008

Greetings fellow F#-philes! Today we're looking at another reason that I am completely infatuated with the F# languagepattern matching. Pattern matching is a simple idea. Essentially, a pattern ...

Presentation Model in SharePoint

The Code Project Latest Articles, February 17, 2008

Use the presentation model pattern in SharePoint Services 3.0 Site...

Implementing the Observer Pattern

The Code Project Latest Articles, February 5, 2008

An article that discusses how to implement the observer pattern...

New Moq features for mock verification and creation

eXtensible mind, February 2, 2008

I wrote before about What's wrong with the Record/Reply/Verify model for mocking frameworks, and in that context, why Moq didn't provide a mock verification functionality. Given that the project is dr...

Achieving Code Symmetry

AspNetResources.com articles, news and updates, January 28, 2008

In my review of Kent Beck’s latest book, Implementation Patterns, I didn’t mean to present it as completely useless. It has some great points sprinkled throughout. It’s just that the...

Why I Love F#: Breaking Up Tuples

Did it with .NET, January 21, 2008

Last time, I demonstrated the basics of tuple types in the F# language. However, I (intentionally) failed to answer a couple of important questions about tuples: Once values are bound together...

Video: Typemock Basics - Lesson 1 (Dependency breaking 101)

ISerializable, January 21, 2008

Jeremy said he didn't see Typemock examples anywhere, so  Here's a short 10 minute screencast I made that shows off some basic features in Typemock, when working with legacy code. it shows off t...

Book Review: Implementation Patterns

AspNetResources.com articles, news and updates, January 20, 2008

When I saw Implementation Patterns by Kent Beck due for publication, I thought: “Kent Beck—yay! Patterns—yay! Famed Addison-Wesley signature series—yay!” I snatched a cop...

TDD Anti Patterns

ISerializable, January 20, 2008

James Carr lists a nice bunch of TDD anti patterns. via Jeremy . Here's one example I run into often: "The Liar An entire unit test that passes all of the test cases it has and appears valid, ...

The waterfall which makes Agile pundits go blind

Frans Boumas blog, January 11, 2008

DISCLAIMER: this is a bitter post. If you get offended by this post, I'm sorry, though I had to write this. If you want to leave a comment, please do so, but as it's my blog, I'll remove comments wh...

P&P Summit: Quebec City 2008

Guy Barrettes WebLog, January 4, 2008

I'm very excited to announce that I've been selected to speak at the next Patterns & Practices Summit that will take place in Quebec City, May 6-8 2008.  That will be great because Quebec Ci...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Foundations of Programming - pt 7 (sorta) - ActiveRecord

Karl Seguin [MVP], December 28, 2007

You may be wondering what happened to part 6. Well, it's still being worked on and should be available early next week.I wasn't sure if there would be a part 7 and if so what it would be about...

Mocks: by-the-book vs practical

eXtensible mind, December 28, 2007

Lately, there's been some formalization of the definitions of mocks, stubs, fakes and dummies, which Fowler popularized through his site with his article Mocks aren't Stubs by introducing the concept...

Basic Guidelines for using RowTest and data driven tests

ISerializable, December 18, 2007

I took a look at the code that was used to create the NUnit RowTest Extension (which is pretty neat) and found this in one of the samples: The highlighted areas in the code show something which I ...

Writing Unit Tests For Controller Actions

youve been HAACKED, December 10, 2007

Just a brief note on writing unit tests for controller actions. When your action has a call to RedirectToAction or RenderView (yeah, pretty much every action) be aware that these methods have dependen...

Test Specific Subclasses vs Partial Mocks

youve been HAACKED, December 7, 2007

Sometimes when writing unit tests, you run into the case where you want to override the behavior of a specific method. Heres a totally contrived example I just pulled from my head to demonstrate this...

Product Spotlight