How many types of assemblies are there , what are they?
Assemblies are the building blocks of .NET Framework applications. Public assembly- are the dll/exe file that can be used in different application. The main advantage of public assemblies is code reusability. Private assembly -is the assembly used inside the appliccationShared assembly- to run multiple versions of an application or component on the same computer. Satellite assembly -used for multi-cultural application in .NET
Assemblies are 3 types1.private (Available for the same programm)2. public/shared (saved in Global Assemblie cache for all .net assemblie)3. sattilite assemblies
Use sn -k for strong naming
Then use GACUTIL -i to install the assembly into GAC.
.Net Assembly can be classified in four Categories:
(A) With Respect to Program Access.
i) Private Assembly- It can be used only in one application.
ii) Public/Shared Assembly- It can be used by all applications in the server.
(B) With Respect to Number of Resources.
i) Static Assembly- It uses fixed resources.
ii) Dynamic Assembly- It supports dynamic creation of resouces or files at
runtime programatically.
(C) With Respect to Deployment.
i) Satellite Assembly- Easily Deployable. (Visual Studio 2005).
ii) Resource-Only Assembly- In Visual Studio 2003.
(D) With Respect to Number of Assemblies.
i) Single File Assembly- /Bin/x.dll
ii) Multi File Assembly- /Bin/x.dll
y.dll
z.dll
---
---
---
(A) With Respect to Program Access.
i) Private Assembly- It can be used only in one application.
ii) Public/Shared Assembly- It can be used by all applications in the server.
(B) With Respect to Number of Resources.
i) Static Assembly- It uses fixed resources.
ii) Dynamic Assembly- It supports dynamic creation of resouces or files at
runtime programatically.
(C) With Respect to Deployment.
i) Satellite Assembly- Easily Deployable. (Visual Studio 2005).
ii) Resource-Only Assembly- In Visual Studio 2003.
(D) With Respect to Number of Assemblies.
i) Single File Assembly- /Bin/x.dll
ii) Multi File Assembly- /Bin/x.dll
y.dll
z.dll
---
---
---
No comments:
Post a Comment