文件名称:Using Assemblies in Microsoft .NET and C# Using Assemblies in Microsoft .NET and C#
文件大小:215KB
文件格式:ZIP
更新时间:2010-12-12 11:19:44
.net assembly C# vs2005
1. Introduction
Summary
Scope
2. Setup of the .NET Framework
Microsoft .NET Framework Software Development Kit
3. Assemblies
Direct Use of DLLs
Private Assemblies
Global Assemblies
Compile/Link Cycle
View Assemblies - The Intermediate Language Disassembler (ILDASM)
4. Sample Application
Steps
App.cs
Hello.cs
GoodBye.cs
HowDoYouDo.cs
Compile Classes to DLLs - The CSharp Compiler (CSC)
Group DLLs in a Private Assembly - The Assembly Linker (AL)
5. Create Global Assembly
Generate Key File - The Strong Name Utility (SN)
Version Control and Linking
Load into Assembly Cache - The Global Assembly Cache Utility (GACUTIL)
6. Compile and Run Executable (EXE)
Reference Private and Global Assemblies
Add DLLs Directly and Reference Global Assemblies
Run it
7. Loading DLLs on Demand
Start Debugger
List Modules
8. Step into Private Assemblies
Private Assemblies are Referencing DLLs
Version Control and Signing
Correct Version Required
Recognition of Tampered Files
9. Step into Global Assemblies
Delete Locally Compiled Global Assemblies
Remove Assembly from GAC
Check Public Key Token
10. Version Global Assemblies
Attributes
Compile/Link and Load into GAC
Same Name but Different Versions
Correct Version Required
11. Appendix
Commandfile to Build Sample Application
Download Sources
【文件预览】:
Using Assemblies in Microsoft .NET and C#.doc