Introduction
For any HTTP based protocol it is true that Web Forms are stateless and for each new request to the web server web pages are destroyed and recreated. As a result we do not get page information beyond the life cycle of a single page. State is the ability of a web application to retain user information and therefore state management becomes an important issue in developing web application.
Objectives
The main objective of this tutorial is to show how the state is managed in ASP.NET Web application. Through this tutorial we have tried to cover:
• State Management and different types of available options in ASP.NET
• Use of Session, Application and Cache variables to manage server state
• Use of Cookies, QueryString, Hidden Field and ViewState to manage client state Read more…
This is second part of the tutorial ‘Web Services with ASP.NET’. Please go through Web Services with ASP.NET–Part-I before you continue further.
Consuming a XML Web Service
Exposing data and logic as SOAP to disparate systems across the world becomes simple with the help of ASP.NET. But users are not limited to consuming XML Web services only into ASP.NET application. Web Services can be consumed in Windows forms, mobile applications, databases and more. But here we show the example of how to consume a web service from a .net based web application. Again we are describing the whole process step by step. Read more…
Introduction
Web services are a new way of performing remote method calls over HTTP with the use of Simple Object Access Protocol (SOAP) . It becomes very easy for us to use all of this with the help of .Net framework. This tutorial covers building XML Web services and how we can consume XML Web service interfaces and integrate them into ASP.NET applications. But first we examine what is Web service some of the underlying technologies such as SOAP, WSDL and more.
Objective
The main objectives of this tutorial are
a.Give a simple idea about XML web service and the backend technologies.
b.How to build XML web service with the help of Visual Studio 2008
c.How to consume the web service within a web application built in .Net
We will cover the first two portions in Part-I of this tutorial and Part-II will cover the remaining portion. Read more…
This is the second part of .Net chart control and this is going to cover some advanced topic. Please go thorugh Microsoft Chart Control Tutorial before you continue this.
Introduction
In this tutorial we will discuss some advanced features on .Net chart control. As our previous tutorial covers the basics of chart control, we will not discuss those same things over here. Here we focus on the advanced features primarily based on two examples:
1. Creating .Net chart from the data of an XML file
2. Creating .Net chart only by configuring ‘ChartArea’ sectionof the control from the source page
Both of these two examples also show you different features of .Net chart .
Displaying XML data using .Net chart
We are going to mention the steps one by one to create the same things in your machine for practice: Read more…
This is in part 2 of the tutorial Beginner’s Tutorial for programming with ASP.NET – Part 1. Please go through this before you continue further.
Creating the Database Table
Here we will create a table called ‘LoginTable’ in our SQL Server. Please have a look at Figure-22 for the design structure of the table. This table contains two columns ‘Name’ and ‘Password’.

Figure-22: Structure of the ‘LoginTable’
Now we will add the following data in this table Read more…
Introduction
The term .Net gives us a feeling that it is something to do only with the Internet or network related applications. Though .Net provides strong environment for creating such applications, it is also possible to create many other types of applications (Windows form based applications, Console applications, Windows custom controls etc.)
.Net is Microsoft’s development model in which software becomes platform and device independent and data becomes available over the Internet. The .Net framework is the heart of .Net. Central to the .Net framework is its runtime execution environment known as the Common Language Runtime (CLR) and the code running under the control of the CLR is often termed as Managed Code.
In this tutorial we will show how to create a dynamic data driven web application in .Net environment and we also focus on understanding basic ASP.Net components for web application. Read more…
Introduction
In this tutorial we will explore the Microsoft Chart Control, the new addition to .Net framework and how we can use this in our web application. So now there is no need of any third party tools to add chart and graph in our ASP.Net web application.
Prerequisites
• Visual Studio 2008 SP1
• .Net framework 3.5 SP1
• Microsoft Chart Control (MSChart.exe)
• Visual Studio 2008 support tool for the chart control (MSChart_VisualStudioAddOn.exe)
Please note that MSChart is not compatible with .Net framework versions below 3.5 Read more…