SlideShare una empresa de Scribd logo
1 de 75
ASP.NET To2Point « Tour d’horizon .NET » © 2001 Microsoft Corporation. All rights reserved.
Plan de la matinée ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction ,[object Object],[object Object]
Une histoire riche… 1990 GUI 1981 PC 1995 Internet MS-DOS BASIC Windows Visual BASIC IE, IIS Visual Studio
Une nouvelle ère Windows MS-DOS 1981 PC BASIC Visual BASIC XML Web Services 2000 Visual Studio .NET 1990 GUI 1995 Internet IE, IIS Visual Studio
Visual Studio.NET, .NET Framework .NET Services Expérience Utilisateur .NET Devices,  .NET Enterprise  Servers
.NET Clients Nouvelle génération de périphériques ,[object Object],[object Object],[object Object]
.NET c’est quoi ? Composants Sécurité Flux XML Simplicité et puissant Protocoles Standard Services Web Clients Riches Pages Web Mobilité XML Modèle Relationnel Toutes  les bases
Objectifs du .NET Framework ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Le cœur du Framework CLI CLR Framework Class Library Données et XML XML Web services Windows Forms Web Forms Common Language Specification VB C++ C# … J# Visual Studio .NET Soumis à  l’ ECMA Soumis à  l’ECMA Spécification ouvertes Accès aux  données basé XML Basé XML,  SOAP, GXA
The big picture Application .NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],GC Memory DLL Managed Code :  Assembly CLR Unmanaged Code Win32 COM COM+ 1.0 Process WIN32 Managed Memory
CLR : Vue d’ensemble  Class Loader Base Class Library Support IL to Native Compilers Code Manager Garbage Collector Security Engine Debug Engine Type Checker Exception Manager Thread Support COM Marshaler
.NET Framework System  System.Data (ADO .NET) System.XML System.Web (ASP .NET) Diagnostics Configuration Collections Net IO Threading Text Security Common OLEDB SQLTypes SQLClient XPath XSL Runtime InteropServices Remoting Serialization Serialization Configuration SessionState Caching Security Services UI HTMLControls WebControls System.Drawing Imaging Drawing2D Text Printing System.Windows.Forms Design ComponentModel Schema Reflection Resources Globalization ServiceProcess Description Discovery Protocols
Un peu de code ,[object Object]
Assembly (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ba BA du code .NET ,[object Object],[object Object],[object Object],[object Object],Utilisation de l’assembly Build des assemblies
baBA Linux ,[object Object],[object Object],[object Object],[object Object]
Unification
Unification du développement Héritage, Contrôle, performance Windows API MFC/ATL ASP Stateless, mélange de code/HTML VB Forms RAD, Composition, Délégation .NET Framework RAD, Héritage, contrôle et performance,  WebDynamic et WebServices
Unification des syntaxes   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Common Language Specification VB C++ C# J# …
Unification des syntaxes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Common Type System Unification des types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
C# Primitive Types Valeur ,[object Object],[object Object],[object Object],Référence
Boxing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Quiz ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Quiz ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Unification des concepts Objets Héritage inter langages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Unification de l’Exception Handling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Unification de l’IDE
Assembly .NET « le retour »
Assemblies .NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],MZ Header PE Header COFF Header CLR Metadata Executable IL /Machine code
Assembly,module… Metadata for Types X, Y and Z app1.dll Code for Type X Code for Type Y Code for Type Z Namespace A Metadata for Types P and Q app2.exe Code for Type P Code for Type Q Metadata for Type R app3.dll Code for Type R Manifest Manifest Namespace B
Compilation des Assemblies .NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MS Intermediate Language ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Développement DEVELOPMENT C# J# VB Cobol … MSIL Metadata Resources public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable("USERNAME"); f=new FileStream(“C:test.txt",FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine("Exception:"+e.ToString()); } } public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable("USERNAME"); f=new FileStream(“C:test.txt",FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine("Exception:"+e.ToString()); } } Source code Compiler Assembly
Déploiement DEPLOYMENT Setup Copy Browser Compiler Assembly DEVELOPMENT C# J# VB Cobol … MSIL Metadata Resources public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable("USERNAME"); f=new FileStream(“C:test.txt",FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine("Exception:"+e.ToString()); } } public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable("USERNAME"); f=new FileStream(“C:test.txt",FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine("Exception:"+e.ToString()); } } Source code Application Directory Global Assembly Cache (GAC) Assembly DEVELOPMENT Download  Cache Install
Exécution DEPLOYMENT EXECUTION Policy <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?> <configuration> <mscorlib> <security> <policy> <PolicyLevel version=&quot;1&quot;> <CodeGroup class=&quot;UnionCodeGroup&quot; version=&quot;1&quot; PermissionSetName=&quot;Nothing&quot; Name=&quot;All_Code&quot; Description=&quot;Code group  grants no permissio ns and forms the root of the code group tree.&quot;> <IMembershipCondition clas s=&quot;AllMembershipCondition&quot; version=&quot;1&quot;/> <CodeGroup class=&quot;UnionCodeGroup&quot; version=&quot;1&quot; PermissionSetName=&quot;FullTrust&quot; Debug Engine IL to Native Compiler Application Directory Setup Copy Browser Download  Cache Global Assembly Cache (GAC) Assembly on Target  Machine Assembly DEVELOPMENT Install Assembly Loader Security Class  Loader Native .exe  + GC table  Code  Manager Garbage Collection Exception Manager Thread Support COM Interop
Déploiement ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Démo ,[object Object],[object Object],[object Object]
Interopérabilité COM et COM+ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interopérabilité API Win32 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
.NET vs COM/DNA ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
.NET vs COM/DNA ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Mon.exe Browser Internet Intranet XML Windows Form Windows Form Présentation Tiers WebServices Business Tiers Data Tiers Remoting Data Data
.NET Framework Data ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms  Web Services Mobile Devices Windows Forms
ADO et ADO.NET ,[object Object],[object Object],[object Object],[object Object],[object Object]
ADO Architecture : 2 Modes ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Access Architecture
ADO.NET et XML Correspondance entre ADO et XML Managed Provider DataReader Command Connection Sync Controls, Designers, Code-gen, etc DataSet XmlReader XmlText- Reader XmlNode- Reader XSL/T, X-Path, Validation, etc XmlData- Document DataAdapter
.NET Framework Presentation ,[object Object],[object Object],[object Object],Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms  Web Services Mobile Devices Windows Forms
Windows Forms ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Winform : Visual designer
Winform : Héritage ,[object Object],[object Object]
Windows form ,[object Object]
.NET Framework Presentation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms  Web Services Mobile Devices Windows Forms
Architecture ASP.NET Web Clients IIS ASP.NET Apps Framework.NET Windows Operating System
Évolution des ASP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Les Pages ASP.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
La compilation à la volé Fichier ASPX Browser Web Réponse Réponse Classe de la page Instanciation,  traitement, affichage Classe générée Génère Instancie Analyse moteur ASPX Requête Requête Classe Code Behind
Configuration et Déploiement ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server-Side HTML controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server-Side Event Processing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Code behind ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Pour développer des ASP.NET Deux scénarios possibles Visual Studio .NET ASP.NET WebMatrix IDE SQL Server MSDE Données IIS “ Cassini” Serveur Web Développement en entreprise Environnement “light” Windows & .NET Framework Windows & .NET Framework Plate-Forme
Webform ,[object Object],[object Object],[object Object]
Un accélérateur de projets Visual Studio .NET ASP.NET WebMatrix IDE SQL Server MSDE Données IIS “ Cassini” Serveur Web ASP.NET Starter Kits Développement en entreprise Environnement “light” Windows & .NET Framework Windows & .NET Framework Plate-Forme
.NET Framework Presentation ,[object Object],[object Object],[object Object],Une nouvelle génération d’application… Common Language Runtime Base Class Library ADO.NET and XML Web Services … Windows Forms
Services Web : Définition ,[object Object],[object Object],[object Object],[object Object]
Qu’est ce qu’un Service Web? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Services Web XML  Concepts /Architecture ,[object Object],[object Object],[object Object],[object Object],[object Object]
Concepts Annuaire UDDI Client Service Web Enregistrement du service Recherche d’un service Interface WSDL Récupération de l’interface du service Utilisation du service SOAP SOAP HTTP SOAP 1 2 3 4 proxy Développement Production
WebService ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebServices ,[object Object]
Tablette PC ,[object Object],[object Object]
Pocket PC ,[object Object],[object Object]
© 2001 Microsoft Corporation. All rights reserved.

