Understanding Assemblies in .NET

An assembly in .Net can be thought of an executable that you used to create with other framework and languages. But it is more than an executable. It has a manifest which describes the assembly with details like version, author, security, and other information that forms a part of it.

An assembly created for one application will not interfere with another application. Assemblies can be shared among other applications. If you want to use an assembly with another application all you have to do is to copy that assembly and place it in the bin directory of the application that wants to use it.

To share an assembly with any other application you have to place the assembly in the Global Assembly Cache (GAC). This is found in the folder named Assembly in the WinNT folder of your system. To copy an assembly to this GAC you have to give a strong name (unique name) to the assembly before doing so. For this a tool called SN.exe is used.

Then you can use the GACUTIL tool to copy the assembly to the GAC. When you are executing an assembly you are actually invoking the Common Language Runtime which converts the assembly to the native code for execution by using the Just-In-Time compiler.



Firan Technology continues to erase red ink, ends 2011 with a Q4 profit
TORONTO - Firan Technology Group Corp. (TSX:FTG) posted a fourth-quarter profit of nearly $1 million — building on a recovery from the losses it experienced in 2010 and early 2011.

Punjab, Uttarakhand set to elect new assemblies
Punjab and Uttarakhand will vote Monday to elect new assemblies with the Congress hoping to oust the Akali Dal-Bharatiya Janata Party (BJP) combine in the country's grain bowl and the BJP in the hill state.

SAGU Selects Texzon/University Energy Group for 'LionPower' Energy Program
Program offers competitive and reliable electricity service to alumni while supporting the universityDallas, TX (PRWEB) January 31, 2012 Texzon Utilities, LTD (Texzon) announced today their recent agreement with Southwestern Assemblies of God University (SAGU), to administer a program that provides alumni low energy rates, while at the same time providing the university revenue for specific ...




______________________________________________________

Recommended Resource



| Managing .NET Assemblies | Understanding Assemblies in .NET| Reflection and Assemblies in .NET | Advantages of using ASP.NET Assemblies | Understanding Assemblies in VB.NET | Building VB.NET Assemblies |



_______________

FREE Subscription

Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.


 

| Privacy Policy for www.dotnet-guide.com | Disclosure | Contact |