Introduction To Microsoft DOT NET Language ,Tools and Frame Work Architecture
About Author
This tutorial is submitted by Sajith and Mahesh , 2007 Computer Science Pass out from TocH Institute Science and Technology -Arakkunnam Ernakulam
Other works by same authors
Beginners guide to NET FRAMEWORK
F-1 NET FRAMEWORK
- CLR-Common Language Runtime - It is the main part of .Net framework. CLR is a runtime environment in which programs are written in C#, J# or any other .Net platforms are executed .It provides a number of services.
- MSIL –Microsoft Intermediate Language - It’s an intermediate code .It contain instruction set to which the entire .net program are compiled. It is similar to assembly language.
- CTS –Common Type System - The .Net framework provides multiple language support using the feature based on CTS. That is built into the CLR.
- CLS –Common Language Specification -It enables interoperability between .Net platforms.
NET LANGUAGES AND TOOLS.
VB.NET (Visual Basic.NET)
- Rapid design and development using controls
- Form design and visual control for creating rich window based application
- Authorized tools and services for building powerful Microsoft.NET server based solutions.
- Migration tools for and services for building powerful Microsoft.NET server based solutions.
ADO.NET (Active Data Object .NET)
An overview of ADO.NET
How ADO.NET works
To update the data in a database, the data adapter uses a command that defines an Insert, Update, or Delete statement for a data table. Then, the command connects to the database and performs the requested operation. Although it’s not apparent in this figure, the data in a dataset is independent of the database that the data was retrieved from. In fact, the connection to the database is typically closed after the data is retrieved from the database. Then, the connection is opened again when it’s needed. Because of that, the application must work with the copy of the data that’s stored in the dataset. The architecture that’s used to implement this type of data processing is referred to as disconnected data architecture. Although this is more complicated than a connected architecture, the advantages offset the complexity.
One of the advantages of using disconnected data architecture is improved system performance due to the use of fewer system resources for maintaining connections. Another advantage is that it makes ADO.NET compatible with ASP.NET web applications, which are inherently disconnected. The ADO.NET classes that are responsible for working directly with a database are provided by the .NET data providers. These data providers include the classes you use to create data adapters, commands, and connections. As you’ll learn later in this chapter, the .NET Framework currently includes two different data providers, but additional providers are available from Microsoft and other third-party vendors such as IBM and Oracle.
Basic ADO.NET objects

ADO.NET working
Description
- ADO.NET uses two types of objects to access the data in a database: datasets, which can contain one or more data tables, and .NET data provider objects, which include data adapters, commands, and connections.
- A dataset stores data from the database so that it can be accessed by the application. The .NET data provider objects retrieve data from and update data in the database.
- To retrieve data from a database and store it in a data table, a data adapter object issues a Select statement that’s stored in a command object. Next, the command object uses a connection object to connect to the database and retrieve the data. Then, the data is passed back to the data adapter, which stores the data in the dataset.
- To update the data in a database based on the data in a data table, the data adapter object issues an Insert, Update, or Delete statement that’s stored in a command object. Then, the command object uses a connection to connect to the database and update the data.
- The data provider remains connected to the database only long enough to retrieve or update the specified data. Then, it disconnects from the database and the application works with the data via the dataset object. This is referred to as disconnected data architecture.
- All of the ADO.NET objects are implemented by classes in the System. Data namespace of the .NET Framework. However, the specific classes used to implement the connection, command, and data adapter objects depend on the .NET data provider you use.

www.jobscochin.com