1 / 14

Introduction to .NET

Explore the .NET Framework and its applications in web-based, Windows-based, and mobile development. Learn about the Common Language Runtime, CLR-provided services, and the compilation process in different .NET languages.

deloisb
Download Presentation

Introduction to .NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to .NET Khalil Saleem khalilsaleem@outlook.com

  2. What is .NET? • . NET is a framework for developing applications (web-based , windows-based, Mobile and etc.) • .NET is not a language (Runtime and a library for writing and executing written programs in any compliant language).

  3. .NET Application C++ .NET Framework .NET – What Is It? Operating System + Hardware Operating System + Hardware

  4. .NET Framework C# VB.NET C++.NET Other Visual Studio .NET Common Language Specification Framework Class Library ASP.NET Windows Forms Web Services Web Forms Controls Drawing ASP.NET Application Services Windows Application Services ADO.NET XML Threading IO Network Security Diagnostics Etc. Common Language Runtime Common Type System Lifecycle Monitoring Memory Management Operating System

  5. The .NET Framework • Windows Forms • WPF • ASP.NET • Windows Phone • Windows Store • Games • Robots • Watches, etc.

  6. Common Language Runtime (CLR) • CLR provided by .NET manages the execution of code and provides useful services • All .NET languages must obey the rules and standards imposed by CLR. Examples: • Object declaration, creation and use • Data types, language libraries • Error and exception handling • Memory management • Like Java VM

  7. Compilation in .NET Code in VB.NET Code in C# Code in another .NET Language VB.NET compiler C# compiler Appropriate Compiler IL(Intermediate Language) code CLR just-in-time execution

  8. Intermediate Language (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.

  9. Some .NET Languages • C# • COBOL • Eiffel • Python • Perl • Smalltalk • VB.NET • VC++.NET • F#

  10. History

  11. History

  12. بالتوفيق

More Related