Más contenido relacionado

La actualidad más candente

Système répartis avec RMI
Système répartis avec RMISystème répartis avec RMI
Système répartis avec RMIKorteby Farouk
 
Cours services web_fabrice_mourlin
Cours services web_fabrice_mourlinCours services web_fabrice_mourlin
Cours services web_fabrice_mourlinangeeLee
 
Vbisigk
VbisigkVbisigk
VbisigkISIG
 
C# 5 versus Java 8... Quand C++ 11 s'invite à la fête
C# 5 versus Java 8... Quand C++ 11 s'invite à la fêteC# 5 versus Java 8... Quand C++ 11 s'invite à la fête
C# 5 versus Java 8... Quand C++ 11 s'invite à la fêteFabrice JEAN-FRANCOIS
 
Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)
Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)
Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)Michael Njong
 
Développement de plug in sous eclipse
Développement de plug in sous eclipseDéveloppement de plug in sous eclipse
Développement de plug in sous eclipseISIG
 
Java 2015 2016_zied_elleuch
Java 2015 2016_zied_elleuchJava 2015 2016_zied_elleuch
Java 2015 2016_zied_elleuchTarek Halloul
 
de l'art binaire: des PEs explosifs fait main
de l'art binaire: des PEs explosifs fait mainde l'art binaire: des PEs explosifs fait main
de l'art binaire: des PEs explosifs fait mainAnge Albertini
 
Introduction TypeScript
Introduction TypeScriptIntroduction TypeScript
Introduction TypeScriptfelixbillon
 
C# et .NET : Enigmes et puzzles
C# et .NET : Enigmes  et puzzlesC# et .NET : Enigmes  et puzzles
C# et .NET : Enigmes et puzzlesMicrosoft
 
Formation POO & Java (2ème séance)
Formation POO & Java (2ème séance)Formation POO & Java (2ème séance)
Formation POO & Java (2ème séance)G²FOSS ENIT
 
Formation JAVA (1)
Formation JAVA (1)Formation JAVA (1)
Formation JAVA (1)Ahmed Charef
 
eServices-Tp1: Web Services
eServices-Tp1: Web ServiceseServices-Tp1: Web Services
eServices-Tp1: Web ServicesLilia Sfaxi
 
Ces outils qui vous font gagner du temps
Ces outils qui vous font gagner du tempsCes outils qui vous font gagner du temps
Ces outils qui vous font gagner du tempsAntoine Rey
 
Présentation de RMI Java
Présentation de RMI JavaPrésentation de RMI Java
Présentation de RMI JavaZakaria Bouazza
 
Workshop Spring - Session 5 - Spring Integration
Workshop Spring - Session 5 - Spring IntegrationWorkshop Spring - Session 5 - Spring Integration
Workshop Spring - Session 5 - Spring IntegrationAntoine Rey
 

La actualidad más candente (20)

Système répartis avec RMI
Système répartis avec RMISystème répartis avec RMI
Système répartis avec RMI
 
Cours services web_fabrice_mourlin
Cours services web_fabrice_mourlinCours services web_fabrice_mourlin
Cours services web_fabrice_mourlin
 
