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.



Quota for women must respect social divide, say some MPs (Calcutta News)
The purpose of reserving seats for women in legislatures will be defeated if these are not earmarked for different social strata, say supporters of reservation along caste lines.

Memry Corporation Q3 FY'08 Revenue Up 11.6% to $13.6M; Net Income $0.01 Per Diluted Share (Centre Daily Times)
Memry Corporation (AMEX:MRY) reported today that revenues for the third quarter of fiscal year 2008 ended March 31, 2008 increased 11.6% to $13,628,000, compared with $12,212,000 reported in the comparable quarter a year earlier. The company reported net income of $166,000, or $0.01 per diluted share, compared with a net loss of $460,000, or $0.02 per diluted share, in the comparable quarter of ...

LMI Aerospace Announces Record Sales and Net Income for First Quarter of 2008 (PrimeNewswire via Yahoo! Finance)
ST. LOUIS, May 6, 2008 -- LMI Aerospace, Inc. , a leading provider of design engineering services, structural components, assemblies and kits to the aerospace, defense and technology industries, today announced it achieved record sales and earnings in the first quarter of 2008.




______________________________________________________

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