You are on page 1of 19

INTRODUCTION TO .

NET
Microsoft IT Academy

WHAT IS .NET ?
NET is platform introduced by Microsoft to develop, deploy, host, maintain and execute your application.
In other words it caters to development phase of software development life cycle of an application making developer life more comfortable..

.NET FRAMEWORK
Definition: Is a collection of different components, files, documents that are bundled together.
.NET Framework Architecture consist of various components and each component provide specific functionality.

.NET FRAMEWORK ARCHITECTURE


Consist of 5 components and each provide specific functionality: .Net Compliant Languages Common Language Specification (CLS) Framework Class Library (FCL) Common Language Runtime (CLR) Visual Studio IDE

.NET Framework Architecture


VB C++ C# J# ..

Common Language Specification Visual Studio.IDE ASP.NET Web Forms Web Services Mobile Internet Toolkit ADO.NET and XML

Windows Forms

Framework Class Library


Common Language Runtime

.NET COMPLIANT LANGUAGE


It is the first component of .net architecture. Is imperative feature of .net and is a facility to program in multiple languages, which allows programmers to use their favorite language as it supports 59 languages. Examples: VB .Net, VC#, VJ#, VC++ and many more.

.NET Framework Architecture


VB C++ C# J# ..

Common Language Specification


Visual Studio.IDE

ASP.NET Web Forms Web Services Mobile Internet Toolkit


ADO.NET and XML

Windows Forms

Framework Class Library Common Language Runtime

COMMON LANGUAGE SPECIFICATION


It is the second and important component of .net architecture. CLS defines standard rules for defining .NET Compliant Languages.

Ensure the source code complied by .NET complier interoperate with .NET Framework. CLS include a subset of CTS (Common Type System)

COMMON TYPE SYSTEM(CTS)


CTS defines rules regarding data types. All types are derived from a base class i.e.,

System.Object Ensure type safety, cross language

interoperability, and high performance of code execution.

.NET Framework Architecture


VB C++ C# J# ..

Common Language Specification Visual Studio.IDE ASP.NET Web Forms Web Services Mobile Internet Toolkit ADO.NET and XML

Windows Forms

Framework Class Library


Common Language Runtime

FRAMEWORK CLASS LIBRARY


It is the third component of .net architecture.
FCL is a group/collection of .net framework classes which we can use with console, windows, web applications.

.NET Framework Architecture


VB C++ C# J# ..

Common Language Specification ASP.NET Web Forms Web Services Mobile Internet Toolkit ADO.NET and XML Framework Class Library Common Language Runtime Visual Studio.IDE Windows Forms

COMMON LANGUAGE RUNTIME


It is the fourth component or heart of .net framework architecture. It is known as execution engine of .NET framework. Services of CLR are:

Secure code of execution(checks of code to see if they follow all defined rules). Automatic memory management(GC) Interoperability Exception handling

EXECUTION CYCLE OF CLR


Language specific compiler

MSIL(Microsoft Intermediate Language)


This is a intermediate language used to convert the source code to dotnet supportable code (otherwise called assemblies or Portable Executable(PE) file) during compilation. This PE file is machine independent.

JIT-JUST IN TIME
The best features of the CLR is JIT-compilation. Its name describes how it works: right before calling your method (just in time), the CLR uses the JIT-compiler to produce native code(EXE or DLL) that is designed for specific machine from MSIL.

.NET Framework Architecture


VB C++ C# J# .. Common Language Specification Visual Studio.IDE ASP.NET Web Forms Web Services Mobile Internet Toolkit ADO.NET and XML Framework Class Library Common Language Runtime Windows Forms

Visual Studio IDE


Visual studio IDE (Integrated Development Environment)is used to develop the .NET Applications.

Summary
.NET .NET Framework.
.NET Framework Architecture.
.NET Framework Components. .NET Compliant Languages. CLS FCL CLR Visual Studio IDE

You might also like