Vbisigk
VbisigkVbisigk
Vbisigk
 
C# 5 versus Java 8... Quand C++ 11 s'invite à la fête
C# 5 versus Java 8... Quand C++ 11 s'invite à la fêteC# 5 versus Java 8... Quand C++ 11 s'invite à la fête
C# 5 versus Java 8... Quand C++ 11 s'invite à la fête
 
Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)
Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)
Architecture de la jvm(1ere Partie) - JVM Architecture (First Part)
 
Développement de plug in sous eclipse
Développement de plug in sous eclipseDéveloppement de plug in sous eclipse
Développement de plug in sous eclipse
 
Java 2015 2016_zied_elleuch
Java 2015 2016_zied_elleuchJava 2015 2016_zied_elleuch
Java 2015 2016_zied_elleuch
 
de l'art binaire: des PEs explosifs fait main
de l'art binaire: des PEs explosifs fait mainde l'art binaire: des PEs explosifs fait main
de l'art binaire: des PEs explosifs fait main
 
Chap 02 poo en java
Chap 02 poo en javaChap 02 poo en java
Chap 02 poo en java
 
Introduction TypeScript
Introduction TypeScriptIntroduction TypeScript
Introduction TypeScript
 
C# et .NET : Enigmes et puzzles
C# et .NET : Enigmes  et puzzlesC# et .NET : Enigmes  et puzzles
C# et .NET : Enigmes et puzzles
 
Formation POO & Java (2ème séance)
Formation POO & Java (2ème séance)Formation POO & Java (2ème séance)
Formation POO & Java (2ème séance)
 
Formation JAVA (1)
Formation JAVA (1)Formation JAVA (1)
Formation JAVA (1)
 
eServices-Tp1: Web Services
eServices-Tp1: Web ServiceseServices-Tp1: Web Services
eServices-Tp1: Web Services
 
Ces outils qui vous font gagner du temps
Ces outils qui vous font gagner du tempsCes outils qui vous font gagner du temps
Ces outils qui vous font gagner du temps
 
Présentation de RMI Java
Présentation de RMI JavaPrésentation de RMI Java
Présentation de RMI Java
 
C# langage & syntaxe
C#   langage & syntaxeC#   langage & syntaxe
C# langage & syntaxe
 
Soap
SoapSoap
Soap
 
Workshop Spring - Session 5 - Spring Integration
Workshop Spring - Session 5 - Spring IntegrationWorkshop Spring - Session 5 - Spring Integration
Workshop Spring - Session 5 - Spring Integration
 
Remote method invocation
Remote method invocationRemote method invocation
Remote method invocation
 

Destacado

Asp.Net Dans Plateforme Ms
Asp.Net Dans Plateforme MsAsp.Net Dans Plateforme Ms
Asp.Net Dans Plateforme MsGregory Renard
 
Accéder au développement Dot.Net et Asp.Net
Accéder au développement Dot.Net et Asp.NetAccéder au développement Dot.Net et Asp.Net
Accéder au développement Dot.Net et Asp.NetFrédéric Vandenbriele
 
ASP.NET MVC 6
ASP.NET MVC 6ASP.NET MVC 6
ASP.NET MVC 6Microsoft
 
Asp.net Présentation de L'application "Organizer"
Asp.net Présentation de L'application "Organizer"Asp.net Présentation de L'application "Organizer"
Asp.net Présentation de L'application "Organizer"Nazih Heni
 
Veille et information partagée
Veille et information partagéeVeille et information partagée
Veille et information partagéeEmilie Marquois
 
Quoi de neuf dans ASP.NET 4.5
Quoi de neuf dans ASP.NET 4.5Quoi de neuf dans ASP.NET 4.5
Quoi de neuf dans ASP.NET 4.5Microsoft
 
Module 6 développement d'applications de bases de données avec asp.net
Module 6   développement d'applications de bases de données avec asp.netModule 6   développement d'applications de bases de données avec asp.net
Module 6 développement d'applications de bases de données avec asp.netMohammed Amine Mostefai
 
Module 7 intégration d'ajax et les services web dans les applications asp.net
Module 7   intégration d'ajax et les services web dans les applications asp.netModule 7   intégration d'ajax et les services web dans les applications asp.net
Module 7 intégration d'ajax et les services web dans les applications asp.netMohammed Amine Mostefai
 
MesInfos : la révolution des données personnelles partagées
MesInfos : la révolution des données personnelles partagéesMesInfos : la révolution des données personnelles partagées
MesInfos : la révolution des données personnelles partagéesFing
 
Revuepresse16.03
Revuepresse16.03Revuepresse16.03
Revuepresse16.03ramondiaz
 
Ejercicio me asusta
Ejercicio me asustaEjercicio me asusta
Ejercicio me asustacentrowebs
 
Bilan Lift14fr
Bilan Lift14frBilan Lift14fr
Bilan Lift14frFing
 
Produire un document audio accessible avec obi
Produire un document audio accessible avec obiProduire un document audio accessible avec obi
Produire un document audio accessible avec obiJean-Pierre CARPANINI
 
Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...
Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...
Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...Publicis Sapient Engineering
 
Función lineal
Función linealFunción lineal
Función linealchoco82
 
Metodologia DiseñO Instruccional
Metodologia DiseñO InstruccionalMetodologia DiseñO Instruccional
Metodologia DiseñO InstruccionalLuzM Chaparro
 
David Baranes (AppNexus) - Open : l’impératif technologique - Marketing Rem...
David Baranes (AppNexus) -  Open : l’impératif technologique - Marketing Rem...David Baranes (AppNexus) -  Open : l’impératif technologique - Marketing Rem...
David Baranes (AppNexus) - Open : l’impératif technologique - Marketing Rem...Viuz
 
