.NET Framework

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
Using Caller Info Attributes in .NET 4.5
When developing complex .NET applications sometimes you need to find out the details about the caller of a method. .NET Framework 4.5 introduces what is known as Caller Info Attributes, a set of attributes that give you the details about a method caller. Caller info attributes can come in handy for tracing, debugging and diagnostic tools or utilities. This article examines what Caller Info Attributes are and how to use them in a .NET application.
Posted On : 22 Nov 2012
Creating Your Own NuGet Package
NuGet is a free and open source package management system for .NET applications. The primary goal of NuGet is to help developers simplify the process of incorporating third party libraries into their .NET applications. There are several NuGet packages available for you to use or you can build your own. This step-by-step article shows what it takes to create your own NuGet package. The package can then be submitted to NuGet Gallery or can be hosted locally.
Posted On : 24 Sep 2011