net framework
TRANSCRIPT
INTRODUCTION TO .NET FRAMEWORKINTRODUCTION TO .NET FRAMEWORK
RAJESH GUNUKULA
BYBY
What is Microsoft .NET?
• .NET represents an advanced new generation of software that will drive the Next Generation Internet. Its purpose is to make information available any time, any place, and on any device.
• Quick Definition– .NET is an initiative to integrate all Microsoft
products with the “Next Generation” web.
.NET Enterprise Vision
ERP & BillingCustomerService
Sales
UsersAny device,Any place,Any time
XML Web ServicesIntegrate business applications and processes
Back OfficeHeterogeneous application and server infrastructure
SchedulingAuthentication
Notification
.NET Framework.NET Framework• Programming model for .NET• Platform for running .NET managed
code in a virtual machine• Provides a very good environment to
develop networked applications and Web Services
• Provides programming API and unified language-independent development framework
• Programming model for .NET• Platform for running .NET managed
code in a virtual machine• Provides a very good environment to
develop networked applications and Web Services
• Provides programming API and unified language-independent development framework
.NET Framework.NET Framework Common Language RuntimeCommon Language Runtime
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
• CLR manages code execution at runtime– Memory management, thread
management, etc.
.NET Framework.NET Framework Base Class LibraryBase Class Library
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
– Object-oriented collection of reusable types
– Collections, I/O, Strings, …
.NET FrameworkNET Framework Data Access LayerData Access Layer
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
– Access relational databases– Disconnected data model– Work with XML
.NET Framework.NET Framework ASP.NET & Windows FormsASP.NET & Windows Forms
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services
Mobile Internet ToolkitMobile Internet Toolkit
WindowsWindowsFormsForms
– Create application’s front-end – Web-based user interface, Windows GUI, Web services, …
.NET Framework.NET Framework Programming LanguagesProgramming Languages
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services
Mobile Internet ToolkitMobile Internet Toolkit
WindowsWindowsFormsForms
C++C++ C#C# VB.NETVB.NET PerlPerl J#J# ……
– Use your favorite language
.NET Framework Common Language Specification
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services
Mobile Internet ToolkitMobile Internet Toolkit
WindowsWindowsFormsForms
Common Language SpecificationCommon Language SpecificationC++C++ C#C# VBVB PerlPerl J#J# ……
.NET FrameworkNET Framework Visual Studio .NETVisual Studio .NET
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services
Mobile Internet ToolkitMobile Internet Toolkit
WindowsWindowsFormsForms
Common Language SpecificationCommon Language Specification
C++C++ C#C# VBVB PerlPerl J#J# ……
Visu
al S
tud
io .N
ET
Visu
al S
tud
io .N
ET
Common Language RuntimeCommon Language Runtime
Just In Time (JIT) COMPILERJust In Time (JIT) COMPILER
Exception ManagerException Manager Thread ManagerThread Manager
Security ManagerSecurity Manager
Garbage CollectorGarbage Collector
Class Class loaderloader Code ManagerCode Manager
Compilation in .NET
Code in VB.NET Code in C#Code in another .NET Language
VB.NET compiler C# compilerAppropriate
Compiler
IL(IntermediateLanguage) code
CLR just-in-timeexecution
Intermediate Language Intermediate Language (IL)(IL)
• .NET languages are not compiled to machine code. They are compiled to an Intermediate Language (IL).
• CLR accepts the IL code and recompiles it to machine code. The recompilation is just-in-time (JIT) meaning it is done as soon as a function or subroutine is called.
• The JIT code stays in memory for subsequent calls. In cases where there is not enough memory it is discarded thus making JIT process interpretive.
LanguagesLanguages
• Languages provided by MS– VB, C++, C#, J#, JScript
• Third-parties are building– APL, COBOL, Pascal, Eiffel, Haskell, ML,
Oberon, Perl, Python, Scheme, Smalltalk…
SummarySummary
• The .NET Framework– Dramatically simplifies development and deployment– Provides robust and secure execution environment– Supports multiple programming languages
Q & AQ & A
THANK YOUTHANK YOU