17
ASP.NET The .NET Framework

ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Embed Size (px)

Citation preview

Page 1: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

ASP.NET

The .NET Framework

Page 2: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

The .NET Framework

The .NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the Internet.Chapter 21 presents the concepts and defines the terms that will help you understand how the .NET architecture adds to Windows a new operating system layer called the Common Language Runtime (CLR).

Page 3: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Common Language Runtime (CLR)

The Common Language Runtime (CLR) is an operating system environment that can execute computer code compiled from several different languages.When you install the .NET framework, the CLR gets added on as a new layer of your computer’s operating system.

Page 4: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Call upon the traditional Windows OS to execute system functions, such as opening a file

New features added to Windows by the CLR, such as automatic garbage collection

Win32 OS(The traditional windows operating system)

Managed Code(Compiled from a CLR-compliant programming language)

Common Language Runtime (CLR)

Page 5: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Microsoft Intermediate Language (MSIL)

When you write a .NET computer program in a language such as Visual Basic, C#, or JScript, your code needs to be compiled into an executable format that the CLR can run.The Microsoft Intermediate Language (MSIL) defines the format of the compiled computer code that the Common Language Runtime (CLR) executes.

Page 6: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Just-In-Time Compiler (JITter)

In the .NET framework, the Just-In-Time Compiler (JITter) is the operating system component that creates on demand the MSIL code that executes in the CLR when it runs a program written in a CLR-compliant programming language such as Visual Basic, C#, and JScript.For mission-critical applications in which speed is important, it is possible to pre-compile the code and thereby avoid the delay that can occur when a program first compiles.

Page 7: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Namespaces

A namespace is a logical division intended to prevent name conflicts between elements in a hierarchical organization of objects, interfaces, and functions.

Page 8: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

The .NET Framework Class Library

A class is a logical partitioning of the objects, methods, functions and data that perform a given task within a namespace.The .NET Framework Class Library is comprised of the namespaces that provide access to system functionality and serve as the foundation on which .NET applications, components, and controls are built.The built-in namespaces begin with System or Microsoft.

Page 9: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

ASP.NET Web Forms

A Web Forms Page is an ASP.NET developmental architecture that uses a code-behind programming model to separate the design of an active server page from its code.The ASP.NET page has the filename extension .aspx, while the code-behind page has the filename extension of a CLR-compliant programming language.

Page 10: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

ASP.NET Web Form

Page 11: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Web Services

A Web Service is a type of computer application that receives and responds to XML requests received over HTTP from clients on the Internet.Because HTTP is the most basic protocol on the Internet, the Web Service enables you to write program components that can serve any end-user or computer in the world to which you provide access.

Page 12: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Web Services

Page 13: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

Simple Object Access Protocol (SOAP)

The Simple Object Access Protocol (SOAP) is an XML vocabulary describing function calls and their procedures.SOAP is the most popular wire format for communicating with Web Services.To enable universal communication, Web Services can also communicate using HTTP-GET and HTTP-POST, which are wire format protocols understandable by any computer on the Web.

Page 14: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

ADO.NET

ADO.NET is a new collection of active data objects that improve on the former ADO architecture in several important ways.First, ADO.NET replaces the Recordset with a new structure called the Dataset, which is a cache of records retrieved from the database.Unlike the Recordset, which contains a single table of data, the Dataset can contain multiple, separate tables and maintain the relations among them.

Page 15: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

ADO.NET (continued)

Second, ADO.NET makes more efficient use of database resources by disconnecting from the database after filling the dataset.This enables the database to serve more users as traffic at a Web site increases.

Page 16: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

ADO.NET (continued)

Third, ADO.NET uses XML to communicate with external processes. Because XML is a plain text protocol, database results can pass through firewalls that block non-HTML transmissions.Fourth, because XML enables rich data objects to be communicated in plain text, ADO.NET increases performance by avoiding the time-consuming step of data-type conversion.

Page 17: ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the

ADO.NET