.NET programming

Find articles, code snippets and sample projects on .NET programming technologies including C#, VB.NET, ASP.NET and so on.

You can make money from this site by posting original and quality articles that comply with Google AdSense policies.. Also, we offer several other reward programs including monthly profit sharing, cash rewards per post, contests & prizes etc to contributing members.

Submit Your Article


Print barcode from mysql database using C#

Here i am going to explain you that how to print a bar codes from MySQL database. and working with file for printing a bar codes using C# language. It is very simple. Here i will read data from data table and write the data into file to print a bar codes.

Capture and save images from Web camera using C# and ASP.NET

This C# code sample explains how to capture and save images or videos directly from your web camera. This web camera functionality is implemented using flash and C# and ASP.NET. Learn more about how to capture images from webcamera using .NET and save in to your computer.

Comparison between "Using" and "finally"

This article is used to identify the basic difference between "Using" and "finally" in C#. It will helpful to choose the adoptable dispose method based on our requirement. As a developer we should know to dispose the object in best manner. We can dispose the object based on "Using" or "finally".

How to create and consume webservice

In this article am going to explain how to create a webservice using visual studio 2010 and how to consume the created webservice with in the client application. There might be some other articles too, but I explained clearly step by step which will be use full for beginners to understand easily.

How to call a windows application in your website ?

Today, I want to show you how a Windows application can be shown in your Web application or website with out adding any dll's. This is very Interesting to know, I experimented it. This I will demonstrate in this article with snapshots.

Macros in .NET

This article explains how we can you Macros in Visual Studio .NET. Explanation with example

How to dynamically create Link Buttons for Custom Paging in DataGrid Control

In .Net when it comes to Gridview control we want to achieve a task like Custom paging with Linkbuttons . How we achieve it ? This Article will demonstrate to handle a custom paging in Gridview control using asp.net . In this article we can know how to dynamically create Link Buttons for Paging in Data List and how to write a delegate for the Linkbutton using asp.net.

Consuming WCF Service in BizTalk 2010 Orchestration

In this article I will show how to consume WCF Services in BizTalk 2010 Orchestration in a Step by Step manner, Before consuming WCF in BizTalk, you should be aware of how to create and host WCF services.

Creating login page in asp.net mvc 4

In this article we are going to discuss how to create a sample login page using asp.net mvc 4 template. This will be useful for the beginners who are very new to mvc applications. We will see step by step procedure for creating the mvc 4 sample application in visual studio 2013.

Delegates using examples

Delegate is a form of type safe functional pointer. in compile time we don't know which method will be invoked. We can invoke a delegate asynchronous. Mostly it will be used in event drive programming. number of parameter, type of parameters and return type of a delegate should be match with method signature.

How to change themes dynamically in asp.net

In this article we are going to learn how to change themes dynamically in asp.net at runtime using the dropdownlist. Based on the user selection of themes in dropdownlist that particular selected theme is applied.

How to change the caption of the Console application

The title is important for all kind of projects. We can change the title of windows application or web application easily. But doing this in console is little bit tricky. In this article, we can see how we can handle it in the console application.

Working with validation controls in asp.net

In this article we will see how can we apply validations on control. There are various ways for applying validations on a control using javascript, from code behind. But here we will see it through the inbuilt validation controls available in the visualstudio tool.

Convert Excel files (.xlsx) to Excel Macro Enabled files (.xlsm)

In this article i will explain you that how you can convert simple excel files (.xlsx) to excel macro enable files (.xlsm). .xslx is the file extension of excel files which will be converted to .xlsm file format which is known as macro enable files. Macro enables files can run macros which contains VBA code (also known as VBA). It is the programming language used within Excel to develop macros.

When to use ASP.NET Webforms and ASP.NET MVC

In this article I have explained, When to use ASP.NET Webforms and ASP.NET MVC. We know what is ASP.NET and what is ASP.NET MVC, but we are confused when to favor which technology

Filter overriding in ASP.NET MVC 5.0

In this article we are going to look at one of the new features of ASP.NET MVC 5.0: Overriding Filter. We will look at a simple example of how to override the global filter and apply it to the action methods in the HomeController class.

Introduction to Windows Presentation Framework

As we are living in competition world we should be aware of all the technologies which are available in current market. Until now I learn few of Microsoft technologies, now I entered into WPF, I want to share my experience with you. In this article I'm going to explain What is WPF and simple application using that.

Beep sound if cell found empty in excel

In this article i will explain you that how you can beep sound if you found empty cell or if you found cell which has minimum value than that you have defined or if you found which has maximum value than that you have defined in excel. So in all these different situations you can beep different different sounds as per your requirement.

Forms Authentication in ASP.net MVC with sample Application

In my previous article I explain, what the disadvantages of Webforms are and what the advantages of using ASP.net MVC etc. In this article I'm moving further like security level. We all off us know that we have Authentication and Authorization concepts in ASP.net to verify the security level settings. In this article I'm going to explain FormAuthentication in ASP.net MVC.

Submit Your Article