Powered by Blogger.

Monday, September 23, 2013

Tutorial on Asp.Net 4.0

Before discussing about Asp.net, it is important to know about .Net framework. In dotnet framework programs are written in a software environment called Common language runtime and an application virtual machine that provides services such as security, memory management and exception handling. Microsoft first release the .Net framework in 2002 with version as .Net framework 1.0. After that different versions released like 1.0 (Feb 2002), 1.1 (Apr 2003), 2.0 (Nov 2005), 3.0 (Nov  2006), 3.5 (Nov  2007), 4.0 (Apr  2010) and 4.5 (Aug  2012).

Asp.Net is one of the most popular Microsoft technology for developing web applications, web sites or web services.

ASP.NET is a technology for developing, deploying, and running Web applications. Asp.Net is a part of .NET framework, means while coding for Asp.Net application you can access to the .Net framework classes. Asp.Net allows us to use any language compatible to common language runtime (CLR), most popularly used C#.Net and VB.Net languages.

Asp.Net runs on IIS server and the page extension is ".aspx".

Microsoft provides tools for developing web applications like visual studio. Like different .Net framework versions, Microsoft released different versions of Visual Studio like Visual Studio 2003/2005/2008/2010 and visual studio 2012.

Apart from web applications or web sites, also by using .Net you can develop other applications like Windows form based applications, Console applications, Windows custom controls etc.

While working with Asp.net Microsoft allows to store data in databases like Microsoft SQL Server, Oracle, Access etc. To work with database .Net framework provides different classes popularly known as Ado.Net. It has different namespaces or classes to work with database. Apart from Ado.Net, you can also use Microsoft enterprise library to work with database from web applications or web sites.

Microsoft also provides a new improved technology to work with web applications which is known as MVC (Model View Controller).

There are different reason why Asp.Net popular like below:
- ASP.NET Is Integrated with the .NET Framework
- ASP.NET Is Compiled, Not Interpreted
- ASP.NET Is Multilanguage
- ASP.NET uses benifit of Common Language Runtime
- ASP.NET Is Object-Oriented
- ASP.NET Supports all Browsers
- ASP.NET Is Easy to Deploy and Configure
You can check this article to know more about why Asp.Net is so popular.

C#.Net is the most popular language used in Asp.net. C#.Net is fully object-oriented programming language. There are different versions of C#.Net comes like 1.0 (January 2002),  1.2 (April 2003), 2.0 (November 2005), 3.0 (November 2007), 4.0 (April 2010), 5.0 (August 2012).

While developing web application using Asp.Net, Apart from Asp.Net, C#.Net you can use Ajax, JavaScript, jQuery, CSS, HTML etc.

Below are some of concepts mostly used in Asp.Net like: Different web controls (Label, Button, validation controls, data controls like gridview etc), State Management (View State, Cookies, Session state, Application state), Asp.net caching, Asp.Net security, Connected and Disconnected data access using Ado.Net classes, Web.config, global.asax file etc.