330 likes | 479 Views
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.
E N D
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 • 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
.NET Server Will be built into Windows .NET Server • Microsoft .NET CLR • Microsoft Transaction Server • Microsoft Message Queue Server • IIS • Internet Explorer
.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#
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
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
Execution Model VB Java ... Script NativeCode Install timeCode Gen IL Common Language Runtime “Econo”-JITCompiler Standard JITCompiler NativeCode
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:
Web Services Vertical and Portal Services App Code Internet OS and Local Services Application SpecificWeb Services Building BlockWeb Services Browsers Devices
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
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
ASP.NET .NET Frameworks Win Forms ASP+ Web Forms ASP.NET Web Forms Services Data, Web Connectivity Base class libraries Common Language Runtime
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
Visual Studio .NET • IntelliSense • Project Management • Designers • Full Cycle Debugging
Notepad .NET http://mbronston/aspnetsbs/hello.aspx
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
Visual Studio .NET • Creating the Application
Visual Studio .NET • The Solution
Visual Studio .NET • Adding a Web Form
Visual Studio .NET • Designer
Visual Studio .NET • Designer (HTML)
Visual Studio .NET • Toolbox • Properties
Visual Studio .NET • Save • Build • Browse (View, Run)
Visual Studio .NET • Code Behind • Separate HTML UI from VB.NET and/or C# • Promote Reuse • Ease of Maintenance
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
Visual Studio .NET • Command Window • Immediate Window • Tabbed Documents with Auto-Hide
Visual Studio .NET • Class Viewer • Server Explorer
Visual Studio .NET • Document Outline • Task List
Visual Studio .NET • Interactive SQL
Visual Studio .NET • Mobile Emulator