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

Total posts: 648 | Sort by Views | Sort by Hits

Hazards of Converting Binary Data To A String

youve been HAACKED, January 30, 2012
Views: 211 | Hits 20

Back in November, someone asked a question on StackOverflow about converting arbitrary binary data (in the form of a byte array) to a string. I know this because I make it a habit to read randomly sel...

Getting Older

youve been HAACKED, January 23, 2012
Views: 201 | Hits 16

Birthdays are a funny thing, arent they? Lets look at this tweet for example, It's @haacked's birthday. Give him crap about getting old. No gifts, please. Especially not what Charlie suggests. ...

How to Build Flexible and Reusable WCF Services

The Code Project Latest Articles, January 20, 2012
Views: 285 | Hits 40

Design patterns and best practices for building flexible and reusable WCF services....

How to Build Flexible and Reusable WCF Services

The Code Project Latest Articles, January 20, 2012
Views: 351 | Hits 69

Design patterns and best practices for building flexible and reusable WCF services....

(ASP.NET) Accessing HttpContext.Current and Other System.Web Components from Low Level Tiers

The Code Project Latest Articles, January 16, 2012
Views: 313 | Hits 49

Generally when you divide up your tiers, your lower level tiers lose access to HttpContext.Current and other important presentation components. This pattern works easily around that issue....

Redirecting Non-www to Domain Equivalent

Scott Forsyths WebLog, January 5, 2012
Views: 199 | Hits 9

A question came up on a blog post of mine on how to redirect a domain name that doesnt have www in it while retaining the original domain name.  Basically, to have a generic redirect to add on a ...

A general purpose event bus leveraging Reactive Extensions

eXtensible mind, January 2, 2012
Views: 252 | Hits 23

I talked before on the usefulness of having rich events published throughout your domain. In that blog post, I also showed a very simple implementation. I realized that there seems to be quite some in...

6 common use of Template Design pattern: - Design pattern series

The Code Project Latest Articles, December 29, 2011
Views: 372 | Hits 95

In this article we will explain about 6 common use of Template Design pattern....

Performance Guidelines for Properties

Rico Marianis Performance Tidbits, December 19, 2011
Views: 291 | Hits 43

I can’t say I’ve asked the framework guidelines folks about this but I’m fairly sure there would be a lot of agreement from the guidelines gurus; so in the spirit of approximately co...

Multitouch at your fingertips, with the Touch Mouse and Sensor API

MSDN: Coding4Fun, November 28, 2011
Views: 230 | Hits 9

I always find API's and SDK's fertile ground to find cool and fun things to play with and when we mix in some new hardware, well...Today's API/SDK is from the Microsoft Research Touch Mouse team, the ...

Composing Entity Framework Fluent Configurations

K. Scott Allen, November 28, 2011
Views: 238 | Hits 32

