<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.


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


    網站導航:
     
    主站蜘蛛池模板: 亚洲黄页网在线观看| 一个人看的www免费在线视频| 在线免费观看色片| 男人j进女人p免费视频| 亚洲天堂中文资源| 成人免费视频一区二区三区| 免费精品国产自产拍在线观看| 亚洲成人精品久久| 日日夜夜精品免费视频| 中文字幕免费不卡二区| 亚洲AV无码一区二区三区人 | 99re免费在线视频| 亚洲国产AV无码一区二区三区| 亚洲熟妇无码八AV在线播放| 久久久久免费看黄A片APP| 韩日电影在线播放免费版| 国产精品亚洲片在线va| 亚洲熟妇无码AV在线播放| 日韩中文字幕免费| 桃子视频在线观看高清免费视频| 亚洲av纯肉无码精品动漫| 亚洲视频在线播放| 亚洲午夜激情视频| 在线免费不卡视频| 最近中文字幕免费mv在线视频| 黄色免费网址大全| 亚洲熟妇无码AV不卡在线播放| 亚洲2022国产成人精品无码区 | 国产亚洲成AV人片在线观黄桃| 久久久久国产精品免费免费搜索| 青青青国产手机频在线免费观看| WWW国产亚洲精品久久麻豆| 亚洲欧洲高清有无| 亚洲AV永久无码精品水牛影视| 免费乱理伦在线播放| 久久精品免费一区二区喷潮| 91精品全国免费观看含羞草 | 无码av免费网站| gogo免费在线观看| 国产精品亚洲专区无码牛牛| 67194在线午夜亚洲|