SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Introduction to dotnet
Framework
Ms. Sudhriti Sengupta
And
Dr. Lavanya Sharma
?
What is the .NET Framework
A programming infrastructure created by
Microsoft for building, deploying, and running
applications and services that use .NET
technologies, such as desktop applications and
Web services
• .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) . It is a Framework that supports Multiple
Language and Cross languageintegration.
• .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 is a new and
revolutionary platform created by Microsoft
for developing applications
• It has IDE (Integrated Development
Environment).
• Framework is a set of utilities or can say
building blocks of your application system. The
.NET Framework consists primarily of a
gigantic library of code known as Framework
base class.
Cross Language integration
• You can use a utility of a language in another
language (It uses Class Language Integration).
• 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 includes no restriction on the
type of applications that are possible. The .NET
Framework allows the creation of Windows
applications, Web applications, Web services, and
lot more.
Web Application
All websites are example of web application.
They use a web server.
Internet Enabled Application
They are desktop application. Yahoo messenger
is an example of desktop application.
Peer to Peer
Communication through computers through
some system.
Web Services
It doesn't use web-based server. Internet
payment systems are example of web services.
Architecture of .NET Framework
Architecture of CLR
Code Manager
Code manager invokes class loader for
execution.
.NET supports two kind of coding
• Managed Code
• Unmanaged Code
Managed Code
• The resource, which is with in your application domain
is, managed code. The resources that are within
domain are faster.
• The code, which is developed in .NET framework, is
known as managed code. This code is directly executed
by CLR with help of managed code execution. Any
language that is written in .NET Framework is managed
code.
• Managed code uses CLR which in turns looks after your
applications by managing memory, handling security,
allowing cross - language debugging, and so on.
Unmanaged Code
• The code, which is developed outside .NET, Framework
is known as unmanaged code.
• Applications that do not run under the control of the
CLR are said to be unmanaged, and certain languages
such as C++ can be used to write such applications,
which, for example, access low - level functions of the
operating system. Background compatibility with code
of VB, ASP and COM are examples of unmanaged code.
• Unmanaged code can be unmanaged source code and
unmanaged compile code.
• Unmanaged code is executed with help of wrapper
classes.
Common Language Runtime (CLR)
• Common Language Runtime (CLR) is a
managed execution environment that is part
of Microsoft’s .NET framework. CLR manages
the execution of programs written in different
supported languages.
• CLR transforms source code into a form of
bytecode known as Common Intermediate
Language (CIL). At run time, CLR handles the
execution of the CIL code.
CLR
• Developers write code in a supported .NET
language, such as C# or VB.Net. The .NET
compiler then converts it into CIL code. During
run time, the CLR converts the CIL code into
something that can be understood by the
operating system. Alternately, the CIL code
can be transformed into native code by using
the native image generator (NGEN).
CLR
• The language compilers store metadata that
describes the members, types and references
in the compiled code. The CLR uses the
metadata to lay out instances in memory,
locate and load classes, enforce security, set
runtime context boundaries, and generate
native code.
CLR
• CLR allows for the easy use of different
supported languages to achieve a common
goal. This makes it flexible for developers to
choose their own programming language,
provided it is supported by the .NET
framework. With CLR, .NET can manage the
execution of all supported languages by
transforming them to bytecode and then into
the native code for the chosen platform.
CTS
• The Common Type System (CTS) is a standard for defining and using
data types in the .NETframework. CTS defines a collection of data
types, which are used and managed by the run time to facilitate
cross-language integration.
• CTS provides the types in the .NET Framework with which .NET
applications, components and controls are built in different
programming languages so information is shared easily. In contrast
to low-level languages like C and C++ where classes/structs have to
be used for defining types often used (like date or time), CTS
provides a rich hierarchy of such types without the need for any
inclusion of header files or libraries in the code.
CTS is a specification created by Microsoft and included in the
European Computer Manufacturer‘s Association standard. It also
forms the standard for implementing the .NET framework.
Integrated Development Environment
(IDE) for C#
Microsoft provides the following development tools for C#
programming −
• Visual Studio 2010 (VS)
• Visual C# 2010 Express (VCE)
• Visual Web Developer
The last two are freely available from Microsoft official
website. Using these tools, you can write all kinds of C#
programs from simple command-line applications to more
complex applications. You can also write C# source code files
using a basic text editor, like Notepad, and compile the code
into assemblies using the command-line compiler, which is
again a part of the .NET Framework.

