Overview of the .NET Fx_Reviewed

Embed Size (px)

Citation preview

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    1/30

    The .NET Framework -Technology in Education

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    2/30

    Why .NET?

    Interoperability between languages andexecution environments

    Uniformity in schema or formats forData Exchange using XML, XSL

    Extend or use existing code that is valid

    Programming complexity ofenvironment is reduced

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    3/30

    The .NET Framework is

    A COMPONENT MODEL FOR THE INTERNET

    The new approach to building large scaledistributed systems for the Internet

    Provides the capability to integrate multipledevices

    Built around the tools and protocols (XML,WSDL, SOAP, HTTP) that are becomingstandard on the Internet

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    4/30

    The .NET Framework Design Goals

    Component Development for the Internet

    "Cross-Language Development

    Inheritance, Debugging, Exceptionhandling

    Reliability and Security

    Simple Development and Deployment Device-agnostic

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    5/30

    Understanding the .NET Framework

    .NET Framework Architecture

    .NET Web Services Key Benefits

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    6/30

    .NET Framework Architecture

    Visu

    alStudio.N

    ET

    Operating System

    Common Language Runtime

    Base Class Library

    ADO .NET and XML

    ASP .NET Windows Forms

    Common Language Specification

    C# VB C++ Scheme

    Base Framework

    Data Connectivity

    XML Services User Interfaces

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    7/30

    Common Language Runtime

    Common Type System

    Metadata

    Execution Engine

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    8/30

    Common Language Runtime

    Class Loader

    MSIL to Native

    Compilers (JIT)

    Code

    Manager

    Garbage

    Collector (GC)

    Security Engine Debug Engine

    Type Checker ExceptionManager

    ThreadSupport COM Marshaler

    Base Class LibrarySupport

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    9/30

    Intermediate Language (IL)

    VB VC ... Script

    IL

    Native

    Code

    Econo-JITCompiler Standard JITCompiler

    NativeCode

    Install time

    Code Gen

    Common Language Runtime

    Assembly

    Languageof CLR

    Code isneverinterpreted

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    10/30

    .NET Classes

    Namespaces and Classes Hierarchical, unified, extensible class libraries

    Provide system and base functionality and services

    Everything is an object! Interfaces

    The .NET (Service) contracts

    Types

    Byte, Sbyte, Single, Double, String, Int16, Int32, Int64etc.

    Common Type System - Common TypeDenominator

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    11/30

    Unified Programming Model

    OS API

    .NET Framework

    Consistent API availability regardless of

    language and programming model

    Web PagesClass LibrariesWindowing

    (GUI)

    RAD,Composition,Delegation

    Subclassing, Power,Expressiveness

    Stateless,Code embeddedin HTML pages

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    12/30

    Languages

    lcc

    (MS Research Redmond) Mondrian (Utrecht)

    ML(MS Research Cambridge)

    Mercury(Melbourne U.)

    Oberon (Zurich University)

    Oz (Univ of Saarlandes)

    Perl Python

    Scheme (Northwestern U.)

    SmallTalk

    Ada APL Basic (Visual Basic) C# C

    C++ J# COBOL Component Pascal

    (Queensland Univ of

    Tech) ECMAScript (JScript) Eiffel (Monash University) Haskell

    (Utrecht University)

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    13/30

    Visual Studio .NET

    Increased programming productivity Easier to write code: drag and drop Web App and Services

    Development. Fully supports the .NET Framework

    Simplified development Multi-language support Improved debugging Unified IDE

    Powerful design tools Windows Forms, Web Forms XML and component designers Consistent set of tools across languages

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    14/30

    The .NETCompactFramework

    Designed specifically for smart devices Lightweight architecture Compatible subset of desktop platform Visual Studio.NET used for app development Adaptable to different application needs Build Smart Device applications in Visual Studio

    .NET

    Broad availability Across multiple CPUs Across Windows CE and third-party RTOSes Across a variety of physical form factors

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    15/30

    .NET Services

    What is a Web Service? Unit of application logic providing data and

    services over the Web using standard protocols XML Web Services expose additional services

    needed to build solutions ASP .NET in the .NET Platform

    Building Block Services Basic services used to build applications and Web

    Service Examples: www.xmethods.com Access through any Website

    http://www.xmethods.com/http://www.xmethods.com/
  • 7/31/2019 Overview of the .NET Fx_Reviewed

    16/30

    XML Web Services FoundationSimple, Open, Broad Industry Support

    Ubiquitous Communications: Internet

    Universal Data Format:XML

    Service Interactions: SOAP

    Publish, Find, Use Services: UDDI

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    17/30

    How .NET Makes Web Services Possible

    .NET is built on Internet standard protocols Uses Framework classes, such as System.Web.Services

    Enables communication through open standards XML

    Service description expressed with WSDL SOAP

    Basic wire format Universal Description Discovery Integration (UDDI)

    HTTP

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    18/30

    .NET Key Benefits

    Ease of Use

    Object-oriented model

    Namespace and Framework structure

    Freedom to Choose

    The language that meets your needs

    The development tool that will make it easier to

    learn programming

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    19/30

    .NET Key Benefits

    Stability

    Garbage collection

    Assemblies eliminates DLL compatibility issues

    Security

    Restricting or containing the illegal memoryreference

    Comprehensive security model

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    20/30

    .NET Key Benefits

    Deployment and Management

    Unified Experience

    Web Services

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    21/30

    Motivations for Academia

    Students need to be stimulated withinteresting/challenging ideas and problems

    Industry focused students want skillsrelevant to their workplace

    Research - The Microsoft Shared SourceCLI (Rotor)

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    22/30

    Motivations for Academia

    Visualization of fundamental computingconcepts

    Visual Studio .NET Features: Class Browser,

    Object Browser, ILDasm, etc

    Rich framework libraries

    Leverage namespace/functions teach more CS

    concepts Teach advanced concepts earlier in the course

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    23/30

    Microsoft Resources for Faculty

    MSDN Academic Alliance New program from Microsoft

    Software for computer science, engineering, and IScourses.

    Annual membership fee of $799 per department Membership runs from July-June

    Web site that supports program: (www.msdnaa.com) Visual Studio .NET Academic released on Feb 27th 2002

    Well received at the 2002 SIG for Computer ScienceEducation 2002 ACM Student Competition winning project

    (Distributed File Systems) used .NET Visual Studio .NET Academic 2003 (Apr 24th) Curriculum Development Kits

    Resource Kit CD, Academic Reviewers Guide Textbook, Whitepaper, Full product of Windows XP and VS

    .NET Academic

    http://www.msdnaa.com/http://www.msdnaa.com/
  • 7/31/2019 Overview of the .NET Fx_Reviewed

    24/30

    Visual Studio .NET Academic

    All the features of VS .NET Professional withStudent and Faculty Tools

    Faculty Tools - Course Management, Auto Check

    and Grading Student Tools Get Assignments and Upload

    completed assignments

    Samples tailored to student needs

    Extensive documentation and walkthroughs

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    25/30

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    26/30

    General Resources

    Visit the following sites for more information onproduct capabilities

    www.gotdotnet.com

    www.asp.net www.csharptoday.com

    Faculty Online Community at www.msdnaa.com

    Student Online Community at

    www.gotdotnet.com/student Download the .NET Framework SDK from

    msdn.microsoft.com

    http://www.gotdotnet.com/http://www.asp.net/http://www.csharptoday.com/http://www.msdnaa.com/http://www.gotdotnet.com/studenthttp://www.gotdotnet.com/studenthttp://www.msdnaa.com/http://www.csharptoday.com/http://www.asp.net/http://www.gotdotnet.com/
  • 7/31/2019 Overview of the .NET Fx_Reviewed

    27/30

    Recommended Textbooks

    Courses focusing on Compilers: "Compiling for the .NET Common Language

    Runtime" by John Gough

    Courses focusing on 'Introduction toProgramming':

    "C# and the .NET Platform at

    http://www.apress.com/catalog/book/1893115593

    "C# How to Program by Deitel and Deitel(currently being used at Yale)

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    28/30

    Microsoft Hands-On Labs

    Labs on

    Peer-to-Peer Computing with Terrarium

    http://www.gotdotnet.com/terrarium

    http://www.gotdotnet.com/terrariumhttp://www.gotdotnet.com/terrarium
  • 7/31/2019 Overview of the .NET Fx_Reviewed

    29/30

  • 7/31/2019 Overview of the .NET Fx_Reviewed

    30/30

    2002 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.