Download presentation
Presentation is loading. Please wait.
Published byGarey Fisher Modified over 9 years ago
1
Overview of.NET Framework Carlotta Eaton Associate Professor of IST New River Community College Dublin, VA Slides created by Microsoft Modified by Carlotta Eaton
2
2 Agenda Development Challenges Implementation and Benefits Application Types .NET Language Support Visual Studio ®.NET
3
3 Development Challenges Software Integration Development and deployment complexity Multiple programming models Underlying details not abstracted Security not inherent
4
4 Implementation and Benefits.NET Framework and Tools Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms Web Services Mobile Internet Toolkit WindowsForms Common Language Specification VBC++C#J#… Visual Studio.NET
5
5 Implementation and Benefits Common Language Runtime Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms Web Services Mobile Internet Toolkit WindowsForms Common Language Specification VBC++C#J#… Visual Studio.NET
6
6 Implementation and Benefits.NET Evolution – Before COM Before COM, applications were completely separate entities with little or no integration Application Code and data structures
7
7 Implementation and Benefits.NET Evolution - Using COM COM provides a way for components to integrate. However, each component must provide the “plumbing” and objects cannot directly interact.
8
8 Implementation and Benefits.NET Evolution - Using.NET Framework With the.NET Framework common language runtime, components are built on a common substrate. No “plumbing” is needed and objects can directly interact
9
9 Implementation and Benefits Compilation and Execution Source Code Compilation At installation or the first time each method is called Language Compiler Assembly Execution JIT Compiler NativeCode Code (IL) Metadata
10
10 Implementation and Benefits Robust Environment Automatic lifetime management All objects are garbage collected Helps you avoid memory leaks Exception handling Error handling 1 st class and mandatory Type-safety No buffer overruns, No unsafe casts, Uninitialized variables Helps you avoid hacker attacks
11
11 Implementation and Benefits Simplify Development Common Type System Common instance and type definition Enables clean OO programming Classes and Interfaces Constructors, Properties, Methods Cross-language inheritance Built-in interoperability With COM With native Win32 ® DLLs
12
12 Implementation and Benefits Simplify Deployment, Management Zero-impact install Applications, components shareable or private Side-by-side execution Multiple component versions can co-exist Even in the same process .NET does not use Windows registry Assemblies Contain dependency information Avoid DLL Problems
13
13 Implementation and Benefits.NET Framework Class Library Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms Web Services Mobile Internet Toolkit WindowsForms Common Language Specification VBC++C#J#… Visual Studio.NET
14
14 Implementation and Benefits.NET Framework Class Library ( >6000 classes) System System.DataSystem.Xml System.Web Globalization Diagnostics Configuration Collections Resources Reflection Net IO Threading Text ServiceProcess Security Common OleDb SQLTypes SqlClient XPath XSLT Runtime InteropServices Remoting Serialization Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.Windows.Forms DesignComponentModel
15
15 Implementation and Benefits Unified Development Paradigm Windows API.NET Framework Consistent API availability regardless of language and programming model ASP Stateless, Code embedded in HTML pages MFC/ATL Subclassing,Power,Expressiveness VB Forms RAD,Composition,Delegation
16
16 Implementation and Benefits Factored and Extensible Not a “black box” .NET classes available through inheritance The sealing is much higher Plug-and-play components and subsystems
17
17 Application Types Console Applications Build Command Line Executables Use Any.NET Language Batch Processing Unattended Execution Very Light Weight Hello World ~ 5k
18
18 Application Types Windows Services Build Services in any.NET Language Process Installer Writes registry entries Identity User Name Password System Account Start Type Manual Automatic Disabled
19
19 Application Types Windows Forms Desktop Applications Form Based Database Front-End SDI/MDI Explorer Style Applications Docking Splitters Deployment XCopy No-Touch (even easier than XCopy!) Printing Page settings Print Preview
20
20 Application Types Web Forms Much Less Coding VB-Style Programming Model Validator Controls Rich Controls DataGrid DataList Calendar Sessions Are Safe to Use! Span servers in a web farm Don’t require cookies Tracing Caching More Events in Global.asax Begin Request, End Request, Error, etc.
21
21 Application Types XML Web Services Evolution of applications and Web sites Secure interactions across trusted boundaries New integration methodology Cross any operating system in any language Programmable application components Accessible via standard Internet protocols HTTP, XML, SOAP, WSDL, UDDI Framework-provided support Automatic generation of XML, SOAP, WSDL
22
22 Application Types Web Services Data Schema Services Invocation FrameworkObjects Classes Methods CallsWebXML XSD WSDL SOAP ApplicationConcepts The.NET Framework provides a bi-directional mapping
23
23.NET Language Support Common Language Specification First class support across the board Microsoft provided languages Visual Basic ®, C#, C++, J#, JScript ® 3rd-party provided languages APL, Cobol, Component Pascal, Eiffel, Fortran, Haskell, Mercury, Oberon, Oz, Perl, Python, RPG, Scheme, Smalltalk, Standard ML
24
24 Visual Studio.NET Integrated Development Environment Simplifies mixed-language development Single Solution Explorer, Toolbox IntelliSense ® statement completion Squigglies End-to-end debugging support across Languages Projects Processes Machines
25
25 Summary Simplified development with unified programming models Simplified development with unified programming models Simplified application deployment and management Simplified application deployment and management Robust foundation with secure execution environment Robust foundation with secure execution environment Significant industry support for standards and multiple languages Significant industry support for standards and multiple languages
26
26 MSDN Subscriptions THE way to get Visual Studio.NET Visual Studio.NET MSDN Subscriptions NEW Professional Tools to build applications and XML Web services for Windows and the Web Tools to build applications and XML Web services for Windows and the Web MSDN Professional $1199 new $899 renewal/upgrade MSDN Enterprise $2199 new $1599 renewal/upgrade MSDN Universal $2799 new $2299 renewal/upgrade Enterprise Developer Enterprise lifecycle tools Enterprise lifecycle tools Team development support Team development support Core.NET Enterprise Servers Core.NET Enterprise Servers Enterprise Architect Software and data modeling Software and data modeling Enterprise templates Enterprise templates Architectural guidance Architectural guidance
27
27.NET Partners
28
28 Resources msdn.microsoft.com msdn.microsoft.com msdn.microsoft.com/seminar msdn.microsoft.com/seminar www.gotdotnet.com www.gotdotnet.com www.asp.net www.asp.net www.asp.net Microsoft Tech·Ed 2002 Microsoft Tech·Ed 2002 New Orleans, LA April 9 – 13, 2002 msdn.microsoft.com/events/teched
29
Questions?
30
30 © 2002 Microsoft Corporation. All rights reserved.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.