How do you create shared assemblies ?



How do you create shared assemblies ?..

Answer / kirti

Just look through the definition of Assemblies..

* An Assembly is a logical unit of code

* Assembly physically exist as DLLs or EXEs

* One assembly can contain one or more files

* The constituent files can include any file types like image files, text files etc. along with DLLs or EXEs

* When you compile your source code by default the exe/dll generated is actually an assembly

* Unless your code is bundled as assembly it can not be used in any other application

* When you talk about version of a component you are actually talking about version of the assembly to which the component belongs.

* Every assembly file contains information about itself. This information is called as Assembly Manifest.

Following steps are involved in creating shared assemblies :

* Create your DLL/EXE source code

* Generate unique assembly name using SN utility

* Sign your DLL/EXE with the private key by modifying AssemblyInfo file

* Compile your DLL/EXE

* Place the resultant DLL/EXE in global assembly cache using AL utility

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What’s the advantage of using System.Text.StringBuilder over System.String?

4 Answers   IBM,


Can you explain the page life cycle of mvc?

0 Answers  


What is difference between viewbag and viewdata and tempdata?

0 Answers  


What is the difference between windows vista and .net framework 3.0 ?

0 Answers  


How would you make a combo-box appear in one column of a DataGrid?

1 Answers  






Explain encapsulation

1 Answers   HPCL, Hughes Systique Corporation,


What is action methods in web api?

0 Answers  


If you are using components in your application, how can you handle exceptions raised in a component ?

4 Answers   Accenture, BirlaSoft,


What is difference between constants, readonly and, static

1 Answers  


Can u tell me differences which are introduced in .Net 1.1 and 2.0 and 3.0 and also in 3.5 ? by detailed?

1 Answers   ABC,


What is a model in programming?

0 Answers  


Explain .Net Framework? Why we use it?

0 Answers   MaxSolPro,


Categories