<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 大阿福 閱讀(349) 評論(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)航:
     
    主站蜘蛛池模板: 国产福利免费视频| 亚洲伊人久久大香线蕉AV| 产传媒61国产免费| 国产无遮挡又黄又爽免费视频| 亚洲午夜无码久久| 日本亚洲免费无线码| 亚洲综合久久1区2区3区| 91精品国产免费| 嫩草影院在线免费观看| 亚洲久悠悠色悠在线播放| 在线观看亚洲电影| 亚洲AⅤ永久无码精品AA | 亚洲日韩在线观看| 一级毛片a免费播放王色电影| 亚洲AⅤ永久无码精品AA| 成人影片一区免费观看| 亚洲日本在线看片| 91在线视频免费91| 亚洲av日韩aⅴ无码色老头| 免费无码中文字幕A级毛片| 亚洲香蕉免费有线视频| 天天天欲色欲色WWW免费| 免费人成又黄又爽的视频在线电影| 毛茸茸bbw亚洲人| 四虎国产精品永久免费网址| 亚洲国产成人精品激情| 又粗又大又猛又爽免费视频| 亚洲黄色免费观看| 成年女人毛片免费观看97| 在线观看亚洲一区二区| 一个人免费观看www视频在线| 亚洲AV日韩AV一区二区三曲| 精品亚洲综合久久中文字幕| 男女免费观看在线爽爽爽视频| 亚洲国产成人AV在线播放| a毛片基地免费全部视频| 黄色免费在线网址| 91天堂素人精品系列全集亚洲| 男女啪啪永久免费观看网站| 中文字幕乱码一区二区免费| 亚洲一区二区三区高清在线观看|