Weitere ähnliche Inhalte

Was ist angesagt?

Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
Ashish Verma
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
Nitu Pandey
 
.Net overview
.Net overview.Net overview
.Net overview
madydud
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overview
Faisal Aziz
 

Was ist angesagt? (19)

Introduction to .NET Programming
Introduction to .NET ProgrammingIntroduction to .NET Programming
Introduction to .NET Programming
 
Microsoft .Net Technology
Microsoft .Net TechnologyMicrosoft .Net Technology
Microsoft .Net Technology
 
6.origins genesis of .net technology
6.origins genesis of .net technology6.origins genesis of .net technology
6.origins genesis of .net technology
 
.net CLR
.net CLR.net CLR
.net CLR
 
Evolution of .net frame work
Evolution of .net frame workEvolution of .net frame work
Evolution of .net frame work
 
Net framework
Net frameworkNet framework
Net framework
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
.Net framework
.Net framework.Net framework
.Net framework
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
 
Net framework
Net frameworkNet framework
Net framework
 
Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version History
 
dot net technology
dot net technologydot net technology
dot net technology
 
.Net overview
.Net overview.Net overview
.Net overview
 
.NET Framework
.NET Framework.NET Framework
.NET Framework
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
 
Introduction to VB.net
Introduction to VB.netIntroduction to VB.net
Introduction to VB.net
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overview
 

Ähnlich wie Dotnet1

Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
Faisal Aziz
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
Instantenigma
 

Ähnlich wie Dotnet1 (20)

election survey comapny in delhi|election survey company|election survey comp...
election survey comapny in delhi|election survey company|election survey comp...election survey comapny in delhi|election survey company|election survey comp...
election survey comapny in delhi|election survey company|election survey comp...
 
1.0
1.01.0
1.0
 
.Net slid
.Net slid.Net slid
.Net slid
 
Dot net
Dot netDot net
Dot net
 
Introduction of .net framework
Introduction of .net frameworkIntroduction of .net framework
Introduction of .net framework
 
Chapter1_Part1.pptx
Chapter1_Part1.pptxChapter1_Part1.pptx
Chapter1_Part1.pptx
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
1 what is microsoft .net framework
1 what is microsoft .net framework1 what is microsoft .net framework
1 what is microsoft .net framework
 
1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)
 
Web technology slideshare
Web technology slideshareWeb technology slideshare
Web technology slideshare
 
.Net Framwork Architecture And components
.Net Framwork Architecture And components.Net Framwork Architecture And components
.Net Framwork Architecture And components
 
c#.pptx
c#.pptxc#.pptx
c#.pptx
 
DotNet Framework
DotNet FrameworkDotNet Framework
DotNet Framework
 
C# chap 2
C# chap 2C# chap 2
C# chap 2
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
ASP.Net Technologies Part-1
ASP.Net Technologies Part-1ASP.Net Technologies Part-1
ASP.Net Technologies Part-1
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
Inside.Net
Inside.NetInside.Net
Inside.Net
 
Dot Net PPt.pptx
Dot Net PPt.pptxDot Net PPt.pptx
Dot Net PPt.pptx
 

Kürzlich hochgeladen

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Kürzlich hochgeladen (20)

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 

