Dot Net Cube

Spreading .NET knowledge one cube at a time!

Design Patterns – Which to use When? Take the Quiz!

clock October 16, 2009 22:09 by author Administrator
I received several questions on how to pick a Design Pattern, which motivated me to write this post. As it was mentioned in the Design Patterns overview article, there is no rule of thumb in selecting a Design Pattern.  Developers should not choose a design pattern and design a solution aroun... [More]


Design Patterns – Using the State Pattern in C#

clock October 8, 2009 01:37 by author Administrator
Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Facade Pat... [More]


Design Patterns – Using the Chain of Responsibility Pattern in C#

clock September 28, 2009 06:04 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Faca... [More]


Design Patterns – Using the Observer Pattern in C# (Events and Delegates)

clock September 20, 2009 20:58 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Faca... [More]


Design Patterns – Using the Builder Pattern in C#

clock September 14, 2009 03:42 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Faca... [More]


Design Patterns – Using the Abstract Factory Pattern in C#

clock September 4, 2009 07:18 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Faca... [More]


Design Patterns – Using the Decorator Pattern in C#

clock August 27, 2009 02:18 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Faca... [More]


Design Patterns – Using the Composite Pattern in C#

clock August 20, 2009 06:24 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Facad... [More]


Design Patterns – Using the Facade Pattern in C#

clock August 15, 2009 00:23 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Facad... [More]


Design Patterns – Using the Adapter Pattern in C#

clock August 1, 2009 02:20 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Facad... [More]


Design Patterns – Using the Singleton Pattern in C#

clock July 25, 2009 01:00 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Faca... [More]


Design Patterns – Using the Strategy Pattern in C#

clock July 9, 2009 01:24 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Facad... [More]


Design Patterns – An Overview

clock June 27, 2009 00:53 by author Administrator
  Design Pattern articles in this series are listed below: Design Patterns - An Overview Design Patterns – Using the Strategy Pattern in C# Design Patterns – Using the Singleton Pattern in C# Design Patterns – Using the Adapter Pattern in C# Design Patterns - Using the Facade... [More]


Useful Visual Studio Shortcuts (Some new VS 2010 shortcuts included too!)

clock June 11, 2009 02:16 by author Administrator
  Here’s a compilation of some Visual Studio keyboard shortcuts that I personally find useful. I have included some that may make their way into the Visual Studio 2010 release. Useful shortcuts in Visual Studio 2008/2005 Before using the shortcut ... [More]


Overview of .NET 4.0 features – C# 4.0 Named and Optional Parameters

clock June 3, 2009 21:27 by author Administrator
  The concept of Optional parameters is not new and exists in other languages such as C++. Infact, the functionality is a part of the .NET framework and exists is in VB.NET. Optional parameters will be introduced in C# 4.0 and can be used to call a method without having to specify all the argu... [More]


Overview of .NET 4.0 features – ASP.NET 4.0 ClientIDMode

clock May 23, 2009 02:39 by author Administrator
  In pre 4.0 days, when a server control is rendered, the framework would assign an ID to the control based on the control hierarchy. For example, a textbox of id "txtTest" in a user control that is used on a page would be rendered with the ID "WebUserControl11_txtTest". De... [More]


Rarely used C# keywords

clock May 16, 2009 02:34 by author Administrator
  I received a few comments indicating that some of them are not keywords. The intent of this post was to list the C# "features" that are in my opinion rarely used. By features, it could mean be keywords, methods or operators. I really do not want to change the title to read "Ra... [More]


Using Flags Enumeration Type in C#

clock May 9, 2009 02:00 by author Administrator
  What are Flags Enums? Flags Enum types are a convenient way of storing multiple enumerated values. Assume you are working on a Shipping application in which the items that are shipped are represented by an enum type. A regular enum would be: public enum Item { None, Laptop, Hard... [More]


Top 5 SQL System stored procedures every developer should know

clock May 2, 2009 01:08 by author Administrator
There are a number of documented and undocumented system stored procedures in MS SQL Server that are helpful for every web developer working with databases. From the developer’s perspective, here’s a list of 5 System stored procedures that are my favorite. 1. sp_help Purpose sp_help gives infor... [More]


Getting started with JQuery in ASP.NET

clock April 25, 2009 03:10 by author Administrator
  This article gives an introduction to JQuery and how to get started in using it in your web applications. What is JQuery? JQuery is an amazing JavaScript library that makes it very easy to perform tasks such as modifying the DOM, event handling and animation. Other than JQuery, there are s... [More]


C# 3.0 - Extension Methods

clock October 3, 2008 03:12 by author Administrator
  Extension methods let developers add methods to an existing type without having to recompile. Extension methods are static methods that can be used as instance methods of the type that was extended. Consider an example of a helper method that is used to format a phone number. Given a number ... [More]



 

 

Poll

What is your current job title?











Disclaimer: The views expressed in this website are the author's personal views and in no way reflects the views of his employer or anyone else. Any opinions, tips, ideas, work arounds, fixes or other commentary expressed in this blog is provided "AS IS" without any warranties and rights.



Sign in