0% found this document useful (0 votes)
0 views

dot net framework

.NET Framework is a software platform introduced by Microsoft in 2002 for developing applications across multiple operating systems. It supports various programming languages and provides a managed code environment with features like interoperability, security, and a comprehensive class library. The Common Language Runtime (CLR) manages application execution and offers services such as garbage collection and memory management.

Uploaded by

24250155nikesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

dot net framework

.NET Framework is a software platform introduced by Microsoft in 2002 for developing applications across multiple operating systems. It supports various programming languages and provides a managed code environment with features like interoperability, security, and a comprehensive class library. The Common Language Runtime (CLR) manages application execution and offers services such as garbage collection and memory management.

Uploaded by

24250155nikesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

.

NET Framework
• C# programming language and the .NET platform
were introduced by Microsoft in 2002 and have
quickly become a need of modern day software
development.

• Initial look at the .NET Platform


• “.NET framework is a software platform designed
to build systems on Windows, Mac OS, and
Linux/Unix distributions.”

• “.NET framework is the managed code and


platform independent programing model. It
provides a highly productive environment for
software developers and offers excellent skills
reuse across multiple application architectures.”
.NET Framework
• The .NET Framework is a new and revolutionary platform created by
Microsoft for developing applications.

• It is a platform for application developers.

• It is a Framework that supports Multiple Language and Cross language


integration.

• IT has IDE (Integrated Development Environment).



• Framework is a set of utilities or can say building blocks of your
application system.

• .NET Framework provides GUI in a GUI manner.

• .NET is a platform independent but with help of Mono Compilation


System (MCS). MCS is a middle level interface.
• NET Framework provides interoperability
between languages i.e. Common Type System
(CTS) .

• .NET Framework also includes the .NET Common


Language Runtime (CLR), which is responsible for
maintaining the execution of all applications
developed using the .NET library.

• The .NET Framework allows the creation of


Windows applications, Web applications, Web
services, and lot more.
• The .NET Framework has been designed so that it
can be used from any language, including C#,
C++,Visual Basic, JScript, and even older
languages such as COBOL.

• .Net Framework provides operating systems with


a Global Assembly Cache (GAC).
• .NET framework was designed to address the problems and
limitations faced in old programming techniques. Some of
the key benefits of the .NET framework are mentioned
below –

• Multiple Platforms
• Security
• Interoperability with existing code
• Platform Invoke
• Interoperability with COM
• Support for numerous languages
• Communication using Industry Standards
• Object Oriented Development Environment
• Simplified Development
• Breifly
• Architecture of .NET Framework
• Architecture of CLR
• .NET Framework in our system, there are two important
components, which are installed and are given below.
• Framework Class Library.
• CLR (Common language runtime).

• From a programmer’s point of view, .NET can be


understood as a runtime environment and a
comprehensive base class library. The runtime
environment is known as Common Language Runtime
(CLR).

CLR also performs the following services,


• Garbage collection
• Memory management
• Managing exceptions
• Security and authentications
• Advantages of CLR
• Performance improves
• Garbage collection.
• The ability to easily use the components
developed in other languages.
• Extensible types provided by the class library.

• The main objective of the CLR is to convert the


compiled code (MSIL) i.e. (dll or .exe) based on
the Application into the native code/machine
code.
• The Common Type System (CTS)
• The Common Language Specification(CLS)
• .NET Framework Class Library(FCL)

• MSIL (Microsoft Intermediate Language)

• - JIT (Just-in-Time)
• JIT are of three types:
• Pre JIT
• Econo JIT
• Normal JIT
• Assemblies
• When you compile an application, the MSIL code
created is stored in an assembly. Assemblies
include both executable application files that you
can run directly from Windows without the need
for any other programs (these have a .exe file
extension), and libraries (which have a .dll
extension) for use by other applications.
• Garbage Collection (GC)
• Native Code
• the processing in terms of C# code which is written
using .NET Framework.

• Step 1- Application code is written using a .NET -


compatible language C#.

Step 2 - Code is compiled into MSIL, which is stored in


an assembly (see Figure 1 - 2).
• Step 3 - When this code is executed (either in its
own right if it is an executable or when it is used
from other code), it must first be compiled into
native code using a JIT compiler.

Step 4 - The native code is executed in the context


of the managed CLR, along with any other running
applications or processes.
• Code Manager
• Code manager invokes class loader for execution.

• .NET supports two kind of coding

• 1) Managed Code
• 2) Unmanaged Code
• Managed Code
• Unmanaged Code
COM callable wrapper unmanaged code
• Runtime Callable Wrapper unmanaged code
THANK YOU

You might also like