building 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 .
vb.net refers to one or more classes compiled into a file as
a class library, rather than a com component. class libraries
are compiled into an assembly, which often has a .dll exten-sion.
you can use the classes from the class library much like
you would the classes from a com component: you instanti-ate
the objects in the client application and then call proper-ties
and methods and respond to events. however, assemblies
are not com components; instead, they are .net assemblies.
chapter 4
building classes and assemblies with vb.net
Chapter 4 Building Classes and Assemblies with VB.NET-.NET教程,VB.Net语言
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » Chapter 4 Building Classes and Assemblies with VB.NET-.NET教程,VB.Net语言
相关推荐
-      VS2010的aspx文件中的html代码的格式化方法
-      .net 反序题目的详细解答第1/2页
-      asp.net创建html文本文件实例
-      比较完整的 asp.net 学习流程
-      官网 Ext direct包中.NET版的问题
-      C# XML操作 代码大全(读XML,写XML,更新,删除节点,与dataset结合等)第1/2页
-      c# 连接字符串数据库服务器端口号 .net状态服务器端口号
-      asp.net教程:简单的C#图片上传代码或C#文件上传代码
