.NET Frameworks

List of Articles in .NET Frameworks

Dynamic Type with Reflection in debug mode in .NET

This article will give simple debug mode explanation on how Reflection and Dynamic type works.Read more..
By: Dhananjay Kumar   |    On:  4/9/2010 8:28:29 AM   |    Article

Testing Tips for Programmers

This article provides basic information about software testing for programmers in a beginner’s level.Read more..
By: ninethsense   |    On:  6/28/2010 9:33:54 AM   |    Article

Understanding C# Structures and MSIL

In this article I will explain about how C# strut are working with MSIL in Operating system level And what are advantages and disadvantages using structure in application.Read more..
By: abhi2434   |    On:  12/24/2010 4:52:33 AM   |    Article

Architecture of Delegates in .NET-Tutorial

Well, at recent times, at least after the introduction of .NET framework 3.5 the use of Delegates in a program has increased quite a bit. Now almost every people in .NET language must at least somehow used delegates on their daily programming activities. It might be because of the fact that the use of delegates has been simplified so much with the introduction of lambda expressions in .NET framework 3.5 and also the flexibility to pass delegates over other libraries for decoupling and inversionRead more..
By: abhi2434   |    On:  12/31/2010 4:16:26 AM   |    Article

Internal View of Extension Methods in .NET

The Extension method is actually defined as static but acts as an instance specific method. In other words, even though the code that is running inside the Extension method is not declared within the scope of the class, it is still associated with an instance of an object for that particular class.Read more..
By: abhi2434   |    On:  1/17/2011 9:51:50 AM   |    Article

Internals of loops (While, For and ForEach) in .NET

In C# (and VB.NET) we use while, do-while, for and foreach loop to loop through a set of instructions. In this article I will try to demonstrate the basic loops for a while and later on take on a bit about foreach loop and its requirement and finally go deep into its internals.Read more..
By: abhi2434   |    On:  1/31/2011 8:06:16 PM   |    Article

Different approaches to Casting in .NET

Conversion from one type to another is the most common programming need of our daily activities. We need cast operation almost for all applications we create. Few of them require regular type conversion while other requires you to specify the cast on an expression. In BCL, there are few libraries available to you which might help you to do this casting for you. All these are very specific to a situation and the choice between them is the one most of you are confused about. In this article, I wilRead more..
By: abhi2434   |    On:  2/3/2011 10:48:08 PM   |    Article

How to use Descriptor Types and Access .NET Reflection Information

In this article I will give you a sample demonstration of how you could use Descriptor types to get information about Properties, Attributes, Events etc without invoking a single line of Reflection calls. I hope you could use the code later while building your library.Read more..
By: abhi2434   |    On:  2/4/2011 8:49:18 PM   |    Article

Introduction to the Code Contracts in .NET 4.0

In this article, I will cover how you could use code contract in your application and also take the way through to its internals later on.Read more..
By: abhi2434   |    On:  2/16/2011 7:30:45 PM   |    Article

Best Practices of Interface, Delegate and Events in .NET

Inversion of control is an architectural design principle which modifies the general flow of control of a program. You can say a program is a sequence of instructions that are running in a predefined sequence. Hence the sequence of execution of the program representing a sub-routine is defined when the class is actually implemented. Therefore, when the object is produced, it would have a sequence of instruction through which the control moves when it is called to executeRead more..
By: abhi2434   |    On:  2/21/2011 7:26:03 PM   |    Article

Introduction Value Types in .Net Framework

Introduction Value Types in .Net FrameworkRead more..
By: amalhashim   |    On:  4/9/2010 8:48:45 AM   |    Article

.Net 4.0 Features - A walk through

.Net 4.0 Features - A walk throughRead more..
By: Paru   |    On:  2/16/2010 2:59:41 AM   |    Article

Introduction Unity Framework

This tutorial will explain step by step explanation of how to use UNITY Framework in code. UNITY Framework is a framework of Microsoft to achieve Inversion of Control Design Pattern.Read more..
By: Dhananjay Kumar   |    On:  5/4/2010 11:09:46 AM   |    Article

Implementing dependency injection pattern in .NET

Dependency injection pattern is a Software and Architecture designing technique that enables to us to separation of concerns,Modules,Classes and Extensibility of Software Development ProjectRead more..
By: jalpesh   |    On:  3/30/2011 10:25:47 AM   |    Article

Make your Skype Bot in .NET

This article explains how to make a Skype bot in .NET.Read more..
By: ninethsense   |    On:  6/19/2010 9:30:44 PM   |    Article

Constrain on custom generic type in .NET

Generics is most important topic included in C# 2.0. Generics are use full in number of way when we do coding in project. One of the most important use is we want to use collections with type safety and without boxing/unboxing.Read more..
By: pranay rana   |    On:  1/28/2011 3:38:33 AM   |    Article

StringBuilder over String to get better performance in .NET

I am going to explain the same thing in more detail to give the beginners more clear view about this fact.Read more..
By: pranay rana   |    On:  2/24/2011 4:48:41 AM   |    Article

Sort ArrayList with Custom Objects using IComparer in C# Or VB.NET

In this article, I will explain how to sort Arraylist with custom object. Sometimes you may add custom objects within the ArrayList and need to sort using an attribute in custom object.Read more..
By: RRaveen   |    On:  12/29/2010 11:48:56 AM   |    Article

