Professional Documents
Culture Documents
NET
Micro-Soft took many of the best ideas in the industry,
H/W
Source
Code
Compiler
Target
Platform
H/W
Source
Code
Compiler
Byte
Code
Class file
JVM
Target
Platform
H/W
Source
Code
Compiler
MSIL
Code
PE file
CLR
Target
Platform
Introduction to .NET
The PE (Portable Executable) file is language
independent.
The code of PE file will be same if object of two
different programs language code is same. Even if its
codes are different due to different syntax.
The PE file is not machine code . It is similar to
machine code .
Introduction to .NET
Commonly used four languages by .NET
VB.Net
C#.Net
J#.Net
VC++.Net
Introduction to .NET
.NET develops the application that can be
accessed any time, any where , any device.
.NET is the technology from Micro-Soft, on
.NET
Platform
The .NET Platform offers a complete suite for developing and deploying
applications. This suite consists of
.NET products:
Microsoft has introduced Visual Studio .NET IDE, which is a tool for
developing .NET applications.
NET programming languages: Visual Basic, Visual C#,Visual J# and
Visual C++.
All .NET products use eXtensible Markup Language (XML) for
describing and exchanging data between applications.
.NET services:
Web services: A Web service is an application or business logic that
is accessible through standard Internet protocols such as HTTP and
SOAP.
The .NET Framework:
It is a foundation for developing, designing and deploying
applications.
It exists as a layer between .NET applications and the underlying
operating system.
.NET Framework
The .NET Framework, introduced by Microsoft, aims at
Windows
Forms
Console
Applications
garbage collection.
IL is a low level language that the CLR understands.
compiler. During JIT compilation, code is also checked for type safety.
system that is common across all languages. CTS define how data types
are declared, used, and managed in the code at run time.
While executing the program, CLR:
.NET
source
code
Language
Compiler
CLR
Machine
code
Code
executed
Manages memory
Makes it easy to design
components &
applications whose
objects interact across
languages
Cross-language
integration (especially
cross-language
inheritance)
Compile once, and run on any
CPU & OS that supports the
runtime!
Features of CLR
Features Provided by the CLR:
The Solution Explorer window lists the solution name, the project name, and all
the classes that are used in the project.
The Output window displays messages for the status of various features
provided in the Visual Studio .NET IDE.
The Error List window displays a list of errors along with the source (the file
and the line number) of the error. It helps you identify and locate problems that
are detected automatically as you edit or compile code.
The Class View window displays the classes, methods, and properties
associated with a particular file. They are displayed in a hierarchical tree-view
depicting the containership of these items.
application.