Header Ads


ASP.NET Tutorial

ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to create dynamic websites. It allows you to use a full-featured programming language such as C # or VB.NET to easily build web applications.

This tutorial covers all the basic elements of ASP.NET that will require a beginner to get started.

This tutorial is designed to help them understand beginner ASP.NET programming. After completing this tutorial, you will find yourself in ASP.NET programming at a moderate level from which you can take yourself to the next level.

Before proceeding with this tutorial, you must have a basic understanding of the .NET programming language. Since we are building web-based applications using the ASP.NET Web Application Framework, it would be good if you have an understanding of other web technologies such as HTML, CSS, AJAX. Etc.

ASP.NET is a web development platform, which offers various programming services, a comprehensive software infrastructure and robust web applications for PCs as well as various services for configuring mobile devices.

ASP.NET operates at the top of the HTTP protocol, and uses HTTP commands and policies to determine two-way communication and support from the browser to the server.

ASP.NET is a part of the Microsoft .NET platform. ASP.NET applications are code compiled codes, written using extensible and reusable components or objects contained in the .NET Framework. These codes. Uses the entire hierarchy of classes in the net framework.

The ASP.NET application code can be written in any of the following:

C #
Visual Basic. Net
J #
ASP.NET is used to develop interactive, data-driven web applications over the Internet. It includes a large number of controls such as text boxes, buttons, and labels for generating, configuring, and manipulating code to create HTML pages.

ASP.NET Web Form Model
ASP.NET Web Forms extend the interactive program driven model through web applications. The browser presents the web form to the web server and returns a complete markup page or HTML page in the server response.

All client user activity is sent to the server for state processing. The server processes the output of client actions and triggers a response.

Now, HTTP is stateless protocol. The ASP.NET framework helps to store application status information, including:

Page state
Session state
The page state is the state of the client, i.e. the content of the various input fields in the web form. The state of the session is the collective information obtained from the various pages that the user viewed and worked with, that is, the overall state of the session. To clear this idea, let's take the example of a shopping cart.

Adds items to the user's shopping cart. The Items page says the Items page is selected, and the items and prices collected are shown on a different page, say on the cart page. HTTP can't keep all the information from different pages. ASP.NET Session State and Server Side Infrastructure tracks information collected globally during a session.

ASP.NET runs the page state from the server during runtime page requests while ASP.NET generates runtime code, and adds the state of the server side components to the hidden fields.

In this way, the server becomes aware of the state of the application as a whole and works in a two-way connection.

ASP.NET Component Model
The ASP.NET component model provides different building blocks of ASP.NET pages. This is basically an object model, which states:

Server-side counterparts of almost all HTML elements or tags, such as <format> and <input>.

Server control, which facilitates the development of complex user interfaces. For example, calendar control or grid view control.

ASP.NET is a technology, which. Works on a .Net framework that includes all web-related functions. The .NET Framework is made up of an object-oriented classification. ASP.NET is made up of web application pages. When a user requests an ASP.NET page, IIS enters the processing of this page into the ASP.NET runtime system.

ASP.NET Runtime transforms the .aspx page into a class instance, inheriting the NET framework's base class page. Therefore, each ASP.NET page is a single object and all its components, namely, server side control, are also objects.

Components of the .NET Framework 3.5
Before moving on to the next session on Visual Studio.com, we Go to different components of Net Framework 3.5. The following table describes the components of the .NET Framework 3.5 and the tasks they perform.

Components and their description
(1) Common language runtime or CLR

It performs memory management, exception handling, debugging, security checking, thread execution, code execution, code safety, authentication and compilation. The code that is managed directly by the CLR is called the Managed Code. When structured code is compiled, the compiled source converts the code into a CPU Independent Intermediate Language (IL) code. Just In Time (JIT) compiles IL code into native code, which is CPU specific.

(2). Net Framework Class Library

It contains a very large library of reusable types. Classes, interfaces, structures, and counting values, collectively called types.

(3) General language details

It includes .NET supported languages ​​and specifications for implementing language integration.

(4) Common type system

It provides guidelines for announcing, using and managing types at runtime, and inter-language communication.

(5) Metadata and assemblies

Metadata is binary information that defines a program, which is stored either in a portable executable file (PE) or in memory. An assembly is a logical unit containing an assembly manifest, typed metadata, IL code, and reset.

No comments

Post Bottom Ad