Your SlideShare is downloading. ×
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Introdot Netc Sharp En
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introdot Netc Sharp En

1,873

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,873
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. Rédo
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • http://www.dotnetguru.org/articles/interviews/marcgardette/interview.htm Growth = croissance Destiny = fortune 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • applicatives coats = couches applicatives that mean these = que signifient celles-ci Allow = permettre let us discover = découvrons La vue d'une telle structure peu un tant soit peu désarçonner. Afin de bien la comprendre, partons de l'élément qui vous est le plus proche : "le langage de programmation". Avant de rentrer dans des explications plus concises, imagez que vous soyez un automobiliste au volant de votre véhicule et tentons de comparer votre situation avec l'infrastructure du .NET Framework présentée afin de mieux saisir l'ensemble des briques de ce schéma. La CLI ( Common Language Infrastructure ) serait les plans et un exemple du moteur pour tout type de véhicule, tandis que le CLR ( Common Language Runtime ) serait ni plus ni mois que votre moteur. Les langages (VB, C++, C#, …) serait le combustible de votre moteur et la CLS ( Common Language Specification ) la garantie que le combustible puisse faire fonctionner votre moteur. Tandis que les briques : "Web Services, les ASP.NET, Windows Forms, ADO.NET et Base Class Library sont des panneaux de signalisation sur votre trajet. Enfin Visual Studio 2005, votre voiture. 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • compilation takes place in two stages = la compilation se passe en deux étapes Next screens = prochains écrans 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • The same application = la même application 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • Microsoft .NET languages C# - Microsoft's flagship .NET Framework language which bears similarities to the C++ and Java languages. Visual Basic .NET - A completely redesigned version of the Visual Basic language for the .NET Framework. This also includes Visual Basic 2005 (v8.0). C++/CLI and the deprecated Managed C++ - A managed version of the C++ language. J# - A Java and J++ .NET transitional language. JScript .NET - A compiled version of the JScript language. Windows PowerShell - An interactive command line shell/scripting environment which provides full access to the .NET frameworks. IronPython - A .NET implementation of the Python programming language being developed by Jim Hugunin at Microsoft. 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • Définition d’une assembly Ce que l’on trouve dedans
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • http://msdn2.microsoft.com/fr-fr/library/k1s94fta(VS.80).aspx 11/11/09 19:08 ©2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • Transcript

    • 1. Grégory Renard [aka Redo] Technical Manager - CTO Wygwam www.wygwam.com .NET 2.0 – C# 2.0 Develop your applications with the.NET platform and C#
    • 2. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : a range of IDE
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .and many demonstrations !!!
    • 3. Your speaker
      • Grégory Renard [aka Redo]
        • CTO Wygwam – www.wygwam.com
        • Microsoft Régional Director, Microsoft MVP Visual Developer ASP.NET, Microsoft CodeZone Community Member INETA Lead Belgium : www.ineta.org Read my Blog : http://blogs.developpeur.org/redo
    • 4. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : A range of IDE
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .and many demonstrations !!!
    • 5. .NET in the companies ?
      • In the same way as Java, .NET has become one of the major inevitable technology in the applications development world.
      • The last figures transmitted by Microsoft are eloquent. After 4 years existence, more than 35% of the projects in France have passed on this technology and more than 50% of the projects on the worldwide scale .
      • Don’t neglect this developing environment !
      Marc Gardette – Microsoft France Certains chiffres témoignent de la bonne santé de .NET et de son adoption croissante : .NET déployé dans plus de 50% des « Fortunes 100 », plus de 70 Millions de systèmes avec le Framework .NET déployé, (pré-installé sur 60% des nouveaux systèmes, plus de 20 millions de download avec Windows Update), plus de 450 livres disponibles sur .NET, plus de 250 sociétés offrent des formations sur .NET, plus de 2.5 Millions de développeurs équipés avec VisualStudio .NET…. www.dotnetguru.org - 2004
    • 6. .NET Framework vs .NET Platform
      • The.NET platform is a group of software components allowing the construction of your professional solutions.
      Infrastructure Système Gestion des Données Infrastructure Applicative Infrastructure “Information Worker”
    • 7. .NET Framework vs .NET Platform The.NET platform allows a high level of integration and interoperability thanks to the strong integration of the Web Services, of his model of unified classes and the strong exploitation of the standard XML at all the levels
    • 8. .NET Framework vs.NET Platform
      • Group of common services, usable from several objects languages.
      • These Services comply with the form of a intermediate code independent of the underlying architecture.
      • These services comply in a "runtime" ( CLR : Common Langage Runtime) ensuring the management functions of resources and observation of the good working of the applications.
    • 9. .NET Framework vs.NET Platform
    • 10. .NET Framework : the unified classes 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
    • 11.
      • .NET Reflector Lutz Roeder
      Demo
    • 12. History of the .NET
      • June 2000 Microsoft announced the development of a new technology
      • 13 February 2002 Publication of the first running version of the.NET Framework
      • March 2003 Version 1.1 of the.NET Framework
      • November 2005 Publication of the.NET Framework 2.0
      • Future : November 2006 Publication of Windows Vista and of « the.NET Framework 3.0 »
    • 13. Evolution of the .NET V1 2002 V1.1 2003 V2 end 2005 V3 end 2006
    • 14. .NET : A standard
      • C# and CLI which are published at ECMA
          • http://www.ecma.ch  
          • ECMA-334, C# (C sharp) Language Specification.
          • ECMA-335, Common Language Infrastructure, approved by the ECMA General Assembly of 13th December 2001. 
          • ECMA TR/84, related to Standard ECMA-335
      • Ubject to the ISO ( at level 60 : publication )
          • ISO 23270 (C#) , 23271(CLI) et 23272(CLI TR)
          • http://msdn.microsoft.com/net/ecma/
    • 15.
      • Spécifications C# - CLI ECMA – ISO
      Demo
    • 16. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of the .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : A range of IDE
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of the .NET Framework
      • … .The contributions of the .NET to the developer !!!
    • 17. Overview of the .NET Framework
      • Structure of the .NET Framework
        • CLS : Common Language Specifications
        • FCL : Framework Class Library
        • BCL : Base Class Library
        • CLR : Common Language Runtime
        • CLI : Common Language Infrastructure
        • CTS : Common Type System
      • Langages .NET-Compliant
      • Types of Developments
        • Development of client applications
        • Development of server applications
        • Applications Web and services Web XML
        • Applications Windows
        • ADO .NET : data et XML
    • 18. .NET Framework’s Structure : CLS
        • CLS : Common Language Specifications
        • Define the constraints languages and their respective compiler must respect
          • Simple heritage
          • No case-sensitivity
          • Management of the exceptions
        • Allow to use objects among several languages
          • A J# class may be the basis class for a C# class
          • A Eiffel.Net client will be able to use this class
    • 19. .NET Framework’s Structure : FCL
        • FCL : Framework Class Library
        • Unified Class Library of the .NET Framework
        • Organized in Namespaces
        • Covers many topics :
      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
    • 20. .NET Framework’s Structure : BCL
        • BCL : Base Class Library
        • Basis Class Library of the .NET Framework
        • Distributes fondamental blocs
        • Common to any kind of development
        • La BCL contains for instance these
        • name spaces :
          • System
          • System.Collections
          • System.IO
          • System.Text
    • 21. .NET Framework’s Structure : CLR
        • CLR : Common Language Runtime
        • The CLR has a double role :
          • While developing your applications
          • While executing your applications
        • The CLR will provide services such as :
          • Loading and execution of your applications (Runtime) and of your code
          • Isolation of the applications’ memory
          • Management of the memory
          • Management of your assemblies metadata access
          • Conversion of IL code to machine code (JIT)
          • Garbage Collector : automatic cleaning of the memory
          • Management of the security of your applications
    • 22. .NET Framework’s Structure : CLI
        • CLI : Common Language Infrastructure
        • CLR’s Infrastructure , the CLI (Common Language Infrastructure) (seen above when explaining FCL)
        • is just as the specifications of the
        • C# language, standardised with ECMA
        • ECMA : www.ecma-international.org/publications/standards/Standard.htm
        • Standard ECMA-335 : Common Language Infrastructure (CLI) – 3rd edition (June 2005) www.ecma-international.org/publications/standards/Ecma-335.htm
    • 23. .NET Framework’s Structure : CTS
        • CTS : Common Type System
        • Common Type System : published at ECMA
          • CTS is part of the CLI
        • Types defined within the CLR
          • Unique, but « mapped » by syntaxes
          • Int , integer … vers INT32
          • Unique String for all syntaxes
    • 24. .NET Framework : Structured to unify ! Heritage, Control, performance Windows API MFC/ATL ASP Stateless, mix of code/HTML VB Forms RAD, Composition, Delegation .NET Framework RAD, Heritage, control and performance, WebDynamic & WebServices
    • 25. .NET-Compliant languages : Unification !
      • .Net platform is independent from language
        • All languages access services provied by the CLR
      • Common Langage Spécification (CLS)
        • Writing specification « syntaxic » compilers
        • Each language uses and extends the.Net framework
        • .Net languages are interoperables.
        • Published at ECMA
      Common Language Specification VB C++ C# J# …
    • 26. Langages .NET-Compliant : Unification ! C# VB C++ Cobol
    • 27. Microsoft .NET Languages
      • C# - Microsoft's flagship .NET Framework language which bears similarities to the C++ and Java languages.
      • Visual Basic .NET - A completely redesigned version of the Visual Basic language for the .NET Framework. This also includes Visual Basic 2005 (v8.0).
      • C++/CLI and the deprecated Managed C++ - A managed version of the C++ language.
      • J# - A Java and J++ .NET transitional language.
      • JScript .NET - A compiled version of the JScript language.
      • Windows PowerShell - An interactive command line shell/scripting environment which provides full access to the .NET frameworks.
      • IronPython - A .NET implementation of the Python programming language being developed by Jim Hugunin at Microsoft.
      Source : Microsoft .NET Languages http://en.wikipedia.org/wiki/Microsoft_.NET_Languages
    • 28.
      • VS 2005 – About !
      Demo
    • 29. Non-Microsoft .NET Languages Source : Microsoft .NET Languages http://en.wikipedia.org/wiki/Microsoft_.NET_Languages
    • 30. Roadmap
      • .NET Framework and.NET platform
      • Architecture of the .NET Framework
      • How .NET Framework works
      • New features of the.NET Framework 2.0
      • Visual Studio 2005 : a line of IDE’s
      • .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .What .NET brings to the developer !!!
    • 31. Installation of the .NET Framework
      • Free
      • Integration to some editions Windows (server…)
      • Downloadable via MSDN or Windows Update
        • http://www.microsoft.com/france/msdn/netframework/download/default.mspx
      • You are user : «  The redistribuable .NET Framework  »
        • Download the redistribuable package of Microsoft .NET Framework 2.0 allowing to instal the runtime .NET Framework and the associated files required for the execution of developed applications for the .NET Framework 2.0.
      • You are developer : «  The .NET Framework SDK  »
        • What difference between the Microsoft .NET Framework SDK and the .NET Framework redistribuable ? The development kit (SDK) allows you to develop on the.NET platform without using a particular IDE like Visual Studio .NET, SharpDevelop, ...
    • 32. Development Tools (Qqs exemples)
      • SharpDevelop2
        • SharpDevelop is a free IDE allowing the development of the WinForm projects in C# 2.0 ou VB 2005.
        • Can download here : www.icsharpcode.net/OpenSource/SD/Download
    • 33. Development Tools (Qqs exemples)
      • Visual Studio 2005
        • Visual Studio 2005 is a range of Microsoft products allowing us to develop all types of softwares for Windows, the web, the mobility or based on Office.
        • Consult the official Visual Studio 2005 site here : www.microsoft.com/france/msdn/vstudio/default.mspx
        • free Express Range
    • 34.
      • Hello World
      Demo
    • 35. Code and compilation …
      • Code .NET = Assembly
        • Exe, Dll, .NET Module, Pages AspX, Web Services Asmx
      • Each code .NET is compiled in 2 times :
        • Source code toward MSIL
          • « syntaxic compilers » (C#, MC++, J#, VB.NET …)
          • Microsoft Intermediate Language
        • IL vs binary code
          • Just In Time Compilation
          • Compilator included in the runtime .NET
        • Each.NET code is executed in binary
          • No translator : Just In Time Compilation
    • 36. .NET Assemblies
      • Contain MetaData and MSIL
        • Format PE,
          • Version, configuration, legal…
      • Characterized by a MANIFEST
        • Assembly externes + version
        • Description of the types + version
        • Description of the modules
      • Can be signed
        • Strong Name and GAC
        • Security and configuration applies to the assemblies
      • Display units
      MZ Header PE Header COFF Header CLR Metadata Executable IL /Machine code
    • 37. Intermediate Language
      • A kind of « super » assembler, independent of the hardware…
        • « Pseudo » code
      • Contained in exe/dll/Module
        • Format PE standard (extend for the méta data)
      • Will be compiled in binary :
        • At the execution (Just In Time Compilation)
        • Before display (pré JIT)
    • 38.
      • .NET Reflector - IL Reflection
      Demo
    • 39. What applications ?
      • Consoles Applications
      • Windows & Smart Client Applications
      • Installation projects and the display
      • Library of classes
      • Web Applications
      • Web Services
      • Windows Services
      • Smart Device Application
      • Everything in a model of unified development !
    • 40.
      • VS2005 New Project Types
      Demo
    • 41. To spread your.NET applications
      • Side by Side
        • With simple copy (MSI, .CAB …)
        • EXE and DLL in the same index
        • Or under index : Probing
        • /bin for the WEB sites
      • GAC
        • Global Assembly Cache
        • Obligatory Signature
        • Assembly pré JIT
      • Download cache
        • Strong Constraints of security
    • 42. Security and configuration .NET
      • Several levels of configurations :
        • Application
        • Machine
        • Compagny
      • MMC et snap-in de configuration
        • XML files (possible generation of dlls…)
      • Security based on proofs :
        • Origin of the code,
        • What do the code (io, download the internet…)
        • Signatures
        • Roles
    • 43. Configuration and Security
      • Security based on the proofs :
        • Origin of the code,
        • What do the code
        • (io, download of internet…)
        • Signatures
        • Roles
      • Several levels of configuration :
          • Application
          • Machine
          • Compagny
      • MMC and snap-in configuration
        • XML files (possible generation of dlls…)
    • 44. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : A range of IED
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .The contributions of .NET to the developer !!!
    • 45. New features of .NET Framework 2.0
      • 64-Bit Platform Support
      • Access Control List Support
      • ADO.NET
      • ASP.NET
      • Authenticated Streams
      • COM Interop Services Enhancements
      • Console Class Additions
      • Data Protection API
      • Debugger Display Attributes
      • Debugger Edit and Continue Support
      • Detecting Changes in Network Connectivity
      • Distributed Computing
      • EventLog Enhancements
      • Expanded Certificate Management
      • FTP Support
      • Generics and Generic Collections
      • Globalization
      • I/O Enhancements
      • Manifest-Based Activation
      • .NET Framework Remoting
      • Obtaining Information About Local Computer Network Configuration and Usage
      • Ping
      • Processing HTTP Requests from Within Applications
      • Programmatic Control of Caching
      • Programming Languages
      • Visual Basic Compiler and Language
      • Compiler
      • Language
      • Security Exceptions
      • Serial I/O Device Support
      • Serialization
      • SMTP Support
      • Strongly Typed Resource Support
      • Threading Improvements
      • Trace Data Filtering
      • Transactions
      • Web Services
      • Windows Forms–Related Features
      • ClickOnce Deployment
      • Application Settings
      • New Data-Binding Model
      • New Windows Forms Controls
      • XML-Related Features
      Source : http://msdn2.microsoft.com/fr-fr/library/t357fb32(VS.80).aspx
    • 46. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : A range of IED
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .The contributions of .NET to the developer !!!
    • 47. A range of IED
      • Visual Studio 2005
    • 48.
      • VS C# Express Edition
      Demo
    • 49. New features of VS2005
      • in the IDE
      • in the edition of your code
      • in the creation and management of the Projets, Solutions, and Items
      • in the compilation, the test and the display
      • in the debugger of Visual Studio 2005
      • in the management of the extensions and automatisation in Visual Studio 2005
      • in the the help of Visual Studio 2005
    • 50. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : A range of IED
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .The contributions of .NET to the developer !!!
    • 51. Unification by the object !
      • Framework .NET object oriented
        • The Base Class Library (BCL) is organized in Namespaces
      • Several supports of the inheritance
        • « simple » Inheritance of implementation
        • Multiple inheritance of interfaces
        • Inheritance inter syntaxe
        • « graphique » inheritance
          • Form, Controles
        • From
          • code source or « binary »
    • 52.
      • Inheritance C#
      Demo
    • 53. Reminder of the object – POO !
      • The object is an instance of a class
      • The objects have:
        • Ad identity : they arerecognizable each other
        • A behaviour : they can realize several tasks
        • Membres : Methodes (Procedures, Functions, Fields, Event’s)
        • A state : they stock the informations
    • 54.
      • Class Designer
      Demo
    • 55. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : A range of IED
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .The contributions of .NET to the developer !!!
    • 56. Overview of C# 2.0
      • A C# program is composed of :
        • Main() Method
        • Classes
        • Spaces of names
        • Traditional …
      Exerciseur C# 2.0 : http://rmdiscala.free.fr/EditCs/EditCs.html
    • 57. Innovations of C# 2.0 and his compilator
      • Generics
        • public class List<T>
        • {
        • private T[] elements;
        • private int count;
        • public void Add(T element) {
        • if (count == elements.Length) Resize(count * 2);
        • elements[count++] = element;
        • }
        • public T this[int index] {
        • get { return elements[index]; }
        • set { elements[index] = value; }
        • }
        • public int Count {
        • get { return count; }
        • }
        • }
      Exploitation : List<int> intList = new List<int>(); intList.Add(1); // Pas de boxing intList.Add(2); // Pas de boxing intList.Add(&quot;Three&quot;); // Erreur levee lors de la compilation int i = intList[0]; // Aucun Cast nécessaire
    • 58.
      • Generics in C# 2.0
      Demo
    • 59. Innovations of C# 2.0 and his compilator
      • Partial Class
      // ClassPart2.cs using System; public partial class ClassPart { public void AutreMethode() { } } // ClassPart1.cs using System; public partial class ClassPart { public void Methode() { } }
    • 60.
      • Partial Class in C# 2.0
      Demo
    • 61. Innovations of C# 2.0 and his compilator
      • Anonymous methods
        • allow to instance a method without having to name it
      • button.Click += delegate { MessageBox.Show(&quot;HelloWorld&quot;); };
      • The following example shows a anonym method with arguments :
        • button.Click += delegate(object sender, EventArgs e) { MessageBox.Show(((Button)sender).Text); };
    • 62. And other innovations…
      • Nullable Types
        • Nullable types allow a variable to contain a value that is undefined. Nullable types are useful when working with databases and other data structures that may contain elements that contain no specific values.
      • Anonymous Methods
        • It is now possible to pass a block of code as a parameter. Anywhere a delegate is expected, a code block can be used instead: there is no need to define a new method.
      • Namespace alias qualifier
        • The namespace alias qualifier (::) provides more control over accessing namespace members. The global :: alias allows access the root namespace that may be hidden by an entity in your code.
      • Static Classes
        • Static classes are a safe and convenient way of declaring a class containing static methods that cannot be instantiated. In C# version 1.2 you would have defined the class constructor as private to prevent the class being instantiated.
      • External Assembly Alias
        • Reference different versions of the same component contained in the same assembly with this expanded use of the extern keyword.
      • Property Accessor Accessibility
        • It is now possible to define different levels of accessibility for the get and set accessors on properties.
      • Covariance and Contravariance in Delegates
        • The method passed to a delegate may now have greater flexibility in its return type and parameters.
      • How to: Declare, Instantiate, and Use a Delegate
        • Method group conversion provides a simplified syntax for declaring delegates.
      • Fixed Size Buffers
        • In an unsafe code block, it is now possible to declare fixed-size structures with embedded arrays.
      • Friend Assemblies
        • Assemblies can provide access to non-public types to other assemblies.
      • Inline warning control
        • The #pragma warning directive may be used to disable and enable certain compiler warnings.
      • volatile
        • The volatile keyword can now be applied to IntPtr and UIntPtr.
      Source US : http://msdn2.microsoft.com/en-us/library/7cz8t42e(VS.80).aspx Source Fr : http://msdn2.microsoft.com/fr-fr/library/7cz8t42e(VS.80).aspx
    • 63. Roadmap
      • The .NET Framework and the.NET platform
      • Architecture of .NET Framework
      • How .NET Framework works
      • New features of .NET Framework 2.0
      • Visual Studio 2005 : A range of IED
      • The .NET Framework and the POO
      • Innovations of C# 2.0 vs VB2005
      • Future of .NET Framework
      • … .The contributions of .NET to the developer !!!
    • 64. .NET Framework 3.0 - WinFx
      • WCF : Windows Communication Foundation The simplified management of the communications layer of your applications.
      • WF : Windows Workflow Foundation The stronger and distinct management of your application Workflows.
      • WPF : Windows Presentation Foundation The boarding of the user experience simplified by the layer.
      • Windows CardSpace Unique identification but more and more various services.
    • 65. .NET Framework 3.0 - WinFx Framework .net 2 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation CardSpace Framework .net 1.1 Framework .net 1.0 Security Mobile
    • 66. Resources
    • 67.
      • .NET Framework http://en.wikipedia.org/wiki/.NET_Framework
      • Microsoft .NET Languages http://en.wikipedia.org/wiki/Microsoft_.NET_Languages
      • C Sharp http://en.wikipedia.org/wiki/C_Sharp
      • .NET : la plate-forme d'entreprise de Microsoft http://www.microsoft.com/france/msdn/net/decouvrez/default.mspx
      • Benefits of Generics (C# Programming Guide) http://msdn2.microsoft.com/en-gb/library/b5bx6xee(VS.80).aspx
      • C# Programming Videos http://msdn2.microsoft.com/en-us/vcsharp/aa336819.aspx#2005
      • ECMA C# and Common Language Infrastructure Standards http://msdn2.microsoft.com/en-us/netframework/aa569283.aspx
      • Generics (C# Programming Guide) http://msdn2.microsoft.com/en-us/library/512aeb7t.aspx
      • Introduction to C# Programming with Microsoft .NET http://www.microsoft.com/learning/syllabi/en-us/2609Afinal.mspx
      • Communauté Développez http://dotnet.developpez.com/cours
      • Resources for Java Developers http://msdn2.microsoft.com/en-us/vstudio/aa700835.aspx
      • The C# Language http://msdn2.microsoft.com/en-us/vcsharp/aa336809.aspx
      • The C# Programming Language for Java Developers http://msdn2.microsoft.com/en-us/vstudio/aa700844.aspx
      • Visual Studio C# Express Edition http://msdn.microsoft.com/vstudio/express/visualcsharp/default.aspx
      • Centre de développement Visual C# http://www.microsoft.com/france/msdn/vcsharp/default.mspx
      • Visual C# Developer Center http://msdn2.microsoft.com/en-us/vcsharp/default.aspx
      • Visual C# Language http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cscon/html/vcoriCStartPage.asp
      • C# Tutorials http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcoricsharptutorials.asp
      • Nouveautés du langage et du compilateur C# 2.0 http://msdn2.microsoft.com/fr-fr/library/7cz8t42e(VS.80).aspx
      • What's New in the C# 2.0 Language and Compiler http://msdn2.microsoft.com/en-us/library/7cz8t42e(VS.80).aspx
    • 68.
      • http://www.dotnet-u.com/

    ×