| Author: srilu 23 Jun 2008 | Member Level: Diamond | Rating: Points: 6 |
Hi, We can define an assembly as a collection of namespaces and classes which we use in the .net and also consists of information (called metadata) which describes the assembly(version,culture) which prevents DLL Hell.
type of Assembly: Private...Assemblies used in single application Shared...assembly used in multiple applications. To make a private assembly as shared, we need to define a strong name for that and install it in the GAC
GAC is a place where all assemblies can be stored.Once added to the GAC, the assembly can be shared across multiple applications.To store an assembly in the GAC, it requires a strong name which enables us to identify a assembly uniquely.
|
| Author: Virender Kumar 23 Jun 2008 | Member Level: Gold | Rating: Points: 1 |
private -> used by only one application Shared -> used by many applications
|
| Author: chandramohan 23 Jun 2008 | Member Level: Gold | Rating: Points: 1 |
private:with in the application and only one application shared:ussing many application
|
| Author: HimaBindu Veeramachaneni 23 Jun 2008 | Member Level: Diamond | Rating: Points: 1 |
http://www.dotnetspider.com/resources/1718-Assemblies.aspx
|
| Author: Sherrie 23 Jun 2008 | Member Level: Silver | Rating: Points: 6 |
An assembly is a file that is automatically generated by the compiler upon successful compilation of every .NET application. It can be either a Dynamic Link Library or an executable file. It is generated only once for an application and upon each subsequent compilation the assembly gets updated. The entire process will run in the background of your application; there is no need for you to learn deeply about assemblies. However, a basic knowledge about this topic will help you to understand the architecture behind a .NET application.
Assembly that is usable only by a single application. Private assemblies run only with the applications with which they were created and deployed. Private assembly references are resolved locally to the application directory it is installed in.
.NET assembly that can be referenced by multiple applications. A shared assembly must be created with a strong name and loaded into the Global Assembly Cache (GAC).
|
| Author: Subodh kumar Prajapati 23 Jun 2008 | Member Level: Gold | Rating: Points: 6 |
Hello friend,
After the compilation of our source code a MSIL will be generate. This MSIL has an assembly. This assembly is a .dll or .exe file. An Assembly have a metadata (Data about data). This metadata contain the menifest. The metaData takes the full information about the assembly. These information contails name of assembly, version of assembly etc. Assemblies are two type : 1. Private Assembly 2. Shared or public Assembly. Private assembly is used only in a particualr appliction. and it will be in a single application. If we want to use this private assembly in another application then we should be copypaste in the another application. Shared assemblies are accessable by any of the applictions. it is in the GAC (Global Assembly Cache).
Ok byeee... From : Subodh kumar 9891428085
|
| Author: http://dotnetvj.blogspot.com 29 Jun 2008 | Member Level: Diamond | Rating: Points: 6 |
Hi
Assembly: An assembly is a file that is automatically generated by the compiler upon successful compilation of every .NET application. It can be either a Dynamic Link Library or an executable file. It is generated only once for an application and upon each subsequent compilation the assembly gets updated. The entire process will run in the background of your application; there is no need for you to learn deeply about assemblies. However, a basic knowledge about this topic will help you to understand the architecture behind a .NET application.
private assembly A private assembly is an assembly that is deployed with an application and is available for the exclusive use of that application. That is, other applications do not share the private assembly. Private assemblies are one of the methods that can be used to create isolated applications.
Shared Assembly Shared Assembly can be shared amongst several different applications that reside on the same server. This type of assembly can be used in situations where it is not necessary to install a version of an assembly for each application that uses it. For instance, it is not necessary to install the System.Windows.Forms.dll assembly for each application that uses it. It is far better to install a shared version of the assembly.
Thanks -- Vj http://dotnetvj.blogspot.com
Thanks -- Vj
http://dotnetvj.blogspot.com
|