• 您的位置我爱Aspx >> VB.Net >> Chapter 4 Building Classes and Assemblies with VB.NET
  • Chapter 4 Building Classes and Assemblies with VB.NET

  • 作者:aspxer  来源:internet  日期:2007-5-20 14:01:37  关键字:.net
  • Chapter 4 Building Classes and Assemblies with VB.NET

    ding Classes and

    Assemblies with VB.NET

    During the last three or so years, most VB developers have

    spent a great percentage of their time building COM compo-nents.

    These components are used as the middle-tier compo-nents

    in n-tier systems. The benefits of building n-tier

    applications are well known, and include:

    • Code reuse

    • Elimination of many or all distribution headaches

    • Encapsulation of business logic to control business

    processes and access to databases

    Not surprisingly, VB.NET lets you build components, but

    they are no longer COM components. COM components

    have certain elements such as class IDs (s), type

    libraries, and interface IDs (s). Each class in a COM com-ponent

    has to support IUnknown and IDispatch .

    我对这篇文章有话说?
  • 广告位招租,广告代号:content_468_15
  • 上一篇:Chapter 3 Major VB.NET Changes(3)
    下一篇:Chapter 3 Major VB.NET Changes(2)