Presentation is loading. Please wait.

Presentation is loading. Please wait.

What is.Net Gary Devendorf. .Net Framework.Net framework works like the Domino Objects only much lower level and very complete It is part of the OS (or.

Similar presentations


Presentation on theme: "What is.Net Gary Devendorf. .Net Framework.Net framework works like the Domino Objects only much lower level and very complete It is part of the OS (or."— Presentation transcript:

1 What is.Net Gary Devendorf

2 .Net Framework.Net framework works like the Domino Objects only much lower level and very complete It is part of the OS (or can be added) Replaces win32 API calls - mostly Decoupled from OS Supports many programming languages with the CLR (Common Language Runtime)

3 .NET Framework Design Goals Unifies programming models Dramatically simplifies development Provides robust execution environment Supports multiple programming languages Natively supports XML Web Services

4 Robust Environment Automatic lifetime management All objects are garbage collected Exception handling Error handling 1 st class and mandatory Type-safety No buffer overruns, No unsafe casts, uninitialized variables Deployment and management Assemblies, side-by-side execution No more DLL hell!

5 Terminology "ABC" CLR: Common Language Runtime One runtime for many programming languages Intermediate Language (IL) One intermediate, high-level assembly-style language that is emitted by language compilers Assembly Container for code, metadata and resources – your new term for what you used to call "D-L-L" Metadata Information that describes the shape of data and the runtime behavior of a program

6 Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms Web Services Mobile Internet Toolkit WindowsForms Common Language Specification VBC++C#JScript… Visual Studio.NET Framework, Languages, And Tools

7 Multi-Language Platform The.NET Platform is language neutral All.NET languages are first class players Complete cross-language integration Highly leveraged tools Microsoft is providing Visual Basic ®, C++, C#, Java, JScript ® Industry and academia APL, COBOL, Eiffel, Fortran, Haskell, ML, Perl, Python, RPG, Scheme, Smalltalk, …

8 Common Language Runtime (CLR) Execution Environment for "managed code" Managed? Code resides on disk as IL Must be translated into machine code Code references other code Other code residing in other Assemblies must be found Memory must be managed Server applications must be 100% leak free.NET employs a Garbage Collector to do that job Execution must be as secure as possible

9 Assembly CLR Execution Model: Conceptual Source Code Language Compiler Compilation Before installation or the first time each method is called Execution JIT Compiler NativeCode Code (IL) Metadata

10 Global Assembly Cache (GAC) Used as a centralized repository to store all shared assemblies Used to store the code downloaded from the Internet Repository for prejitted code gacutil /i BookFlight.dll

11 Side by Side Execution Application BookFlight V Application BookFlight V Application BookFlight V GACPrivate Policy Travel Portal (.asmx) Reference: BookFlight, v

12 IBookflight IDispatchIUnknown COM Callable Wrapper COM Interoperability BookFlight IBookFlight Common Language Runtime ISeatRes SeatRes Runtime Callable Wrapper Legacy Client

13 Summary Unifies programming models Dramatically simplifies development Provides robust execution environment Supports multiple programming languages Natively supports XML Web Services

14 Read More at


Download ppt "What is.Net Gary Devendorf. .Net Framework.Net framework works like the Domino Objects only much lower level and very complete It is part of the OS (or."

Similar presentations


Ads by Google