.Net


Start Memcache server

Caching in the .Net 4 world with memcached

Introduction:
This article is targeted to be a tutorial of how to use Memcached caching server in .net, as well as a reflection of Microsoft’s asp…

More..

C# .Net Data Types

Data is physically stored inside cells of memory. This memory could be physical memory (Hard disk) or logical memory (RAM). Any cell of memory is…

More..

C# .Net Tutorial Intermediate Language – MSIL

Microsoft Intermediate Language (MSIL) is a platform independent language that gets compiled into platform dependent executable file or dynamic link…

More..

OOP & C# .Net

The skeleton of object – oriented programming is of course the concepts of class. This C# tutorial on OOPS explains classes and their importance in…

More..

C# .Net Tutorial Namespaces

A Namespace in Microsoft .Net is like containers of objects. They may contain unions, classes, structures, interfaces, enumerators and delegates.…

More..

C# .Net and Java

This article compares the same program written in the C# and Java languages and then compares the dissembled code of both languages.
Java Hello…

More..

C# .Net Tutorial attributes

This article deals with the new C# .net features named attributes. This can be used as a Self paced C# .net training or C# tutorial material.

C#…

More..

C# .Net Tutorial Exceptions

This article is a basic c# tutorial dealing with exceptions in c# .net.

Practically any program including c# .net can have some amount of errors.…

More..

C# .Net Tutorial Interfaces

This C# Tutorial deals with interfaces in C# .Net. An Interface is a reference type and it contains only abstract members. Interface’s members can be…

More..

C# .Net Tutorial Multithreading

Any Windows application must have one or more processes. A Process is structural unit with a memory block and using some set of resources. For each…

More..

C# .Net Tutorial Reflection

Reflection is the feature in .Net, which enables us to get some information about object in runtime. That information contains data of the class.…

More..

Reading and Writing files in .Net by azamsharp

Why write in files ?
You might be thinking that why would someone would write a file when we have all the other databases available in which we…

More..

Reading and Writing Binary files in C# .Net by azamsharp

Writing Binary Files :
For files with known internal structures, the BinaryReader and BinaryWriter classes offer streaming functionality that’s…

More..

Reading and Writing XML Files

Writing XML Files :
Okay lets see how we can write XML files. Writing and Reading Xml files are most important because sometimes they can also be…

More..

Measuring Execution Time in C# by ger

Motivation
Sometimes, while writing programs, we can get into situations when we need to measure execution times of various tasks.

Each…

More..

Math.Round function by aliasgar

I had the below problem with the Math.Round() function:

