1 / 33

What is .NET?

What is .NET?. .NET Framework .NET Enterprise Servers .NET languages and language tools. .NET Framework. Framework Classes System (namespaces) Data, Diagnostics, IO, Math, Reflection, Security Win Forms Web Forms Console Applications. .NET Enterprise Servers.

tadhg
Télécharger la présentation

What is .NET?

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

E N D

Presentation Transcript


  1. What is .NET? • .NET Framework • .NET Enterprise Servers • .NET languages and language tools

  2. .NET Framework • Framework Classes • System (namespaces) • Data, Diagnostics, IO, Math, Reflection, Security • Win Forms • Web Forms • Console Applications

  3. .NET Enterprise Servers • Products that rely on XML as a language to describe data and SOAP as a protocol for transmission of data between products. • Microsoft Server Products • Biztalk Server 2000 • Commerce Server 2000 • Exchange Server 2000 • SQL Server 2000 • Internet Security and Acceleration Server 2000 • Mobile Information Server 2001 • Share Point Portal Server 2000

  4. .NET Server Will be built into Windows .NET Server • Microsoft .NET CLR • Microsoft Transaction Server • Microsoft Message Queue Server • IIS • Internet Explorer

  5. .NET Languages Today focus is on ASP.NET • Primary namespace is System.Web.UI • Emphasis on base and derived classes • Work seamlessly with VB.NET and C#

  6. Service/Tools/Platform Spectrum Internetand Web Services .NET Framework .NET Compact Framework Functionality, Power, Features Consistent tools and programmability .NET Compact Framework Reach across device form factors, CPUs, OSes

  7. Mobile Device ChallengesDiversity of physical capabilities

  8. Common Language Runtime Frameworks Base Classes Common Language Runtime ExecutionSupport Security IL to native code compilers GC, stack walk, code manager Class loader and layout

  9. Execution Model VB Java ... Script NativeCode Install timeCode Gen IL Common Language Runtime “Econo”-JITCompiler Standard JITCompiler NativeCode

  10. Calc.dll Util.dll Calc.dll Assembly Metadata Type Metadata Assembly Metadata Type Metadata Type Metadata IL Code IL Code IL Code Pict.gif Resources Resource Assemblies • Assemblies contain: Assembly Metadata (manifest), Type Metadata, IL code, Resources • May all be in one file, or may be spread across several files:

  11. Web Services Vertical and Portal Services App Code Internet OS and Local Services Application SpecificWeb Services Building BlockWeb Services Browsers Devices

  12. The complete SOAP Message SOAP Message Standard Protocol (HTTP, SMTP, etc.)and SOAP Headers <Envelope> encloses payload SOAP Envelope SOAP Header <Header> encloses headers Individual headers SOAP Body <Body> contains SOAP Message Name and Data XML Encoded SOAP Message Name and Data What Is A SOAP Message? Protocol Headers Headers Message Name & Data

  13. Controls,Designers,Code-gen, etc XSL/T, X-Path,Validation, etc XmlData-Document DataSet Sync XmlReader DataSet-Command DataReader XmlText- Reader XmlNode- Reader Command Connection Managed Provider Data In The Web Platform

  14. ASP.NET .NET Frameworks Win Forms ASP+ Web Forms ASP.NET Web Forms Services Data, Web Connectivity Base class libraries Common Language Runtime

  15. What New? • Web Forms • Server Controls • Web Services • Caching • Web.config • State Management • Role based Security • Automatic Recycling • Package & Deployment for Web Application • XML designer & editor • Mobile forms

  16. Visual Studio .NET • IntelliSense • Project Management • Designers • Full Cycle Debugging

  17. Notepad .NET http://mbronston/aspnetsbs/hello.aspx

  18. Visual Studio .NET • What is a ASP.NET Application? • IIS Site or Virtual Directory • 1 or more ASPX files • global.asax file • web.config file

  19. Visual Studio .NET • Creating the Application

  20. Visual Studio .NET • The Solution

  21. Visual Studio .NET • Adding a Web Form

  22. Visual Studio .NET • Designer

  23. Visual Studio .NET • Designer (HTML)

  24. Visual Studio .NET • Toolbox • Properties

  25. Visual Studio .NET • Save • Build • Browse (View, Run)

  26. Visual Studio .NET • Code Behind • Separate HTML UI from VB.NET and/or C# • Promote Reuse • Ease of Maintenance

  27. Visual Studio .NET • File Types • aspx – web form page (ASP page) • ascx – user controls (ASP include) • asmx – implement web service • vb – code behind vb.net (vbscript) • cs – code behind c# • global.asax – application, session startup vars & procedures • and assembly linking • web config – xml configuration file, hierarchical interpretation • and user overrides

  28. Visual Studio .NET • Command Window • Immediate Window • Tabbed Documents with Auto-Hide

  29. Visual Studio .NET • Class Viewer • Server Explorer

  30. Visual Studio .NET • Document Outline • Task List

  31. Visual Studio .NET • Interactive SQL

  32. Visual Studio .NET • Mobile Emulator

More Related