.NET Framework

Writing C# Code Using SOLID Principles
Most of the modern programming languages including C# support objected oriented programming. Features such as encapsulation, inheritance, overloading and polymorphism are code level features. Using these features is just one part of the story. Equally important is to apply some object oriented design principles while writing your C# code. SOLID principles is a set of five such principles--namely Single Responsibility Principle, Open/Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion Principle. Applying these time proven principles make your code structured, neat and easy to maintain. This article discusses SOLID principles and also illustrates how they can be applied to your C# code.
Posted On : 17 May 2014
Overview of Design Patterns for Beginners
Modern software development needs to address complex business requirements. It also needs to take into account factors such as future extensibility and maintainability. A good design of a software system is vital to accomplish these goals. Design patterns play an important role in such systems. While learning a programming language beginners often focus on language syntax and usage techniques. However, it is also important to understand the basics of good software design. To that end this article gives a quick understanding of design patterns. It discusses what design patterns are, their benefits and classification.
Posted On : 25 Apr 2014
Working with Debug Windows in Visual Studio
Debugging is an important skill that every developer needs to acquire. .NET developers have a powerful debugger of Visual Studio at their disposal. Visual Studio offers many windows that can be used during the debugging session. Knowing these windows is essential for efficient debugging. To that end this article discusses some of the most commonly used debug windows of Visual Studio.
Posted On : 27 Feb 2014
Understanding .NET Attributes
.NET assemblies are said to be self-describing. That means the information about an assembly is stored in the assembly itself. This information is called Metadata. Moreover, .NET allows you to put additional information in the metadata through Attributes. Attributes are used in many places within the .NET framework. Some examples of attributes are [WebMethod], [ServiceContract], and several data annotation attributes such as [Required] and [StringLength]. This article discusses what attributes are, how to use inbuilt attributes and how to create custom attributes.
Posted On : 20 Feb 2014
ASP.NET MVC Training in March 2014 - Thane!
We are pleased to announce our March 2014 schedule of ASP.NET MVC course. Learn VS2013, MVC5, Web API 2 and more. Intensive courses for software developers, small batches, convenient weekend timings and real world examples. Registration for these batches has already started. You may read more details here.
Posted On : 14 Jan 2014
5 Tips to Remember What You Learn Better
As a software developer you need to remember tremendous amount of information. This information is in the form of language syntax, object models, programming concepts, business domain concepts and more. Many of my training participants express their desire to remember what they learn in a better way but often fail to do so due to some or the other reason. While there can't be a single best way to remember things better here I give some tips that work for many developers.
Posted On : 05 Sep 2013
Zip and Unzip Files Programmatically in C#
Most of us deal with Zip files on a daily basis. Normally people use some third-party utility to create, open and extract Zip files. At times you may want to deal with Zip files programmatically. Luckily, .NET framework 4.5 introduces some new classes in System.IO.Compression namespace that allows you to do just that. Using these classes you can create new Zip files, open and modify existing Zip files and extract the contents of Zip files via code. This article examines some of these classes.
Posted On : 04 May 2013
Working with Arrays in C#
Arrays are frequently used to store data of the same type. You can use arrays in C# in many different ways. Although single dimensional arrays are most commonly used, other varieties such as multidimensional arrays and jagged arrays are also available to C# developers. Additionally, the Array class comes in handy when it comes to sorting or searching an array. This article discusses all these types of arrays with examples of each.
Posted On : 26 Apr 2013
Using Preprocessor Directives in C#
C# preprocessor directives are commands that are meant for the C# compiler. Using preprocessor directives you instruct the C# compiler to alter the compilation process in some way. For example you may instruct the C# compiler that a particular block of code be excluded from the compilation process. This article examines several C# preprocessor directives available, with an example of each.
Posted On : 18 Apr 2013
Using NUnit with Visual Studio 2012 Unit Test Projects
In Visual Studio 2012, the Unit Test projects by default use MS-Test, Microsoft's unit testing framework. A nice feature of Visual Studio 2012 is that it also allows you to use third-party unit testing frameworks such as NUnit, xUnit.Net and MbUnit. This allows you to write unit tests using the unit testing framework of your choice and still use Visual Studio IDE to run the tests. This article shows you how NUnit can be used in the Visual Studio unit test projects.
Posted On : 05 Dec 2012