Mate Integral[1][1]
Mate Integral[1][1]Mate Integral[1][1]
Mate Integral[1][1]guestf6ea15
 

Destacado (20)

Asp.Net Dans Plateforme Ms
Asp.Net Dans Plateforme MsAsp.Net Dans Plateforme Ms
Asp.Net Dans Plateforme Ms
 
Accéder au développement Dot.Net et Asp.Net
Accéder au développement Dot.Net et Asp.NetAccéder au développement Dot.Net et Asp.Net
Accéder au développement Dot.Net et Asp.Net
 
ASP.NET MVC 6
ASP.NET MVC 6ASP.NET MVC 6
ASP.NET MVC 6
 
Asp.net Présentation de L'application "Organizer"
Asp.net Présentation de L'application "Organizer"Asp.net Présentation de L'application "Organizer"
Asp.net Présentation de L'application "Organizer"
 
Veille et information partagée
Veille et information partagéeVeille et information partagée
Veille et information partagée
 
Quoi de neuf dans ASP.NET 4.5
Quoi de neuf dans ASP.NET 4.5Quoi de neuf dans ASP.NET 4.5
Quoi de neuf dans ASP.NET 4.5
 
Module 6 développement d'applications de bases de données avec asp.net
Module 6   développement d'applications de bases de données avec asp.netModule 6   développement d'applications de bases de données avec asp.net
Module 6 développement d'applications de bases de données avec asp.net
 
Module 7 intégration d'ajax et les services web dans les applications asp.net
Module 7   intégration d'ajax et les services web dans les applications asp.netModule 7   intégration d'ajax et les services web dans les applications asp.net
Module 7 intégration d'ajax et les services web dans les applications asp.net
 
Sécurisation des applications ASP.NET
Sécurisation des applications ASP.NETSécurisation des applications ASP.NET
Sécurisation des applications ASP.NET
 
Cecilia Surville Fait Son Show
Cecilia Surville Fait Son ShowCecilia Surville Fait Son Show
Cecilia Surville Fait Son Show
 
MesInfos : la révolution des données personnelles partagées
MesInfos : la révolution des données personnelles partagéesMesInfos : la révolution des données personnelles partagées
MesInfos : la révolution des données personnelles partagées
 
Revuepresse16.03
Revuepresse16.03Revuepresse16.03
Revuepresse16.03
 
Ejercicio me asusta
Ejercicio me asustaEjercicio me asusta
Ejercicio me asusta
 
Bilan Lift14fr
Bilan Lift14frBilan Lift14fr
Bilan Lift14fr
 
