VB.NET - Define Assembly in .NET

Define Assembly in .NET.

- An assembly is the primary unit of a .NET application.

- It includes an assembly manifest.

- Manifest describes the assembly.

- The .Net Framework keeps executable code or DLL in the form of assembly.

- The .Net Framework maintains multiple versions of the application in the system through assembly.

- The assemblies have MSIL code and manifest that contains metadata.

- The metadata contains version information of the assembly.

- Assemblies are the main building blocks.

- An assembly may be defined as a unit of deployment.

- A single assembly is a collection of types, and resources.

- The CLR does not understand any types that are outside assemblies.

- The CLR executes the code in assemblies as they contain MSIL code.

- They define type, version and security boundaries.

- Assemblies in .Net are a solution to the DLL hell problem as one can use different versions of the same assembly in different applications at the same time.

What is a shared assembly?

- An assembly is a partially compiled code library.

- In .NET framework, an assembly is a portable executable and can be an EXE (process assembly) or a DLL (library assembly).

- An assembly can consist of one or more files or modules in various languages.

- It is used in deployment, versioning and security.

- It is the standard for components developed with the Microsoft .NET.

- The .NET assemblies may or may not be executable, it means they might exist as the executable (.exe) file or dynamic link library file.

Shared assembly:

- This assembly is also called as strong named assemblies.

- These assemblies are copied to a single location .

- Shared assemblies are not copied in the private folders of each calling assembly.

- Each assembly has a four part name, including its face name, version, public key and culture information.

- It is stored in the Global Assembly Cache(GAC) with a strong name assigned to it.

- GAC contains a collection of shared assemblies.
VB.NET - Describe user interface design in .Net
Describe user interface design in .Net - Major elements of a user interface include forms, controls, and menus......
VB.NET - Define form.
Define form in VB.NET - Forms are the primary unit of the user interface........
VB.NET - Define Context menu in VB.NET
Context menu - It is useful for enabling access to commands in a variety of contextual situations.......
Post your comment