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

Total posts: 357

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

Joe On .NET, 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...

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...

Dependency Injection coming in EntLib v4

Tom Hollanders blog, December 6, 2007

Just a quick note in case you missed Grigori's announcement on the patterns & practices team's plan to focus on Dependency Injection in the upcoming release of Enterprise Library, now apparently k...

New Patterns & Practices Guides

Thom Robbins .NET Weblog, November 30, 2007

Microsoft patterns & practices recently released the following two guides: patterns & practices Team Development with Visual Studio Team Foundation ServerThis guide shows you how to make the m...

Data Layer Testing: Test Inheritance Patterns

ISerializable, November 29, 2007

I'm preparing for my tutorial on Database and Data Layer unit testing that I will be giving at the Agile Practices Conference  next week. It's always nice to have a full 3 hours to get pretty dee...

Big Ball of Mud and other architectural disasters - not!

Cirrus Minor, November 28, 2007

Jeff Atwood (of Coding Horror) writes about Brian Foote and Joseph Yoder's "Big Ball of Mud" paper but completely misses the ball (pardon the pun). Jeff says that the paper describes"classic arc...

Watin Test Recorder: Watin Model Style

.Avery Blog, November 27, 2007

Here is a sneak preview of something I have been working on:Trying to make it easier to create the Watin Models I described in my Watin Testing Pattern post.-James...

December's Toolbox Column Online

Scott on Writing, November 15, 2007

MyToolbox column in theDecember 2007issue of MSDN Magazine is avaiable online. TheDecember issue examinesthree products: DotNetLiveHelp- a Web- and Desktop-based application that adds 'live chat' fun...

Writing Testable Code Is About Managing Complexity

youve been HAACKED, November 14, 2007

When discussing the upcoming ASP.NET MVC framework, one of the key benefits I like to tout is how this framework will improve testability of your web applications. The response I often get is the sam...

Interface based programming?

Granville Barnett, November 10, 2007

I know that generally the design patterns promote programming to an interface not an implementation - and this provides more loose coupling, and helps keep inheritance trees down.  My personal o...

Life Beyond Distributed Transactions: an Apostate's Opinion

Patrik Löwendahls shout, November 6, 2007

I'm quite sure that Pat Helland doesn't need an introduction, but he's one of the guys behind the distributed transaction insanity. Today he made it very clear that he thinks differently today: "...

DevConn07 Fall:: MVC FX is it car or motorcycle?

Dino Espositos WebLog, November 6, 2007

The MVC Framework is the next (not necessarily big) thing for ASP.NET developers. ScottGu unveiled some of its aspects a few weeks ago. Today here at DevConnections I attended a presentation...

Pattern Madness, Anyone?

Peter Brombergs UnBlog, November 6, 2007

Here is an interesting newsgroup post that illustrates a common problem of programmers (usually new ones, but - not always!): ""I have just started to rewrite my application using the Presenter Fir...

How precise automated tests catch totally unexpected bugs

the telerik blogs, November 4, 2007

You may remember my post where I mentioned the technique I like regarding writing precise Selenium tests.I believe the good test has double value if it doesnt verify just the case it is written for, b...

Change of plans for Acropolis and WPF composite client support from Microsoft

Fabrice's weblog, October 29, 2007

Back in June, Microsoft announced Acropolis. Now, the Acropolis team and the Patterns & Practices team announce new plans.I haven't looked at Acropolis after July, and this new change of plans con...

Product Spotlight