C# Assembly学习
2012-05-28 16:02
246 查看
最近项目开发中,经常使用到接口映射和反映射的一些机制,深感理论缺乏,自己开发出来也很困难,个人觉得C# Assembly 这一块需要深入学习了。
先去百度了一些资料,可以看到C# Assembly的一些简单学习,深入的资料也比较少,后来同事推荐了一个电子文档C# 4.0 in a Nutshell,里面是第一手资料,全英文的,看得有些费力,不过还是要坚持了。
重点学习以下几章节:
1.Assembly
2.Reflection And Metadata
3.Dynamic Programming
4.Parallel Programming
当然,还有几块例如:Threading和Security也是很有兴趣,能高级应用的部分。
什么是Assembly(程序集)?
Assembly是一个包含来程序的名称,版本号,自我描述,文件关联关系和文件位置等信息的一个集合。在.net框架中通过Assembly类来支持,该类位于System.Reflection下,物理位置位于:mscorlib.dll。
下面是原本资料的定义:
What’s in an Assembly?
An assembly contains four kinds of things:
An assembly manifest
Provides information to the .NET runtime, such as the assembly’s name, version,
requested permissions, and other assemblies that it references
An application manifest
Provides information to the operating system, such as how the assembly should
be deployed and whether administrative elevation is required
Compiled types
The compiled IL code and metadata of the types defined within the assembly
Resources
Other data embedded within the assembly, such as images and localizable text
Of these, only the assembly manifest is mandatory, although an assembly nearly
always contains compiled types.
先去百度了一些资料,可以看到C# Assembly的一些简单学习,深入的资料也比较少,后来同事推荐了一个电子文档C# 4.0 in a Nutshell,里面是第一手资料,全英文的,看得有些费力,不过还是要坚持了。
重点学习以下几章节:
1.Assembly
2.Reflection And Metadata
3.Dynamic Programming
4.Parallel Programming
当然,还有几块例如:Threading和Security也是很有兴趣,能高级应用的部分。
什么是Assembly(程序集)?
Assembly是一个包含来程序的名称,版本号,自我描述,文件关联关系和文件位置等信息的一个集合。在.net框架中通过Assembly类来支持,该类位于System.Reflection下,物理位置位于:mscorlib.dll。
下面是原本资料的定义:
What’s in an Assembly?
An assembly contains four kinds of things:
An assembly manifest
Provides information to the .NET runtime, such as the assembly’s name, version,
requested permissions, and other assemblies that it references
An application manifest
Provides information to the operating system, such as how the assembly should
be deployed and whether administrative elevation is required
Compiled types
The compiled IL code and metadata of the types defined within the assembly
Resources
Other data embedded within the assembly, such as images and localizable text
Of these, only the assembly manifest is mandatory, although an assembly nearly
always contains compiled types.
相关文章推荐
- C# 学习笔记 (Assembly)-01
- [转]C#程序集Assembly学习随笔(第一版)_AX
- 【C#学习】Assembly (程序集)的概念
- C#程序集Assembly学习随笔(增补版,附图)_AX
- C#学习常用命名空间【1000】---System.Reflection 之Assembly(程序集)类
- C# 扩展方法[学习]
- C#学习笔记--1
- C#学习与上位机开发之2窗口介绍
- C#学习_《C#2008程序员教程(第三版)》1
- C#基础学习(二)
- C#学习经典方法之(八)---XmlNode.OuterXml属性
- C#学习笔记:设置label(标签)控件的背景颜色为透明
- C#.NET学习笔记---C#中方法覆盖时override和new的比较,abstract和virtual的比较(含C#多态的实现)
- 不能空着,发篇以前的C++学习笔记,不过现在在学C#
- 第01篇:C#星夜拾遗之如何开始C#学习
- [C#]C#学习笔记-CIL和动态程序集
- C#中使用Redis学习一 windows安装redis服务器端和客户端
- C#学习笔记 is 和 as
- 《C#高级编程》学习笔记------C#中的事件和委托
- C#内存映射文件学习总结