An assemble is a file which contain IL(Intermediate language) code corresponds to a project.
It is also known as unit of deployment.
2 types
.exe--In process components which are capable of running on their own(Windows application).
.dll---Out process components which are not capable of running on their own(classs library)
Assembles are 2 types.
1.Private assembly
2.Shared assembly.
Shared assembly: The assemblies which are stored under the centralized location GAC(Global Assembly Cache) is known as shared assembly.
An assembly which contains 3 attributes like name,version,public key token are known as strong named assembly.
If you wish to include your assembly into GAC you need to create a public key token for that
Generating Public key token
sn -k filename
ex
sn -k key.snk.
copying assembly into GAC
hacutil -i/-u <assemblyname> i-Install, -u-uninstall
It is also known as unit of deployment.
2 types
.exe--In process components which are capable of running on their own(Windows application).
.dll---Out process components which are not capable of running on their own(classs library)
Assembles are 2 types.
1.Private assembly
2.Shared assembly.
Shared assembly: The assemblies which are stored under the centralized location GAC(Global Assembly Cache) is known as shared assembly.
An assembly which contains 3 attributes like name,version,public key token are known as strong named assembly.
If you wish to include your assembly into GAC you need to create a public key token for that
Generating Public key token
sn -k filename
ex
sn -k key.snk.
copying assembly into GAC
hacutil -i/-u <assemblyname> i-Install, -u-uninstall
No comments:
Post a Comment