Architecture .NET

Post on 20-Dec-2014

177 views 2 download

description

 

Transcript of Architecture .NET

Architecture .Net

Présenté par:Baccar Amani

Mehwachi Nawel Zribi Hanen

Institut Supérieur des Etudes Technologiques RadèsM1-Master Professionnel en Développement des Applications

Mobiles

Plan 2

Introduction .NET Architecture .Net Langages .Net Common Language Runtime Bibliothèques de base Les outils .Net VS JEE Exemple de projet .Net Conclusion

Plan

Introduction .Net 3

C’est quoi .Net ?

Langage neutre Plateforme logicielle multi-langage Runtime et une bibliothèque Cross-platform

Microsoft stratégie: développement de  client-central vers serveur-

central

Introduction .NET

4

Introduction .NET (1)

5

Cross-platform

Introduction .Net(2)

Architecture .Net 6

Architecture .Net

Visual studio

Architecture .Net 7

Architecture .Net(1)

Différents versions du .Net

Langages .Net 8

Le langage "dédié":◦  C#  proche de java

Les classiques :◦ VB.NET, C++, J#, Eiffel#

Mais aussi :◦ ADA, Python, Fortran, …

En tout une vingtaine de langages supportés

Langages .Net

9

Common Language RuntimeBASE Class Library Support

THREAD SUPPORT

EXCEPTION MANAGER

TYPE CHECKER DEBUG ENGINE

SECURITY ENGINE

COM MARSHALER

CLASS LOADER

CODE MANAGER IL TO NATIVE CODE

GARBAGE COLLECTOR

10

Just In Time

Bibliothèques de base 11

Bibliothèques de base

Les outils 12

CLR– .net framework SDK,runtime

IDE– VisualStudio (payant …)– SharpDevelop (gratuit)– WebMatrix (gratuit)

Les outils

.Net VS J2EE 13

J2EE .Net

Couche de présentation: JSP, JSF,… WinForms ,ASP.Net

Accès aux données EJB ADO.NET

Langages supportés JAVA Plusieurs Langages

Execution Engine • Compilé en Java bytecodes

• Executé avec JVM

• Compilé en MSIL• Executé avec CLR

Les outils de développement

Outils nombreux Visual Studio

.Net VS J2EE

14.Net VS J2EE

.Net VS J2EE(1)Swing Dynamic

HTML Pages

Applets

JSP Pages

Entreprise Beans

JDBC

DynamicHTML Pages

Windows Forms

.NET User

Controls

C#/ASP.NET

COM+Serviced Components

ADO.NET

DBDB

Client Tier

Web Tier

Business Tier

Data Base Tier

JEE Architecture .NET Architecture

Exemple de projet .Net 15

Exemple de projet .Net

Conclusion 16

Environnement d’exécution robuste et sécurisé Intégration de l’existant:

• Multiples langages de programmation• Interopérabilité et compatibilité

Modèle de programmation unifié Niveau d’abstraction Elevé:

◦ classe, interface, héritage, propriété, constructor, exception…

Bibliothèque de classe riche et extensible

Conclusion