The canonical example for fluent configuration with the Entity Framework is to take a few simple entity definitions: public class Product { public int Id { get; set; } public string Name { ge...

Programming Entity Framework 2nd Edition vs Code First Edition

Julia Lerman Blog - Dont Be Iffy..., November 21, 2011
Views: 347 | Hits 68

Ive had tweets and emails from readers asking if there is any point to reading the 2nd edition of Programming Entity Framework if they are only planning to use Code First and DbContext. (Before an...

Chain Of Responsibility Design Pattern in C#, using Managed Extensibility Framework (MEF)

The Code Project Latest Articles, November 14, 2011
Views: 270 | Hits 52

This post is about implementing Chain Of Responsibility design pattern, and few possible extensions to the same using Managed Extensibility Framework or MEF...

MVVM Pattern Made Simple

The Code Project Latest Articles, November 8, 2011
Views: 407 | Hits 90

gives an overview of MVVM pattern, its usage and advantages...

"This is not a question. Just a comment for you, Roy."

ISerializable, November 5, 2011
Views: 244 | Hits 17

—————- My Name:: ***** My Email is:: ******* My Company: I’m interested in: Other I am located in : Sweden Message:  Thanks for having videos publicly availab...

Apple’s cycles

QuirksBlog, October 25, 2011
Views: 284 | Hits 23

Over the past week or so I found I have seriously misjudged the iPhone 4S announcement, and I’d like to set the record straight. After reading a few interesting pieces I realised I’d misunderstood App...

SOA Patterns : Composite Frontend (PDF)

Cirrus Minor, October 18, 2011
Views: 294 | Hits 43

I got a few request for a PDF version of the pattern so here it is : Composite Frontend Pattern...

SOA Patterns : Composite Frontend

Cirrus Minor, October 17, 2011
Views: 375 | Hits 50

I am not blogging much these days – most of it is due to trying to get my bloody book finished. A case study and a finished anti-pattern chapter where recently pushed to the MEAP, and here’s one addit...

WCF by Example - Chapter XI - NHibernate Implementation

The Code Project Latest Articles, October 14, 2011
Views: 378 | Hits 33

Unit of work pattern on NHibernate using repositories....

.NET String Resources

The Code Project Latest Articles, September 11, 2011
Views: 439 | Hits 82

Concepts and patterns for the handling of strings in multilingual applications...

MVVM your Kinect code

MSDN: Coding4Fun, August 16, 2011
Views: 356 | Hits 18

MVVM is a pattern that I'm a fan of. It's a solid step toward developing application UI's that are easier to maintain and test by removing, eliminating the need for, "code behind" code. If you've ev...

How to serialize data effectively? Custom serialization of Bitmap, Cursor, Icon, Font and other objects without default constructor with SharpSerializer

The Code Project Latest Articles, August 14, 2011
Views: 325 | Hits 23

Is it better to serialize types without default constructor with Custom Serializer or a Substitute Pattern?. Example of Serialization of FontFamily into isolated storage in WP7...

Future Orchard Part 3: Autoroute

More Whidbey stuff, July 31, 2011
Views: 561 | Hits 26

The way URLs work in Orchard today is fine for the simplest sites but it's not very customizable and comes with a number of challenges. Let's look at how it works today. Let's start with a plain page:...

Common Design Patterns Resources

Steven Smith, July 13, 2011
Views: 485 | Hits 38

Last night I gave a presentation at the Cleveland .NET SIG on Common Design Patterns.  The turnout was great, so much so that the group ran out of pizza and chairs, so thanks to everyone for taki...

Dayton .NET User Group Talk on Anti-Patterns and Worst Practices

Steven Smith, June 23, 2011
Views: 394 | Hits 37

Last night I spoke at the Dayton .NET User Group on the topic of Anti-Patterns and Worst Practices.  It was a pretty good-sized group, albeit rather subdued.  Youll find some of the inspirat...

MVVM Live Chat on June 23rd

JohnPapa.net, June 23, 2011
Views: 371 | Hits 34

Want to chat about MVVM with me live? You can tune into a 1 hour live webcast this Thursday morning as I'll be talking about the MVVM pattern, why it exists, when it works well, and what parts you may...

C# Language discussion about the use of the #region directive and why it represents a "Code Smell".

EggHeadCafe.com New Articles, May 16, 2011
Views: 388 | Hits 69

Why the #region directive can be indicative of Code Smell and other problems. Includes the results of a recent TwtPoll on the subject.  read moreBy Peter Bromberg...

The 4 Stages of Learning Design Patterns

Steven Smith, May 13, 2011
Views: 789 | Hits 42

Design patterns are general, reusable solutions that occur in software design, which can usually be adapted to fit into a number of different situations and applications.  Recently, I recorded a ...

How extension methods ruined unit testing and OOP, and a way forward

eXtensible mind, May 5, 2011
Views: 496 | Hits 65

You probably know Im an advocate of a particular way of doing extension methods that I call the Extension Method Entry Point Pattern, which makes it easier to mock them. This technique, while very use...

Microsoft P&P Developers Guide to Microsoft Prism 4

MS-Joe, March 28, 2011
Views: 471 | Hits 42

Last fall the Microsoft’s Patterns & Practices team shipped Prism 4, now you can get the companion book. The Developers Guide to Microsoft Prism 4 book. You can get the book atO’Reilly...

Microsoft Guidance for Silky Smooth Web Sites

Chris Love's Official Blog - Professional ASP.NET, February 25, 2011
Views: 490 | Hits 54

Recently a new Patterns and Practices group has formed called Project Silk . The goal of Project Silk is to provide guidance to web developers on architecting great standards compliant web sites. Toda...

Building a CachedRepository via Strategy Pattern

Steven Smith, February 15, 2011
Views: 485 | Hits 24

In part one of this series, I introduced the CachedRepository pattern, and demonstrated how it can be applied through the use of simple inheritance to an existing Repository class.  This allows u...

CodeSmith Generator 6.0 Template Parser Progress Report - Part 2

Eric J. Smiths Weblog, February 2, 2011
Views: 622 | Hits 24

In this post Im going to talk about how the new template parser in CodeSmith Generator 6.0 creates an AST (Abstract Syntax Tree) and then uses the visitor pattern to iterate over the nodes in the AST ...

Introducing Command Query Responsibility Separation (CQRS)

ASPAlliance.com - The #1 ASP.NET Community, January 11, 2011
Views: 777 | Hits 56

The Command Query Responsibility Separation (CQRS) pattern is an enterprise pattern that can be used to increase the performance, scalability, and reliability of distributed applications that may expe...

Service Oriented Design Pattern - Service Ping

DonXML Demsaks All Things Techie, December 22, 2010
Views: 958 | Hits 76

In the spirit of both the Gang of Fours Design Patterns book and the SOA Patterns book/site,  Im going to try to document a couple different SOA Patterns that Ive found useful, but havent seen do...

Simple pattern matching technique to improve the search boxes

The Code Project Latest Articles, December 20, 2010
Views: 722 | Hits 55

Simple Pattern Matching Technique For Search Suggest Boxes...

Singleton Pattern

Steven Smith, December 7, 2010
Views: 838 | Hits 75

I recently published an article on Alternatives to the Singleton Design Pattern on AspAlliance.com.  If youre a fan of the Singleton pattern, I would encourage you to have a read and feel free to...

Hidden Markov Models in C#

The Code Project Latest Articles, December 6, 2010
Views: 262 | Hits 10

Hidden Markov Models (HMM) are stochastic methods to model temporal and sequence data. They are especially known for their application in temporal pattern recognition such as speech, handwriting, gest...

Observer Pattern In Web applications (Javascript) - A walkthrough with an ajax example

The Code Project Latest Articles, December 2, 2010
Views: 754 | Hits 37

Observer pattern is excellent technique to deal with one to many relationship among objects...

Alternatives to the Singleton Design Pattern

ASPAlliance.com - The #1 ASP.NET Community, November 23, 2010
Views: 935 | Hits 90

The Singleton Design Pattern is one of the simplest and most widely known design patterns in use in software development. However, despite its simplicity, it is very easy to get wrong and the consequ...

MVVM Silverlight 4.0 simplified

The Code Project Latest Articles, November 11, 2010
Views: 1,075 | Hits 84

Implimenting the MVVM pattern Silverlight 4.0...

Windows Phone From Scratch #5 Data Binding

Jesse Liberty - Silverlight Geek, November 9, 2010
Views: 897 | Hits 15

Databinding is a somewhat advanced topic, typically covered in the second or even the final third of most Silverlight books.  Were going to tackle it in the next couple mini-tutorials because It ...

ASP.NET Scopes Framework: data scope based server pages with HTML templates

The Code Project Latest Articles, October 29, 2010
Views: 1,240 | Hits 37

The article describes an interesting pattern alternative to ASP.NET Forms and MVC and provides Alpha version of the framework build around this pattern....

Join me for a live webinar on unit testing with Isolator++ this thursday

ISerializable, October 18, 2010
Views: 554 | Hits 5

In three days, this Thursday, Ill be giving a half hour online webinar on our latest product, Isolator++ and some usage patterns with it on C++ code. I might even do a little song in honor of C++ sti...

Join me for a live webinar on unit testing with Isolator++ this thursday

ISerializable, October 18, 2010
Views: 670 | Hits 5

In three days, this Thursday, Ill be giving a half hour online webinar on our latest product, Isolator++ and some usage patterns with it on C++ code. I might even do a little song in honor of C++ sti...

Whats coming in Test Lint 1.5

ISerializable, October 14, 2010
Views: 587 | Hits 7

Test Lint is an as you type parser that detects common readability, maintainability and trust anti-patterns in your unit tests. the addin for VS is free. there is also a command line version that you ...

Whats coming in Test Lint 1.5

ISerializable, October 14, 2010
Views: 569 | Hits 6

Test Lint is an as you type parser that detects common readability, maintainability and trust anti-patterns in your unit tests. the addin for VS is free. there is also a command line version that you ...

SOA Patterns short status update

Cirrus Minor, October 6, 2010
Views: 785 | Hits 25

First off, In the previous post I published the Transactional Integration anti-pattern – if you need it for off-line reading you can alsoget it in PDF form. I am currently writing the “3-tier SOA” ant...

Updating AJAX Patterns How-Do-I Videos.

MS-Joe, October 6, 2010
Views: 936 | Hits 41

Below is a list of AJAX Patterns videos that I did some time back. Implement the Predictive Fetch Pattern for AJAX 25 minutes ...

Yet Another Podcast Show #3 John Papa on MVVM and Patterns

Jesse Liberty - Silverlight Geek, September 29, 2010
Views: 919 | Hits 22

  Talking with John Papa, Senior Technical Evangelist, about MVVM and Patterns     5 Simple Steps for MVVM Keeping up with the community Top blogs MVVM Light Ward Bells photos ...