<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培訓筆記一

    Posted on 2005-04-11 12:30 大阿福 閱讀(346) 評論(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.


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


    網站導航:
     
    主站蜘蛛池模板: 国产美女无遮挡免费视频| 无码乱肉视频免费大全合集 | 最近中文字幕免费mv视频7| 亚洲综合图片小说区热久久| 久久这里只精品99re免费| 亚洲精品国产美女久久久| 国产一级片免费看| 亚洲AV无码久久| 日本免费xxxx| 77777午夜亚洲| 日本视频免费在线| h视频在线观看免费| 久久国产亚洲精品麻豆| 四虎国产精品永久免费网址| 亚洲第一永久在线观看| 成人免费毛片观看| 免费一级做a爰片久久毛片潮| 国产精品亚洲高清一区二区| 四虎影视无码永久免费| 亚洲视频一区二区三区| 成人免费视频网址| 一级做a爰片久久毛片免费陪| 亚洲精品狼友在线播放| 国产免费丝袜调教视频| 男男gvh肉在线观看免费| 国产亚洲日韩在线三区| 59pao成国产成视频永久免费| 亚洲日韩一区精品射精| 亚洲精品中文字幕无码蜜桃| 久久久久免费看黄a级试看| 亚洲专区一路线二| 免费吃奶摸下激烈视频| 可以免费观看的毛片| 亚洲男人天堂2022| 亚洲真人日本在线| 99精品国产免费久久久久久下载 | 日韩免费高清大片在线| 亚洲精品无码少妇30P| 精品亚洲永久免费精品| 我要看免费的毛片| a级毛片高清免费视频|