Professional Documents
Culture Documents
(Session-1) ASPDOTNET Introduction
(Session-1) ASPDOTNET Introduction
NET
What is .NET ?
The .NET Framework is an integral Windows component that supports building and
running the next generation of .NET Applications and XML Web Services.
In other words we can say that it is platform on which we are going to make and
manage the .NET Application and .NET Services.
.NET Framework
.NET Framework Responsibilities
It is a collection of reusable types that tightly integrate with the common language runtime. The class
library is object oriented, providing types from which your own managed code can derive functionality.
This not only makes the .NET Framework types easy to use, but also reduces the time associated
with learning new features of the .NET Framework. In addition, third-party components can integrate
seamlessly with classes in the .NET Framework.
It also enable you to accomplish a range of common programming tasks, including tasks such as string
management, data collection, database connectivity, and file access. In addition to these common
tasks, the class library includes types that support a variety of specialized development scenarios. For
example, you can use the .NET Framework to develop the following types of applications and
services:
Console applications.
Windows GUI applications (Windows Forms).
ASP.NET applications.
XML Web services.
Windows services.
Common Language At Runtime
It defines how data types are declared, used, and managed in the runtime, and is
also an important part of the CLR 's support for cross-language integration.
It also defines rules that languages must follow, which helps ensure that objects
written in different languages can interact with each other.
Common Language Specification (CLS)
Source Code
Compiler
.Exe/.Dll
(MSIL)
Class Loader
JIT Compiler
Managed Native
Code
Execution
Just-In-Time Compiler
Before we can run Microsoft intermediate language (MSIL), it must be converted by a .NET
Framework just-in-time (JIT) compiler to native code, which is CPU-specific code that runs on the
same computer architecture as the JIT compiler. Because the common language runtime
supplies a JIT compiler for each supported CPU architecture, developers can write a set of MSIL
that can be JIT-compiled and run on computers with different architectures.
Type of JIT Compliers
Pre JIT
Compiles complete source (MSIL) code to Native code in a single Compilation.
Econo JIT
Compiles only MSIL code of those methods that are called at Runtime .
Normal JIT
This compiler compiles only MSIL code of those methods that are called at Runtime and that
converted (native) code is stored in Cache.
Assembly