.NET 4.0 Parallelization Overview

Parallelization is a major Enhancements in Microsoft dot.net 4.0 in .netframework 4.0 give`s advantage of multi core processors . Now you can divide load of your functions Parallelly on Multi Core Processors.Read more..
By: usamawahabkhan   |    On:  5/22/2010 5:49:15 AM   |    Article

Understanding Static and Dynamic Polymorphism in .NET

Poly means many. So how can we take this definition in .NET context. Well we can apply this to class’s ability to share the same methods (actions) but implement them differently.Read more..
By: Vishal Nayan   |    On:  5/9/2011 8:29:15 AM   |    Article

Extension Methods in .NET

In this article i will explain about extension method and how to create in .NETRead more..
By: pranay rana   |    On:  1/28/2011 3:41:17 AM   |    Article

Structure Initialization in C#

Structure in C# allows us to group the variables and methods. Its some what similar to classes but that's not true there are no. of difference between class and structure. But here in this post I am not going to discuss about that, here I am going to explain how to Initialize Structure.Read more..
By: pranay rana   |    On:  2/10/2011 4:17:48 AM   |    Article

6 important .NET concepts: - Stack, heap, Value types, reference types, boxing and Unboxing.

This article will explain 6 important concepts Stack , heap , by val , by ref , boxing and unboxing. This article starts first explaining what happens internally when you declare a variable and then iRead more..
By: questpond   |    On:  5/2/2010 3:30:05 AM   |    Article

.NET Best Practice No: 1:- Detecting High Memory consuming functions in .NET code

One of the important factors for performance degradation in .NET code is memory consumption. Many developers just concentrate on execution time to determine performance bottle necks in a .NET.Read more..
By: questpond   |    On:  5/5/2010 5:29:20 AM   |    Article

.NET Best Practice No: 2:- Improve garbage collector performance using finalize/dispose pattern

Ask any developer which is the best place in a .NET class to clean unmanaged resources?, 70% of them will say the destructor. Although it looks the most promising place for cleanup it has a huge impact on performance and memory consumption. Writing clean up code in the destructor leads to double GC visits and thus affecting the performance multifold times. In order to validate the same we will first start with bit of theory and then we will actually see how GC algorithm performance is impacteRead more..
By: questpond   |    On:  5/6/2010 7:10:35 AM   |    Article

.NET Best Practice No: 3:- Using performance counters to gather performance data

Let us start this article by a small chat between customer and developer. Scenario 1 Customer: - How’s your application performance? Subjective developer: - Well it’s speedy, it’s the best …huuh aaa ooh it’s a like rocket. Scenario 2 Customer: - How’s your application performance? Quantitative developer: - With 2 GB RAM , xyz processor and 20000 customer records the customer screen load in 20 secs. I am sure the second developer looks more promising than the first developer. In thisRead more..
By: questpond   |    On:  5/10/2010 12:38:47 AM   |    Article

Consuming SAP Web Services and .NET

The scope of this document is to describe integration of SAP Web Services and Microsoft .NET using Microsoft Visual Studio.Read more..
By: Chinna Srihari   |    On:  8/18/2010 11:39:27 PM   |    Article

Bad Practices: Locking on Non-shared Objects in Multi-threaded Applications

Actually, I was having a problem synchronizing threads calling a function. If we could regenerate the bug, we would end up with code like this....Read more..
By: Geming Leader   |    On:  9/2/2010 3:18:15 PM   |    Article

A Reflection Sample with Assembly spy

Assembly Spy is a very nice simple application written in VB.NET that uses reflection to dynamically inspect assemblies and list the containing types and members of the selected type.Read more..
By: Geming Leader   |    On:  9/10/2010 7:51:20 AM   |    Article

How to use Checked Operator in C#

I am going to explain about the Checked Operator available in C#.NET to handle the integer overflow.Read more..
By: pranay rana   |    On:  2/23/2011 1:38:32 AM   |    Article

Go To with Switch Case Statement in .NET

In my application, I reach stage where I have to execute code of the Case 1 of the Switch..Case and if some condition is satisfied, I have to execute the code of Case 3 of Switch..Case.Read more..
By: pranay rana   |    On:  2/23/2011 1:40:49 AM   |    Article

DALC4NET (All in One Data Access Layer for .NET)

DALC4NET is an Open Source data access layer for Microsoft.NET projects. This enables users to connect any kind of database (SQL Server/ Oracle/ My Sql/ MS Access/ MS Excel etc) in optimal fashion. Ability to connect to MySql database using MySql Connector for .NET is the key feature of the DALC4NET. In fact various data access layer components available mainly connects to Sql Server/ Oracle etc.. but not MySql Database using the connector provided by MySql.Read more..
By: ak.tripathi@yahoo.com   |    On:  2/7/2011 8:02:11 PM   |    Article

Requesting Admin Approval at Application Start

User Access Control (UAC) is a feature of Windows that can help prevent unauthorized changes to your computer. UAC does this by asking you for permission or an administrator password before performing actions that could potentially affect your computer's operation or that change settings that affect other users.Read more..
By: Geming Leader   |    On:  9/2/2010 11:21:10 AM   |    Article
^ Scroll to Top