5. Microsoft spent many years since 1996 in building .NET Framework and then
.NET Framework evolved
It was July 2000 when Bill Gates appeared in a PDC (Professional Developers
Conference) Orlando Florida, where he revealed the detalis of Microsoft’s new
platform called NGWS (Next GenerationWindows Service) later known as .NET
2002!
Little history of .NET
6. Operating System
The OS manages the resources, the processes and the
users of the machine
Provides to the applications some services (threads,
I/O, GDI+, DirectX, COM, COM+, MSMQ, IIS,WMI, …)
.NET Framework 4.5
7. Operating System
Common Language Runtime
CLR manages the execution of
the.NET code
Manages the memory, concurrency,
security, ...
.NET Framework 4.5
8. Operating System
Common Language Runtime
Base Class
Library
.NET Framework 4.5
Rich object-oriented
library with
fundamental classes
Input-output,
collections, text
processing,
networking, security,
multi-threading, …
10. Operating System
Common Language Runtime
Base Class
Library
Dynamic
Language
Runtime
Protable
Class
Library
.NET Framework 4.5
Develop and build assemblies that work on multiple
.NET Framework platform:
SilverLight
Windows
Phone
Windows
Store
Xbox 360
11. Operating System
Common Language Runtime
Base Class
Library
Dynamic
Language
Runtime
Protable
Class
Library
WinRT
.NET Framework 4.5
12. Operating System
Common Language Runtime
Base Class
Library
Dynamic
Language
Runtime
Managed
Extensibility
Framework
Protable
Class
Library
WinRT
.NET Framework 4.5
Library for creating lightweight, extensible
applications
It allows to discover and use extensions with no
configuration required
13. Operating System
Common Language Runtime
Base Class
Library
Languages
(C#,VB.NET,
etc.)
Dynamic
Language
Runtime
Managed
Extensibility
Framework
Protable
Class
Library
WinRT
Windows
Store Apps
WPF LINQ
Paraller
Extension
SignalR WF
ASP.Net
Windows
DesktopApps
Ado.Net
Ado.Net Entity
Framework
WCF
ASP.NET
Web API
Silver
Light
.NET Framework 4.5
14. Visual Studio 2013
Operating System
Common Language Runtime
Base Class
Library
Languages
(C#,VB.NET,
etc.)
Dynamic
Language
Runtime
Managed
Extensibility
Framework
Protable
Class
Library
WinRT
Windows
Store Apps
WPF LINQ
Paraller
Extension
SignalR WF
ASP.Net
Windows
Desktop Apps
Ado.Net
Ado.Net Entity
Framework
WCF
ASP.NET
Web API
Silver
Light
.NET Framework 4.5
System operacyjny przechowuje procesy, zapamiętuje użytkowników na danej maszynie
I/O: Zarządza urządzeniami wejścia/wyjścia
GDI+: Przedstawienie obiektów graficznych i przesłanie ich do urządzeń wyjściowych, takich jak monitory, drukarki
DirectX – Generowanie grafiki dwu- i trzy-wymairowej
COM – Common Object Model – standard generowania i tworzenia interfejsów programistycznych na poziomie binarnym dla komponentów oprogramowania
COM+ - architektura programowania obiektowego mająca przede wszstkim ułatwic oraz przyspieszyć działanie nowych aplikacji komponentowych, a dodatkowo zwiększyć elastyczność i bezpieczeństwo zarządzania i działania aplikacji
MSMQ – kolejkowanie wiadomości (przetwarzanie z opóźnieniem, aby nic nie znikneło)
IIS – usługi internetowe (serwer http, https, ftp)
WMI – Windows Managment Instrumentation – zestaw protokołów i rozszerzeń systemu Windows umożliwiający zarządzanie dostępem do zasobów komputera, takich jak adaptery sieciowe, aktualnie otwarte programy, lista procesów, odczyty z wbudowanych czujników temperatury, odczytów woltomierzy, itp.
środowisko uruchomieniowe dla platformy .NET, przewidziane do pracy na wielu systemach operacyjnych i maszynach, jak Microsoft Windows, Unix czy Macintosh. Jest to maszyna wirtualna, która wykonuje kod wyrażony w Common Intermediate Language(CIL). Specyfikacja Wspólnego Języka (z ang. Common Language Specification, w skrócie CLS) określa podzbiór CLR, który kompilatory powinny obsługiwać, aby być kompatybilnymi z językami .NET.
Wspólne środowisko uruchomieniowe (Common Language Runtime, w skrócie CLR) to podstawa całego systemu .NET Framework. Wszystkie języki środowiska .NET (na przykład C# czy Visual Basic .NET), a także wszystkie biblioteki klas obecne w .NET Framework (ASP.NET, ADO.NET i inne) oparte są na CLR. Ponieważ nowe, tworzone przez Microsoft oprogramowanie, także oparte jest na .NET Framework, każdy, kto chce korzystać ze środowiska Microsoft, prędzej czy później będzie musiał zetknąć się z CLR.
Środowisko CLR kompiluje i wykonuje zapisany w standardowym języku pośrednim Microsoft (MSIL) kod aplikacji zwany kodem zarządzanym (ang. managed code), zapewniając wszystkie podstawowe funkcje konieczne do działania aplikacji. Podstawowym elementem CLR jest standardowy zestaw typów danych, wykorzystywanych przez wszystkie języki oparte na CLR, a także standardowy format metadanych, służących do opisu oprogramowania wykorzystującego te typy danych. CLR zapewnia także mechanizmy umożliwiające pakowanie kodu zarządzanego w jednostki zwane podzespołami.
W CLR wbudowane są także mechanizmy kontroli bezpieczeństwa wykonywania aplikacji — bezpieczeństwo oparte na uprawnieniach kodu (Code Access Security — CAS) oraz bezpieczeństwo oparte na rolach (Role-Based Security — RBS).
Windows Runtime
Commn Language Runtime -> This acts as execution engine for .NET Framework. All .NET programs executes under the supervion of CLR.
Base Class Library -> This is a library of functionalitoes which are available to all languagees using .NET Framework. It consists of classes, interfaces of reusable types that integrates with CLR
Portable Class Library -> The Portable Class Library in VS2012 allows you to develop and build managed asssemblies that work on multiple .NET Framework platforms. Using a Portable Class Library project, you choose the platforms (such as Windows Phone and .NET for Windows Store apps) to target
WinRT –> WinRT or Windows Runtime APIs provides the user interface elements for building Windows Store apps, and provides access to Windows 8 or Windows RT OS features. WinRT supports development in C and other managed languages C# and VB.NET, as well as JavaScript and TypeScript
Commn Language Runtime -> This acts as execution engine for .NET Framework. All .NET programs executes under the supervion of CLR.
Base Class Library -> This is a library of functionalitoes which are available to all languagees using .NET Framework. It consists of classes, interfaces of reusable types that integrates with CLR
Portable Class Library -> The Portable Class Library in VS2012 allows you to develop and build managed asssemblies that work on multiple .NET Framework platforms. Using a Portable Class Library project, you choose the platforms (such as Windows Phone and .NET for Windows Store apps) to target
WinRT –> WinRT or Windows Runtime APIs provides the user interface elements for building Windows Store apps, and provides access to Windows 8 or Windows RT OS features. WinRT supports development in C and other managed languages C# and VB.NET, as well as JavaScript and TypeScript