Produire un document audio accessible avec obi
Produire un document audio accessible avec obiProduire un document audio accessible avec obi
Produire un document audio accessible avec obi
 
Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...
Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...
Changeons la conception de nos applications grâce aux services Cloud (DevoxxF...
 
Función lineal
Función linealFunción lineal
Función lineal
 
Metodologia DiseñO Instruccional
Metodologia DiseñO InstruccionalMetodologia DiseñO Instruccional
Metodologia DiseñO Instruccional
 
David Baranes (AppNexus) - Open : l’impératif technologique - Marketing Rem...
David Baranes (AppNexus) -  Open : l’impératif technologique - Marketing Rem...David Baranes (AppNexus) -  Open : l’impératif technologique - Marketing Rem...
David Baranes (AppNexus) - Open : l’impératif technologique - Marketing Rem...
 
Mate Integral[1][1]
Mate Integral[1][1]Mate Integral[1][1]
Mate Integral[1][1]
 

Similar a Tour Horizont.Net

Introdot Netc Sharp Fr
Introdot Netc Sharp FrIntrodot Netc Sharp Fr
Introdot Netc Sharp FrGregory Renard
 
Le développement d&rsquo;un Composant WinRT
Le développement d&rsquo;un Composant WinRTLe développement d&rsquo;un Composant WinRT
Le développement d&rsquo;un Composant WinRTMicrosoft
 
Développement d'un composant win rt
Développement d'un composant win rtDéveloppement d'un composant win rt
Développement d'un composant win rtArnaud Auroux
 
Asp Au Service Des Mv Ps
Asp Au Service Des Mv PsAsp Au Service Des Mv Ps
Asp Au Service Des Mv PsGregory Renard
 
soft-shake.ch - Domotique et robotique avec le micro Framework .NET
soft-shake.ch - Domotique et robotique avec le micro Framework .NETsoft-shake.ch - Domotique et robotique avec le micro Framework .NET
soft-shake.ch - Domotique et robotique avec le micro Framework .NETsoft-shake.ch
 
Les nouveautés du Framework .NET 4.5
Les nouveautés du Framework .NET 4.5Les nouveautés du Framework .NET 4.5
Les nouveautés du Framework .NET 4.5Microsoft
 
Dotnet csharp
Dotnet csharpDotnet csharp
Dotnet csharpSDFG5
 
Réutilisation de code entre Windows 8 et Windows Phone 8.
Réutilisation de code entre Windows 8 et Windows Phone 8.Réutilisation de code entre Windows 8 et Windows Phone 8.
Réutilisation de code entre Windows 8 et Windows Phone 8.Microsoft
 
Environnements & Développements
Environnements & DéveloppementsEnvironnements & Développements
Environnements & DéveloppementsPaulin CHOUDJA
 
La technologie net par karim kalti
La technologie net par karim kalti La technologie net par karim kalti
La technologie net par karim kalti Imen Naés
 
introductionaudevcomposantdistribuejavaee.pdf
introductionaudevcomposantdistribuejavaee.pdfintroductionaudevcomposantdistribuejavaee.pdf
introductionaudevcomposantdistribuejavaee.pdfHamdaneAbdelAzizHagg
 
.NET Microframework, les joies de l'électronique et du code pour tous
.NET Microframework, les joies de l'électronique et du code pour tous.NET Microframework, les joies de l'électronique et du code pour tous
.NET Microframework, les joies de l'électronique et du code pour tousMicrosoft
 
Keynote .NET 2015 : une nouvelle ère
Keynote .NET 2015 : une nouvelle èreKeynote .NET 2015 : une nouvelle ère
Keynote .NET 2015 : une nouvelle èreMicrosoft
 
01 - [ASP.NET Core] Plénière
01 - [ASP.NET Core] Plénière 01 - [ASP.NET Core] Plénière
01 - [ASP.NET Core] Plénière Cellenza
 
Informatique Mobile et synchronisation
Informatique Mobile et synchronisationInformatique Mobile et synchronisation
Informatique Mobile et synchronisationSébastien Letélié
 
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Gregory Renard
 
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Gregory Renard
 

Similar a Tour Horizont.Net (20)

Introdot Netc Sharp Fr
Introdot Netc Sharp FrIntrodot Netc Sharp Fr
Introdot Netc Sharp Fr
 
Le développement d&rsquo;un Composant WinRT
Le développement d&rsquo;un Composant WinRTLe développement d&rsquo;un Composant WinRT
Le développement d&rsquo;un Composant WinRT
 
Développement d'un composant win rt
Développement d'un composant win rtDéveloppement d'un composant win rt
Développement d'un composant win rt
 
Chapitre 1
Chapitre 1Chapitre 1
Chapitre 1
 
Starter Kits
Starter KitsStarter Kits
Starter Kits
 
Asp Au Service Des Mv Ps
Asp Au Service Des Mv PsAsp Au Service Des Mv Ps
Asp Au Service Des Mv Ps
 
soft-shake.ch - Domotique et robotique avec le micro Framework .NET
soft-shake.ch - Domotique et robotique avec le micro Framework .NETsoft-shake.ch - Domotique et robotique avec le micro Framework .NET
soft-shake.ch - Domotique et robotique avec le micro Framework .NET
 
Introduction à ASP.NET
Introduction à ASP.NETIntroduction à ASP.NET
Introduction à ASP.NET
 
Les nouveautés du Framework .NET 4.5
Les nouveautés du Framework .NET 4.5Les nouveautés du Framework .NET 4.5
Les nouveautés du Framework .NET 4.5
 
Dotnet csharp
Dotnet csharpDotnet csharp
Dotnet csharp
 
Réutilisation de code entre Windows 8 et Windows Phone 8.
Réutilisation de code entre Windows 8 et Windows Phone 8.Réutilisation de code entre Windows 8 et Windows Phone 8.
Réutilisation de code entre Windows 8 et Windows Phone 8.
 
Environnements & Développements
Environnements & DéveloppementsEnvironnements & Développements
Environnements & Développements
 
La technologie net par karim kalti
La technologie net par karim kalti La technologie net par karim kalti
La technologie net par karim kalti
 
introductionaudevcomposantdistribuejavaee.pdf
introductionaudevcomposantdistribuejavaee.pdfintroductionaudevcomposantdistribuejavaee.pdf
introductionaudevcomposantdistribuejavaee.pdf
 
.NET Microframework, les joies de l'électronique et du code pour tous
.NET Microframework, les joies de l'électronique et du code pour tous.NET Microframework, les joies de l'électronique et du code pour tous
.NET Microframework, les joies de l'électronique et du code pour tous
 
Keynote .NET 2015 : une nouvelle ère
Keynote .NET 2015 : une nouvelle èreKeynote .NET 2015 : une nouvelle ère
Keynote .NET 2015 : une nouvelle ère
 
01 - [ASP.NET Core] Plénière
01 - [ASP.NET Core] Plénière 01 - [ASP.NET Core] Plénière
01 - [ASP.NET Core] Plénière
 
Informatique Mobile et synchronisation
Informatique Mobile et synchronisationInformatique Mobile et synchronisation
Informatique Mobile et synchronisation
 
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
 
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
 

Más de Gregory Renard

WygDay - Session Innovation xBrainLab
WygDay - Session Innovation xBrainLabWygDay - Session Innovation xBrainLab
WygDay - Session Innovation xBrainLabGregory Renard
 
Approach the future of tourism by the new Technologies
Approach the future of tourism by the new TechnologiesApproach the future of tourism by the new Technologies
Approach the future of tourism by the new TechnologiesGregory Renard
 
Approach the future of cities by the singularity of technologies !
Approach the future of cities by the singularity of technologies !Approach the future of cities by the singularity of technologies !
Approach the future of cities by the singularity of technologies !Gregory Renard
 
Wygday 2009 Session Innovation
Wygday 2009   Session InnovationWygday 2009   Session Innovation
Wygday 2009 Session InnovationGregory Renard
 
Net 2007 Faire Du E Commerce Dans Les Mv
Net 2007   Faire Du E Commerce Dans Les MvNet 2007   Faire Du E Commerce Dans Les Mv
Net 2007 Faire Du E Commerce Dans Les MvGregory Renard
 
Wygday Session PléNièRe (2)
Wygday Session PléNièRe (2)Wygday Session PléNièRe (2)
Wygday Session PléNièRe (2)Gregory Renard
 
Wygday Session PléNièRe (1)
Wygday Session PléNièRe (1)Wygday Session PléNièRe (1)
Wygday Session PléNièRe (1)Gregory Renard
 
Vs2008 Breakthrough Software Dev
Vs2008 Breakthrough Software DevVs2008 Breakthrough Software Dev
Vs2008 Breakthrough Software DevGregory Renard
 
Visual Studio 2008 Overview
Visual Studio 2008 OverviewVisual Studio 2008 Overview
Visual Studio 2008 OverviewGregory Renard
 
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Gregory Renard
 
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008Gregory Renard
 
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008Gregory Renard
 
Techdays Visual Studio 2010
Techdays Visual Studio 2010Techdays Visual Studio 2010
Techdays Visual Studio 2010Gregory Renard
 
Ta Visual Studio2008 Vb9 C#3
Ta Visual Studio2008   Vb9   C#3Ta Visual Studio2008   Vb9   C#3
Ta Visual Studio2008 Vb9 C#3Gregory Renard
 

Más de Gregory Renard (20)

WygDay - Session Innovation xBrainLab
WygDay - Session Innovation xBrainLabWygDay - Session Innovation xBrainLab
WygDay - Session Innovation xBrainLab
 
WygDay 2010
WygDay 2010WygDay 2010
WygDay 2010
 
M Forum
M ForumM Forum
M Forum
 
Approach the future of tourism by the new Technologies
Approach the future of tourism by the new TechnologiesApproach the future of tourism by the new Technologies
Approach the future of tourism by the new Technologies
 
Approach the future of cities by the singularity of technologies !
Approach the future of cities by the singularity of technologies !Approach the future of cities by the singularity of technologies !
Approach the future of cities by the singularity of technologies !
 
Wygday 2009 Session Innovation
Wygday 2009   Session InnovationWygday 2009   Session Innovation
Wygday 2009 Session Innovation
 
Net 2007 Faire Du E Commerce Dans Les Mv
Net 2007   Faire Du E Commerce Dans Les MvNet 2007   Faire Du E Commerce Dans Les Mv
Net 2007 Faire Du E Commerce Dans Les Mv
 
Wygday Session PléNièRe (2)
Wygday Session PléNièRe (2)Wygday Session PléNièRe (2)
Wygday Session PléNièRe (2)
 
Wygday Session PléNièRe (1)
Wygday Session PléNièRe (1)Wygday Session PléNièRe (1)
Wygday Session PléNièRe (1)
 
Wygday 2008
Wygday 2008Wygday 2008
Wygday 2008
 
Web Services
Web ServicesWeb Services
Web Services
 
Vs2008 Linq
Vs2008 LinqVs2008 Linq
Vs2008 Linq
 
Vs2008 Breakthrough Software Dev
Vs2008 Breakthrough Software DevVs2008 Breakthrough Software Dev
Vs2008 Breakthrough Software Dev
 
Vs2008 Ms Lux
Vs2008 Ms LuxVs2008 Ms Lux
Vs2008 Ms Lux
 
Visual Studio 2008 Overview
Visual Studio 2008 OverviewVisual Studio 2008 Overview
Visual Studio 2008 Overview
 
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
Visual Basic 9.0 – Visual Studio 2008 Quoi De Neuf 2.0
 
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
 
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008Visual Basic 9.0   Trucs Et Astuces Dans Visual Studio 2008
Visual Basic 9.0 Trucs Et Astuces Dans Visual Studio 2008
 
Techdays Visual Studio 2010
Techdays Visual Studio 2010Techdays Visual Studio 2010
Techdays Visual Studio 2010
 
Ta Visual Studio2008 Vb9 C#3
Ta Visual Studio2008   Vb9   C#3Ta Visual Studio2008   Vb9   C#3
Ta Visual Studio2008 Vb9 C#3
 

Tour Horizont.Net

  • 1. ASP.NET To2Point « Tour d’horizon .NET » © 2001 Microsoft Corporation. All rights reserved.
  • 2.
  • 3.
  • 4. Une histoire riche… 1990 GUI 1981 PC 1995 Internet MS-DOS BASIC Windows Visual BASIC IE, IIS Visual Studio
  • 5. Une nouvelle ère Windows MS-DOS 1981 PC BASIC Visual BASIC XML Web Services 2000 Visual Studio .NET 1990 GUI 1995 Internet IE, IIS Visual Studio
  • 6. Visual Studio.NET, .NET Framework .NET Services Expérience Utilisateur .NET Devices, .NET Enterprise Servers
  • 7.
  • 8. .NET c’est quoi ? Composants Sécurité Flux XML Simplicité et puissant Protocoles Standard Services Web Clients Riches Pages Web Mobilité XML Modèle Relationnel Toutes les bases
  • 9.
  • 10. Le cœur du Framework CLI CLR Framework Class Library Données et XML XML Web services Windows Forms Web Forms Common Language Specification VB C++ C# … J# Visual Studio .NET Soumis à l’ ECMA Soumis à l’ECMA Spécification ouvertes Accès aux données basé XML Basé XML, SOAP, GXA
  • 11.
  • 12. CLR : Vue d’ensemble Class Loader Base Class Library Support IL to Native Compilers Code Manager Garbage Collector Security Engine Debug Engine Type Checker Exception Manager Thread Support COM Marshaler
  • 13. .NET Framework System System.Data (ADO .NET) System.XML System.Web (ASP .NET) Diagnostics Configuration Collections Net IO Threading Text Security Common OLEDB SQLTypes SQLClient XPath XSL Runtime InteropServices Remoting Serialization Serialization Configuration SessionState Caching Security Services UI HTMLControls WebControls System.Drawing Imaging Drawing2D Text Printing System.Windows.Forms Design ComponentModel Schema Reflection Resources Globalization ServiceProcess Description Discovery Protocols
  • 14.
  • 15.
  • 16.
  • 17.
  • 19. Unification du développement Héritage, Contrôle, performance Windows API MFC/ATL ASP Stateless, mélange de code/HTML VB Forms RAD, Composition, Délégation .NET Framework RAD, Héritage, contrôle et performance, WebDynamic et WebServices
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 30. Assembly .NET « le retour »
  • 31.
  • 32. Assembly,module… Metadata for Types X, Y and Z app1.dll Code for Type X Code for Type Y Code for Type Z Namespace A Metadata for Types P and Q app2.exe Code for Type P Code for Type Q Metadata for Type R app3.dll Code for Type R Manifest Manifest Namespace B
  • 33.
  • 34.
  • 35. Développement DEVELOPMENT C# J# VB Cobol … MSIL Metadata Resources public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable(&quot;USERNAME&quot;); f=new FileStream(“C:test.txt&quot;,FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine(&quot;Exception:&quot;+e.ToString()); } } public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable(&quot;USERNAME&quot;); f=new FileStream(“C:test.txt&quot;,FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine(&quot;Exception:&quot;+e.ToString()); } } Source code Compiler Assembly
  • 36. Déploiement DEPLOYMENT Setup Copy Browser Compiler Assembly DEVELOPMENT C# J# VB Cobol … MSIL Metadata Resources public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable(&quot;USERNAME&quot;); f=new FileStream(“C:test.txt&quot;,FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine(&quot;Exception:&quot;+e.ToString()); } } public static void Main(String[] args ) { String usr; FileStream f; StreamWriter w; try { usr=Environment.GetEnvironmentVariable(&quot;USERNAME&quot;); f=new FileStream(“C:test.txt&quot;,FileMode.Create); w=new StreamWriter(f); w.WriteLine(usr); w.Close(); } catch (Exception e){ Console.WriteLine(&quot;Exception:&quot;+e.ToString()); } } Source code Application Directory Global Assembly Cache (GAC) Assembly DEVELOPMENT Download Cache Install
  • 37. Exécution DEPLOYMENT EXECUTION Policy <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?> <configuration> <mscorlib> <security> <policy> <PolicyLevel version=&quot;1&quot;> <CodeGroup class=&quot;UnionCodeGroup&quot; version=&quot;1&quot; PermissionSetName=&quot;Nothing&quot; Name=&quot;All_Code&quot; Description=&quot;Code group grants no permissio ns and forms the root of the code group tree.&quot;> <IMembershipCondition clas s=&quot;AllMembershipCondition&quot; version=&quot;1&quot;/> <CodeGroup class=&quot;UnionCodeGroup&quot; version=&quot;1&quot; PermissionSetName=&quot;FullTrust&quot; Debug Engine IL to Native Compiler Application Directory Setup Copy Browser Download Cache Global Assembly Cache (GAC) Assembly on Target Machine Assembly DEVELOPMENT Install Assembly Loader Security Class Loader Native .exe + GC table Code Manager Garbage Collection Exception Manager Thread Support COM Interop
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 48. ADO.NET et XML Correspondance entre ADO et XML Managed Provider DataReader Command Connection Sync Controls, Designers, Code-gen, etc DataSet XmlReader XmlText- Reader XmlNode- Reader XSL/T, X-Path, Validation, etc XmlData- Document DataAdapter
  • 49.
  • 50.
  • 51. Winform : Visual designer
  • 52.
  • 53.
  • 54.
  • 55. Architecture ASP.NET Web Clients IIS ASP.NET Apps Framework.NET Windows Operating System
  • 56.
  • 57.
  • 58. La compilation à la volé Fichier ASPX Browser Web Réponse Réponse Classe de la page Instanciation, traitement, affichage Classe générée Génère Instancie Analyse moteur ASPX Requête Requête Classe Code Behind
  • 59.
  • 60.
  • 61.
  • 62.
  • 63. Pour développer des ASP.NET Deux scénarios possibles Visual Studio .NET ASP.NET WebMatrix IDE SQL Server MSDE Données IIS “ Cassini” Serveur Web Développement en entreprise Environnement “light” Windows & .NET Framework Windows & .NET Framework Plate-Forme
  • 64.
  • 65. Un accélérateur de projets Visual Studio .NET ASP.NET WebMatrix IDE SQL Server MSDE Données IIS “ Cassini” Serveur Web ASP.NET Starter Kits Développement en entreprise Environnement “light” Windows & .NET Framework Windows & .NET Framework Plate-Forme
  • 66.
  • 67.
  • 68.
  • 69.
  • 70. Concepts Annuaire UDDI Client Service Web Enregistrement du service Recherche d’un service Interface WSDL Récupération de l’interface du service Utilisation du service SOAP SOAP HTTP SOAP 1 2 3 4 proxy Développement Production
  • 71.
  • 72.
  • 73.
  • 74.
  • 75. © 2001 Microsoft Corporation. All rights reserved.

Notas del editor

  1. .NET = 16 bits -&gt; 32 bits (Mais sans obligation de réecriture)
  2. Elimine la plomberie Plus d’entrée dans le registre, GUIDs, fichiers IDL, HRESULTs, IUnknown, AddRef/Release, CoCreateInstance, etc. Orientation Objet Classes et héritage complétement supportés Même entre les languages! Compatibilité avec l’existant Les classes .NET peuvent être utilisées comme des classes COM Les classes COM peuvent être utilisées par des classes .NET Gestion automatique du cycle de vie Tous les objets .NET sont garbage collectés Pas de pointeurs ou de références circulaires Multi-generational mark-and-compact GC Self-configuring, dynamically tuning Traitement des erreurs Unification du mode de traitement des erreurs (plus de bool ou HRESULTs) Several compilation models Native (e.g. Managed C++) MSIL (e.g. VB and C#) No interpreter: Install-time or run-time IL to native compilation Code correctness and type-safety IL can be verified to guarantee type-safety No unsafe casts, no uninitialized variables, no out-of-bounds array indexing Evidence-based security Based on origin of code as well as user Extensible permissions Assemblies Unité de déploiement, versioning, et de sécurité Semblables aux DLLs, mais auto descriptives via les manifestes Installation Zero-impact Les Applications et composants peuvent être privés ou partagés Side-by-side execution De multiple versions du même composant peuvent coexister même dans le même process The CLR increases the reliability of applications in the following ways: It reduces conflicts between different versions of components. When the CLR loads an application, it uses the assembly manifest and the metadata to ensure that it loads the correct version of all components. With public or shared assemblies, which have been registered in the Global Assembly Cache (GAC), there should not be any problems with multiple versions of a component coexisting on a machine. This means that if the managed code needs to access a database, then the CLR uses the information in the manifest to find and load the correct version of the data access component. It reduces the number of bugs and security holes due to common programming mistakes. The CLR also uses its knowledge about the managed code to ensure that the managed code doesn&apos;t include common programming errors that would cause it to perform incorrect functions, such as trying to use an integer for a function pointer, trying to force numeric data into a location allocated for text, or overwriting code while loading data (causing a buffer overflow). Reducing bugs that result from these common programming errors means that managed code not only runs more reliably but also leaves fewer holes or vulnerabilities for attackers to exploit. Increased security makes it harder to execute hostile code. Because the CLR can understand the identity and origin of the code in each application, it can determine whether the application is allowed to perform certain tasks (such as reading or writing to local storage or sending e-mail). This adds another level to the current security model, where the application runs in the security context of the user account that is running it (for example, all applications on an administrator&apos;s machine run with administrator-level permissions). Less memory is lost to &amp;quot;leaks.&amp;quot; Memory and components that are allocated and never released (&amp;quot;memory leaks&amp;quot;) cause systems to run out of memory, either crashing the system or requiring a reboot to free the memory. The CLR&apos;s memory management and garbage collection greatly reduce the likelihood of this problem occurring. &amp;quot;Plumbing&amp;quot; functions reduce bugs and save developer time . Finally, the CLR provides many of the low-level or &amp;quot;plumbing&amp;quot; functions related to memory and object management, data marshalling, and threads. This not only creates better reliability by reducing the potential for bugs but it also enables application programmers to concentrate on the &amp;quot;line of business&amp;quot; code for their specific application rather than (re-)implementing standard Windows plumbing.
  3. NotePad / VS / Dreamwever
  4. On retrouve les 4 grands verteurs de .NET 1. Le cœur = System 2. Acced aux données = ADO.NET 3. Présentation = ASP.NET Windows.Forms 4. Communication = XML
  5. Assembly = Représentation physique. .NETModule = .obj (mais obj de l’IL bien sure)
  6. Quesqu’on appel l’unification dans .NET ???
  7. Depuis les API de l’eau est passé sous les ponts…. (win3.1…) Divergence entre C++/MFC et VB et ASP Runtime VB avec la problématique de version .NET ré unifie en conservant le « meilleurs » des différents mondes
  8. .NET multilangage (30 supportés) - VB à été dénaturé pour être supporté par .NET - C++ c&apos;est le seul qui couvre le développement natif Windows (Win32) et .NET - C# c&apos;est le seul qui donne accés a tout la richesse de .NET C’est la CLS qui va permettre de généré un même IL
  9. .NET multilangage (30 supportés) - VB à été dénaturé pour être supporté par .NET - C++ c&apos;est le seul qui couvre le développement natif Windows (Win32) et .NET - C# c&apos;est le seul qui donne accés a tout la richesse de .NET
  10. Valeur : Type Simple / Structure Référence : Objet et Interface Mais on ne fait jamais ce code il est fait automatiquement par le compilateur quand il a besoin de convertir un variable Valeur en Référence.
  11. 1/ Deux boxing car int et Date sont des types valeur. Donc on passe par System.Int32 et System.Date pour allez chercher .ToString(); 2/ Pour 0 et 1 Boxing car entier, pour « zero » et « un » string donc référence donc pas de boxing 3/ Piège !!! Il n’y a pas de boxing car d n’est pas utilisé dans une situation qui nécésite le boxing le compilateur retrouve this sur la pile directement.
  12. 4/ array de valeur donc pas de boxing 5/ ArrayList Add prend un objet donc boxing 6/ Les interfaces sont traité en Référence et structure est en valeur donc boxing
  13. Cette unification des concepts Objet rend Windows Orienté Objet comme on ne travaille qu’avec le FrameWork Par un simple abonnement à un événement Windows du Framework on va pourvoir s’abonné à une modification d’un répertoire par exemple. On ne touche pas à l’API Win32 !
  14. Il existe aussi WebMatrix ! Mais uniquement développement Web
  15. Comme je vous le disais, la plus petite entité de déploiement dans .Net est l’assembly Mais que va t’on trouver dans ce machin la !!
  16. PE : Portable Executable On peut voir les clrheader avec DumpBin /clrheader baBAExe.exe
  17. Namespace = Unité logique Assembly = Unité physique
  18. CODE BINAIRE, pas d’interprétation Mécanisme identique et avec cache pour les aspx IE voir test dans une application Windows Ngen permet de mettre un version compilé dans Global Assembly Cache pour évité cette first compilation Ngen baBAExe.exe Ngen baBADll.dll
  19. Assembly Loader = mscoree.dll
  20. Side by Side : Rien dans la base de registre et rien dans Windows/System32 GAC : Pré JIT avec ngen (disponible pour tous les applications) Download : C’est pour les applications exe s’exécutant à travers IE
  21. Point 3 revient a faire des objet COM en .NET
  22. Logiquement un développeur s’y met en une journée. Avec l’ADO du monde unmanaged, nous avions ébauché le mode déconnecté. Aujourd’hui, le mode déconnecté est en natif sur la plate-forme
  23. Que trouve t-on dans l’ADO.Net .Net Provider, SQL, OLEDB Oracle et ODBC disponible sur le Net en Beta DataReader qui permet un accés Foward Only DataAdapter qui permet un accès à la base et on se déconnecte DataSet :Mode déconnecté (Géniale on peut travaillé indifféremment XML / Base) ADO Architecture : 2 modes
  24. Zoom sur les DataSets il servent a transporter les données
  25. Mapping et correspondance entre ADO et XML A tout moment on peut passer de l’un a l’autre…(+ ou – automatique)
  26. Starter Kits = Accélérateur d’application
  27. Slide marcma (évolution)
  28. No runtime software dictated