An assembly is the pre-compiled code which will be passed into a the .net JIT Runtime.
It is a machine independent format for the code which can be run by any .net Command Lanuage Runtime.
DLLs and EXEs are the common formats for assemblies.
Any DLL built from a .NET project is an assembly, as is an executable. Assemblies not only contain the CLI code for running under the Common Language Runtime, they also contain full information about the classes and structure of the code in the assembly.
Native DLL's are different in that contain barely any meta-information about the code and resources contained within the DLL. A native executable is almost identical to a DLL.
Assemblies are wonderful because of their modularity and built-in API meta-data.
Well, a .NET dll is an assembly, but .NET exe's can be assemblies as well, so that means that all .NET dlls are assemblies, but the reverse is not true.
Assembly | Dll |
An assembly is the unit of deployment and security for managed code projects. It is a .NET Component and can be used only in .NET managed applications.
Compiled code at run time is an assembly and After compilation of the requested ASP.NET file is complete, the assembly is loaded into the application domain, allowing late binding.
Codes in APP_Code folder during compilation will become one assembly.
Assembly present in bin can have either strong/weak Name and assembly in GAC Should have strong name.
| DLL contains library code to be used by any program running on Windows. A DLL may contain either structured or object oriented libraries.
Dll is an assembly.
|
No comments:
Post a Comment