<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 38, comments - 9, trackbacks - 0, articles - 1

    參加.Net培訓(xùn)筆記一

    Posted on 2005-04-11 12:30 大阿福 閱讀(350) 評論(0)  編輯  收藏

    .NET:    distributed Service
    1. OS
    1)Server:
    windows.net ->2003
    win2000
    winNT
    2)client:
    windows XP
    windows 2000 prof
    windows 9x
    3)application server:
    .NET Enterprise Server
    exchange server
    ISA
    SQL server

    2. service:
    web service (vs.net)
    security
    transaction
    message route

    3. client:
    any device: pc/pda...

    Development:
     VS.NET
    .Net framework:  
    1)CLR
    common language runtime
    .net VM -> virtual machine
    before .NET:
    exe/dll -> bin
    .NET:
    exe/dll -> IL(intemediate language)

    .NET app -> clr -> bin -> exec

    a.exe
    portable executable header
    PE Header -> loading CLR Core code(.dll)

    2)base class lib
    PB/Delphi/VB/VC...
    .NET Class lib:
    .NET Framework -> OS

    features:
    1.  unified programming model
    2.  strong execution environment
    1)CLR -> exception mangager
    runtime exception
    2)CLR control process
    AppDomain(Application Domain)-> Remoting
    isolate .net app
    3. simplify Developing and deployment
    1)full OO
    2)OS interoperbility(API/COM)
    3)dll no registry
    4)side-by-side execution
    DLL HELL -> clsid/prgid
    different version components -> resident on the same computer -> executing in the same process!
    4. upgrade the scurity model
    1)buffer overflow
    type checker -> prohibit the invalid type converting.
     -> array index
    2)asp.NET -> windows authentication.
    3)code level security

    assembly:
    1)IL module
    2)Metadata -> descript the IL.
    3)resource file. bmp/exe/dll/script(readonly)

    ildasm.exe

    Solution -> projects
    project -> Assembly/.pdb(debug info)
     .pdb  assert debugcode
    1. debug:   y       y            y
    2. release: n       n            n

    debugcode: assert/condition compile

    class lib:
    1)namespace: logical structure across the different physics files.
    Root -> System.IO/XML/Diagnostics...
    System.Xml.Schema
    Classes -> .dll

    v1.0 -> vs.NET 2002
    v1.1 -> vs.NET 2003

    Winnt\Assembly
    GAC -> Global Assembly Cache

    System.dll -> System.IO/System.Net...
    System.Xml.dll -> System.Xml...

    2)Inherits Chain
    System.Object

    Comment:
    1. // (TODO/UNDONE/HACK)
    2. /* */
    3. ///

    NDOC

    1:30 afternoon

    OO: object oriented
    design pattern ->

    1. class <-> object
        code        memory
    2. class structure:
    Constructor
    Destructor
    Method -> overloading
    Property <-> public field
    Field
    3. Inherit: code-reuse
    single inherit

    4. morphism: Inherit chain
    1)virtual -> override
    2)abstract: hidden virtual
    3)interface: hidden virtual

    Abstract class  <-> general class
    Abstract member
    general member     general member   
    not allow instance  allow

    Interface                    <->   abstract class
    without any
    implement code                allow implement code
    Interface member             abstract member
                       virtual member
    multi-interface                   single abstract class

    public
    private
    protected
    internal
    protected internal


    develop  Component:
    Component:
    1)container: ISite
    2)release resource machinism: IDisposable

    CLR -> GC(garbage collector)

    managed      -> CLR
    unmanaged  -> OS

    lab:
    1. create class, add all OO elements.
    2. create derived class, implement morphism.
    3. create our own component with the resource releasing machinism.


    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 成人毛片18岁女人毛片免费看 | 亚洲自偷自偷图片| 狠狠色伊人亚洲综合网站色| 亚洲成人免费电影| 亚洲ⅴ国产v天堂a无码二区| 国产情侣久久久久aⅴ免费| 亚洲热妇无码AV在线播放| 精品无码国产污污污免费网站 | 亚洲精品高清无码视频| 国产A∨免费精品视频| 亚洲精品天堂成人片?V在线播放| 亚洲a无码综合a国产av中文| 黄网址在线永久免费观看 | 华人在线精品免费观看| 日本红怡院亚洲红怡院最新| 久久久精品免费国产四虎| 亚洲视频在线视频| 在线观看成人免费视频不卡| 一本色道久久88亚洲精品综合 | 国产免费一区二区三区VR| 精品一区二区三区无码免费直播| 免费一级特黄特色大片在线 | 在线成人精品国产区免费| 亚洲第一视频网站| 成人免费观看一区二区| 亚洲乱人伦中文字幕无码| 亚洲成A∨人片天堂网无码| 精品久久久久久国产免费了| 久久久久久亚洲精品中文字幕| 最近高清中文字幕免费| 中文字幕亚洲综合久久综合| 免费观看国产精品| 国产好大好硬好爽免费不卡| 亚洲18在线天美| 亚洲熟女乱综合一区二区| 99免费在线观看视频| 亚洲国产区男人本色| 亚洲精品国产精品乱码在线观看| 国产精品永久免费10000| 香蕉视频在线观看免费| 亚洲高清免费在线观看|