Dotnet1

  • 1. Introduction to dotnet Framework Ms. Sudhriti Sengupta And Dr. Lavanya Sharma
  • 2. ? What is the .NET Framework A programming infrastructure created by Microsoft for building, deploying, and running applications and services that use .NET technologies, such as desktop applications and Web services
  • 3. • .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) . It is a Framework that supports Multiple Language and Cross languageintegration. • .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.
  • 4. • The .NET Framework is a new and revolutionary platform created by Microsoft for developing applications • It has IDE (Integrated Development Environment). • Framework is a set of utilities or can say building blocks of your application system. The .NET Framework consists primarily of a gigantic library of code known as Framework base class.
  • 5. Cross Language integration • You can use a utility of a language in another language (It uses Class Language Integration). • 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 includes no restriction on the type of applications that are possible. The .NET Framework allows the creation of Windows applications, Web applications, Web services, and lot more.
  • 6. Web Application All websites are example of web application. They use a web server.
  • 7. Internet Enabled Application They are desktop application. Yahoo messenger is an example of desktop application.
  • 8. Peer to Peer Communication through computers through some system.
  • 9. Web Services It doesn't use web-based server. Internet payment systems are example of web services.
  • 10. Architecture of .NET Framework
  • 12. Code Manager Code manager invokes class loader for execution. .NET supports two kind of coding • Managed Code • Unmanaged Code
  • 13. Managed Code • The resource, which is with in your application domain is, managed code. The resources that are within domain are faster. • The code, which is developed in .NET framework, is known as managed code. This code is directly executed by CLR with help of managed code execution. Any language that is written in .NET Framework is managed code. • Managed code uses CLR which in turns looks after your applications by managing memory, handling security, allowing cross - language debugging, and so on.
  • 14.
  • 15. Unmanaged Code • The code, which is developed outside .NET, Framework is known as unmanaged code. • Applications that do not run under the control of the CLR are said to be unmanaged, and certain languages such as C++ can be used to write such applications, which, for example, access low - level functions of the operating system. Background compatibility with code of VB, ASP and COM are examples of unmanaged code. • Unmanaged code can be unmanaged source code and unmanaged compile code. • Unmanaged code is executed with help of wrapper classes.
  • 16. Common Language Runtime (CLR) • Common Language Runtime (CLR) is a managed execution environment that is part of Microsoft’s .NET framework. CLR manages the execution of programs written in different supported languages. • CLR transforms source code into a form of bytecode known as Common Intermediate Language (CIL). At run time, CLR handles the execution of the CIL code.
  • 17. CLR • Developers write code in a supported .NET language, such as C# or VB.Net. The .NET compiler then converts it into CIL code. During run time, the CLR converts the CIL code into something that can be understood by the operating system. Alternately, the CIL code can be transformed into native code by using the native image generator (NGEN).
  • 18. CLR • The language compilers store metadata that describes the members, types and references in the compiled code. The CLR uses the metadata to lay out instances in memory, locate and load classes, enforce security, set runtime context boundaries, and generate native code.
  • 19. CLR • CLR allows for the easy use of different supported languages to achieve a common goal. This makes it flexible for developers to choose their own programming language, provided it is supported by the .NET framework. With CLR, .NET can manage the execution of all supported languages by transforming them to bytecode and then into the native code for the chosen platform.
  • 20.
  • 21. CTS • The Common Type System (CTS) is a standard for defining and using data types in the .NETframework. CTS defines a collection of data types, which are used and managed by the run time to facilitate cross-language integration. • CTS provides the types in the .NET Framework with which .NET applications, components and controls are built in different programming languages so information is shared easily. In contrast to low-level languages like C and C++ where classes/structs have to be used for defining types often used (like date or time), CTS provides a rich hierarchy of such types without the need for any inclusion of header files or libraries in the code. CTS is a specification created by Microsoft and included in the European Computer Manufacturer‘s Association standard. It also forms the standard for implementing the .NET framework.
  • 22. Integrated Development Environment (IDE) for C# Microsoft provides the following development tools for C# programming − • Visual Studio 2010 (VS) • Visual C# 2010 Express (VCE) • Visual Web Developer The last two are freely available from Microsoft official website. Using these tools, you can write all kinds of C# programs from simple command-line applications to more complex applications. You can also write C# source code files using a basic text editor, like Notepad, and compile the code into assemblies using the command-line compiler, which is again a part of the .NET Framework.