6579810-block-1

Upload: borisg3

Post on 02-Jun-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 6579810-Block-1

    1/48

    Fujitsu Computer Systems

    Block 1

    .NET Technology OverviewFujitsu Software Corporation

    Customer Training Series

    Presented by:

    Tim OBrienSenior Systems EngineerFujitsu Software Corporation

  • 8/11/2019 6579810-Block-1

    2/48

    PAGE 2 Fujitsu Computer Systems

    Let us begin

    A journey of a t ousand mi!es must begin wit a sing!e step"# $Si% &entury B"C" C inese p i!osop er 'ao T(u

  • 8/11/2019 6579810-Block-1

    3/48

    PAGE Fujitsu Computer Systems

    !ere we "re

    Software development of is an industry besetwith incompatibilities

    Different LanguagesDifferent Operating Systems

    Different Hardware latforms!ncompatible " !sShifting "rchitectural Focus

    Changes were necessary#icrosoft$s vision% &'(T

  • 8/11/2019 6579810-Block-1

    4/48

    PAGE # Fujitsu Computer Systems

    $icroso%t h"s " vision

    "ddresses development issues of the past witha view toward the future

    (mbodied in #icrosoft &'(T

    'ew way of building applications that leveragesindustry standards

    #a)es interoperability a reality

  • 8/11/2019 6579810-Block-1

    5/48

    PAGE & Fujitsu Computer Systems

    $icroso%t h"s " vision '(ont)

    &'(T Framewor)latform for building and running &'(T applications

    #a)es development significantly easier

    Streamlines the development process

    (liminates the most common and debilitating bugsrovides a common " ! for all languages

  • 8/11/2019 6579810-Block-1

    6/48

    PAGE * Fujitsu Computer Systems

    $icroso%t h"s " vision '(ont)

    (ncompasses new trends in softwaredevelopment

    Distributed computingComponenti*ation(nterprise services+eb integration of applicationsLanguage interoperability

    (ncompasses many standards , SO" - +SDL-.DD!- HTT - HT#L- /#L

  • 8/11/2019 6579810-Block-1

    7/48PAGE + Fujitsu Computer Systems

    About Progr",,ing L"ngu"ges

    #icrosoft &'(T languagesC0

    12&'(T

    C3340

    Fujitsu &'(T languages

    CO2OLFortran

  • 8/11/2019 6579810-Block-1

    8/48PAGE - Fujitsu Computer Systems

    About our new evelo/,ent worl

    1isual Studio &'(T is the common !D( for all &'(T

    languages

    "DO&'(T

    +indows Forms

    "S &'(T and +eb Forms

    +eb Services

    Smart Devices

  • 8/11/2019 6579810-Block-1

    9/48PAGE 0 Fujitsu Computer Systems

    About our new evelo/,ent worl '(ont)

    &'(T is a new "pplications latformDevelopment Tools and framewor)

    Speciali*ed &'(T (nterprise Servers such asS5L Server

    2i*tal) Server Commerce Server

    "pplication Center Server

    Host !ntegration Server

    !nternet Security Server "cceleration Server

  • 8/11/2019 6579810-Block-1

    10/48PAGE 1 Fujitsu Computer Systems

    Buil ing Blocks

    Operating System on Servers, Desktops, Notebooks and smart devices

    .NET BuildingBlock Services.NET Framework NET Enterprise

    Servers

    isual Studio .NET

  • 8/11/2019 6579810-Block-1

    11/48PAGE 11 Fujitsu Computer Systems

    Putting together the /u le

    'etCO2OL for&'(T

    12&'(T "DO&'(T

    CTS

    C0

    CL6 & '(T

    Framewor)

    C33 "S &'(T

  • 8/11/2019 6579810-Block-1

    12/48

  • 8/11/2019 6579810-Block-1

    13/48PAGE 1 Fujitsu Computer Systems

    (o,/onents "n Ter,s '(ont)

    'amespaces

    4ust in Time 74!T8 compilers and the 1erifier

    Common Language 6untime 7CL68

    #anaged vs& .nmanaged Code

    latform !nvocation Services

  • 8/11/2019 6579810-Block-1

    14/48PAGE 1# Fujitsu Computer Systems

    (o,/onents "n Ter,s '(ont)

    Framewor) base classes

    Data and /#L Classes

    +indows Forms

    +eb Forms

    +eb Services

  • 8/11/2019 6579810-Block-1

    15/48

    PAGE 1& Fujitsu Computer Systems

    (o,,on L"ngu"ge 3/eci%ic"tion '(L3)

    Supports multiple language integration

    Specifies a set of common data types7CTS8

    Defines rules for e9ternal componentaccessibility

  • 8/11/2019 6579810-Block-1

    16/48

    PAGE 1* Fujitsu Computer Systems

    (L3 '(ont)

    Ta)es full advantage of e9ceptions- inheritance-and polymorphism&

    rovides for automatic garbage collection

    "ll &'(T compilers must adhere to the CLS andCTS

  • 8/11/2019 6579810-Block-1

    17/48

    PAGE 1+ Fujitsu Computer Systems

    $icroso%t 4nter,e i"te L"ngu"ge '$34L)

    "bstract intermediate language , a conceptcommon to many CO2OL compilers

    Similar to an "ssembly Language with additionalcommands to handle objects

    "ll &'(T Compilers must produce #S!L

    7sometimes called ;!L

  • 8/11/2019 6579810-Block-1

    18/48

    PAGE 1- Fujitsu Computer Systems

    $34L 5 (OBOL 3ource

    The following e9ample shows a snippet of code from the

    #S!L produced by the 'etCO2OL compiler for aHello+orld e9ample as shown%

    "met od pub!i& idebysig stati& int)* Pro&edure+, &i! managed - "entrypoint

    .. Code si(e *)/ +0%ea, "ma%sta&1 2

    "!o&a!s init +int)* 3405&!ass 6Fujitsu"COBO'7Fujitsu"COBO'"8untime"ProgramContro!"9isp!ay nfo67 34;5

    &!ass 6Fujitsu"COBO'7Fujitsu"COBO'"8untime"ProgramContro!"9isp!ay nfo67 34*5

    3 8O>=E>T 9 3 S O>"

    9ATA 9 3 S O>"O8 > $STO8A ESECT O>"P8OCE9D8E 9 3 S O>"

    9 SP'A GE''OO8'9 "E>9 P8O 8A= =A >"

  • 8/11/2019 6579810-Block-1

    19/48

    PAGE 10 Fujitsu Computer Systems

    $et" "t"

    &'(T (9ecutables contain metadata , detaileddescriptions of data types and interfaces

    This includes descriptions of classes- methods-

    properties- fields- events- etc&

    #etadata allows e9ecutables to be truly self=contained and self=describing

  • 8/11/2019 6579810-Block-1

    20/48

    PAGE 2 Fujitsu Computer Systems

    $et" "t" '(ont)

    #etadata is )ind of li)e a super type library

    The use of #etadata removes the re>uirementto use the +indows registry

    " vast improvement over CO#

    "ids in language interoperability

  • 8/11/2019 6579810-Block-1

    21/48

    PAGE 21 Fujitsu Computer Systems

    $"ni%est

    &'(T assemblies also contain a #anifest whichdescribes everything about the assembly such as filesbelonging to that component

    (9ternal references to other assemblies and classes

    ermission re>uests

    "nything else re>uired for component usage

  • 8/11/2019 6579810-Block-1

    22/48

    PAGE 22 Fujitsu Computer Systems

    4L6A3$

    !LD"S# ,!ntermediateLanguageDisasembler is autility that lets you

    view metadata&

    !t will also allow

    you to see #S!L?

  • 8/11/2019 6579810-Block-1

    23/48

    PAGE 2 Fujitsu Computer Systems

    A//lic"tion 6o,"ins

    '(T "ssemblies e9ecute within an "pplication Domain

    Similar to +indows rocesses

    #ultiple "pplication Domains may runwithin a single +indows rocess

  • 8/11/2019 6579810-Block-1

    24/48

  • 8/11/2019 6579810-Block-1

    25/48

    PAGE 2& Fujitsu Computer Systems

    Asse,blies

    &'(T (9ecutables are called ;"ssemblies