Problem :

  When I use the Math.Round Function it uses the Bankers Method. (ie.,…

More..

C++ Game sample – Egg Catcher by thatsalok

This article is a small game using graphics in c++ (DOS Based). I programmed this game and all of the graphics design are the creations of my friend…

More..

Dynamic memory allocation in C++ by breakaleg

So you have just finished your program and you would like to see it at work. Usually you press a combination of keys to compile and run it. But what…

More..

Memory leaks in C++ and how to avoid them by breakaleg

A memory leak is what happens when you forget to free a block of memory allocated with the new operator or when you make it impossible to do so. As a…

More..

Basic Graphs Terminology by breakaleg

What is a graph ? The name may suggest something that has to do with graphics, which in a way is true but graphs are generally more than that. Their…

More..

Breadth First Search in C++ by breakaleg

Consider the following problem. You are given the maze figure below and asked to find a way to the exit with a minimum number of decisions to make (a…

More..

How to write a OpenGL program in VC++ environment by bagavathikumar

Introduction
OpenGL is an abbreviation of “Open Graphics Library”.
Writing an OpenGL Program
First of all, we have to satisfy the minimum…

More..

Creating custom windows forms in C# with images by ra00l

Introduction
This article introduces you to creating your own custom appearance user interfaces, witch you will find to be much more easy then…

More..

Scrolling Text on a Form using label control by ra00l

Introduction
In this tutorial, you will learn how to make a text scrolling effect using a label control. It’s really quite simple, and it has a cool…

More..

Creating a Splash Screen in C# by ra00l

Introduction:
Today you will learn create a simple splash screen for your application. In order to follow this tutorial, you will need to have…

More..

Windows forms Color chooser in C# by ra00l

Introduction
In order to follow this tutorial, you will need to have Visual Studio .NET and .NET Framework installed on your computer. If you only…

More..

Drawing Shapes Using GDI+ by ra00l

Introduction
In order to follow this tutorial step-by-step you will need to have installed Visual Studio .NET and .NET Framework. If you only want…

More..

Forms Notifier

A simple event notifier for winforms

This is a sample snippet which can be used for notification across our winforms or console applications.

Most of the time we’ll need a simple…

More..

C# – Unsafe Code

C# .net hides most of memory management, which makes it much easier for the developer. Thanks for the Garbage Collector and the use of references.…

More..

C# Microsoft Speech Agent

    With millions of Web sites out there on the Internet, you’re going to have to think up some pretty innovative ways for your Web site to be…

More..

C# Linked List using a Dll by edlukens

Last Updated: 11 January 2005

One of the challenges faced by an application designer is reading in large sequential files and having to also load…

More..

Boxing and Unboxing in C# .Net by azamsharp

Introduction
In this article I will explain the concepts of Boxing and UnBoxing. C# provides us with Value types and Reference Types. Value Types…

More..

HTML Screen Scraping in C# by azamsharp

   HTML Screen Scraping using C# .Net WebClient

What is Screen Scraping ?
Screen Scraping means reading the contents of a web page. Suppose you…

More..

Encrypting Passwords using Sha and MD5 Encryption techniques in .Net by qamar

   Securing application has always been a tough task for developers. Security threats have been minimized by various means, some of them are…

More..

Build Installer Projects for C# Application Deployment in .Net by edlukens

Last Update: 2 March 2005
Overview
You’ve worked frantically to get your C# application finished and it is finally tested and ready to go. Now you…

More..

Distributed Transactions in COM+ and .NET by doyleits

I was a little surprised, back when I started developing with the .NET Framework. Of course I was impressed with the framework, the amount of work…

More..

Living Without Biztalk by doyleits

In a world where disconnected systems are the norm, and guaranteed delivery is crucial, asynchronous processing is a godsend. Your ecommerce system…

More..

UnTyped DataSets and Strongly Type DataSets by azamsharp

Introduction:
We all are use datasets as a means of carrier of data from one layer to another. Most of the time we are using weakly typed datasets.…

More..

Refactoring – a new feature in the Visual C# 2.0 IDE by muskad202

Refactoring – a new feature in the Visual C# 2.0 IDE
Renaming variables:
Assume you have a solution containing about 25 classes (we’ll…

More..

C# Type Inference

C# is a statically-typed language (type checking is performed by the compiler, as opposed to being performed at run-time), which implies that…

More..

C# Extension Methods by JavaJeff

C# 3.0's extension methods (static methods that can be invoked using instance method syntax) language feature lets you add methods to existing…

More..

Using DataSet in C# – Some ideas

One of the great features introduced by microsoft in the .net technology is the dataset . The dataset is the object corresponding the the traditional…

More..

Adding DataColumn to a Dataset and DataTable

DataSet can be filled with data in multiple ways. One of them is to add data manually. The data can be added either to a new and empty DataSet or to…

More..

DataSet in .Net

What is DataSet:
A Dataset is a in memory representation of a collection of Database objects including tables of a relational database scheme. The…

More..

C# and ADO .NET by edlukens

Last updated February 1, 2005

With the introduction of .NET technology came a new concept in database connectivity called ADO.NET. While similar…

More..

Setting Security for .NET Application Deployment by edlukens

Last Update: 11.02.2005

You’ve worked for months and months on your C# application and it has passed testing now is ready for deployment. You get…

More..

Running oracle stored procedures in C# by edlukens

Last Update: 18 February 2005

Note: This article assumes a basic knowledge of Oracle stored procedures and how to create and access them.

While…

More..

SQL DMO for automated Database Backup and Restore

SQL DMO or SQL Distributed Management Objects are available through a Development library called SQLDMO.DLL from Microsoft. This Library can be used…

More..

Data Access in ASP .Net 2.0 by azamsharp

Introduction:
Data Access has always been the heart and sole of any application. We saw ADO in classic Asp and ADO .NET in Asp .net 1.1. We also saw…

More..

Reading and Writing images from SQL Server by ra00l

Introduction:
Today you will learn to write images to SQL Server and then read and display them. In order to follow this tutorial, you will need to…

More..

ViewState Vs Data Caching by azamsharp

Introduction:
A couple of days ago I ran into a confusion when I had to decide that whether to use ViewState or Data Caching. The use of ViewState…

More..

Using Microsoft Data Access Application Block by azamsharp

Introduction:
Microsoft .net framework consists of ADO .NET which enables the developer to interact with the database. ADO .NET provides many rich…

More..

Model View Controller Pattern by azamsharp

Introduction:
Before you even think of writing a simple line of code you must architect the application so that if behaves as you expect it to. If…

More..

Configuration Application block in the Enterprise Library by azamsharp

Introduction:
All the web applications needs some data that is to be available for the whole application. Usually this data is put in the web.config…

More..

Exception Handling using Enterprise Library by azamsharp

Introduction:
Every now and then we need to catch exceptions and perform actions on that exceptions. If you have noticed there is always a common…

More..

Enterprise Library Caching Block by azamsharp

Introduction:
Microsoft introduced Enterprise Library in January 2005. Many companies have migrated their code from the independent Application…

More..

Branch and bound algorithm in C# by asif

What is Branch and Bound Algorithm?
These notes follow the discussion of branch and bound algorithms in Computer Algorithms by E. Horowitz, S. Sahni…

More..

Implementation Of Labeling Connected Components in C# by asif

Brief Description:
Connected components labeling scans an image and groups its pixels into components based on pixel connectivity, i.e. all pixels…

More..

Conversion of Color images to Gray with Basic concepts by asif

What is a Color Image?
   It is possible to construct (almost) all visible colors by combining the three primary colors red, green and blue,…

More..

Conversion of a Color Image to a Binary Image by asif

What is a Binary Image?
   Binary images are images whose pixels have only two possible intensity values. They are normally displayed as black and…

More..

Implementation Of Calculating the RTS Invariant Moments Of Area by asif

Why Using Moments of Area?
It is seen that the usage of moments of area highly supports for the systems using Artificial intelligence. The reason…

More..

Tutorial on Converting Images to Grayscale using C# by ra00l

Introduction
   In this tutorial, we will create a grayscale image from a colored one. To run this application, you will need to have .NET…

More..

Finding the Convex Hull Of a Blob in C# by asif

Why Convex Hull?
   Finding the convex hull of a set of points is the most elementary interesting problem in computational geometry, just as…

More..

Noise Removal using Salt and Pepper algorithm in C# by asif

Most scanned images contains noise in form of darker dots and disturbances caused by the scanning process.

If these are not removed before the…

More..

Image Processing in C# by asif

C# .Net provides a good support for processing on the image, and the purpose of this article is not to give you a lot of insight into the image…

More..

Image Processing AND, NAND by asif

Background
   The AND binary operation takes two binary inputs and outputs 1 only when both the inputs are 1 else produces 0. The NAND binary…

More..

Leave a comment