Facebook Twitter

John Pasko

40 y/o Software Developer and Husband, Father, Veteran and all around good guy.

Complex Systems. .NET Design Patterns in C# and VB.NET - Gang of Four (GOF) - DoFactory. Design patterns are solutions to software design problems you find again and again in real-world application development.

.NET Design Patterns in C# and VB.NET - Gang of Four (GOF) - DoFactory

Patterns are about reusable designs and interactions of objects.. The 23 Gang of Four (GoF) patterns are generally considered the foundation for all other patterns. They are categorized in three groups: Creational, Structural, and Behavioral (for a complete list see below). To give you a head start, the C# source code for each pattern is provided in 2 forms: structural and real-world. Structural code uses type names as defined in the pattern definition and UML diagrams. A third form, .NET optimized, demonstrates design patterns that exploit built-in .NET 4.5 features, such as, generics, attributes, delegates, reflection, and more.

Pearltrees videos

Help. Girlgeekamy. Software Development. Decorator Design Pattern in C# and VB.NET. Using System; using System.Collections.Generic; namespace DoFactory.GangOfFour.Decorator.RealWorld /// <summary> /// MainApp startup class for Real-World /// Decorator Design Pattern. /// </summary> class MainApp /// Entry point into console application. static void Main() // Create book Book book = new Book("Worley", "Inside ASP.NET", 10); book.Display(); // Create video Video video = new Video("Spielberg", "Jaws", 23, 92); video.Display(); // Make video borrowable, then borrow and display Console.WriteLine("\nMaking video borrowable:"); Borrowable borrowvideo = new Borrowable(video); borrowvideo.BorrowItem("Customer #1"); borrowvideo.BorrowItem("Customer #2"); borrowvideo.Display(); // Wait for user Console.ReadKey(); /// The 'Component' abstract class abstract class LibraryItem private int _numCopies; // Property public int NumCopies get { return _numCopies; } set { _numCopies = value; } public abstract void Display(); /// The 'ConcreteComponent' class class Book : LibraryItem private string _author; // Constructor.

Decorator Design Pattern in C# and VB.NET.

HTML5 Rocks!: A resource for open web developers. Because HTML5 and its related technologies cover so much ground, it can be a real challenge to get up to speed on them.

HTML5 Rocks!: A resource for open web developers

That’s why today we're sharing HTML5 Rocks, a great new resource for developers and teams looking to put HTML5 to use today, including more information on specific features and when to use them in your apps. We're launching the site with nine tutorials on specific HTML5 features. For example, you can learn how to successfully take your application offline, access the user's location with Geolocation, and even read local files from within JavaScript. In the site, we’ve also included a number of APIs that are defined outside the W3C HTML5 Spec, but kept them within this site as next-generation web applications span many specs. Watch the site as we’ll soon be adding more guides. The Interactive Presentation, written in HTML5, demonstrates a number of features with examples you can toy with.

C# Programmer's Reference (C#) This section provides reference material about C# keywords, operators, compiler errors, and warnings.

C# Programmer's Reference (C#)

C# Keywords Provides links to information about C# keywords and syntax. C# Operators Provides links to information about C# operators and syntax. Fluid Code » Refactoring in C# Fluid Code A blog about refactoring, .Net and all things agile by Danijel Arsenovski Home Archive for the ‘Refactoring in C#’ Category Telerik announces (yet another) .NET refactoring tool Thursday December 3rd, 2009 in Refactoring , Refactoring in C# , Refactoring in VB , Visual Studio 2010 | No Comments » Another Free C# Refactoring Tool from Devexpress Tuesday May 26th, 2009 in Refactoring in C# | No Comments » Professional Refactoring in C# and ASP.NET published!

Fluid Code » Refactoring in C#

Wednesday April 15th, 2009 in Refactoring in C# | No Comments » “Professional Refactoring in C# and ASP.NET” available with discount for pre-order at Amazon Sunday February 1st, 2009 in Programming , Refactoring , Refactoring in C# | No Comments » It’s official! User Interface Design Patterns: Introduction. Spreading .NET knowledge one cube at a time!