How do you create shared assemblies ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of dependency injection (di) in asp.net mvc?

564


What are the advantages of asp.net mvc?

555


which are the key concepts of entity data model?

605


Why to use html.partial in mvc?

713


Mention some action filters which are used regularly in ASP.Net MVC?

542






mention what is the key advantage of using entity framework or ef?

550


What is entity framework? : Entity framework

558


Can I set the unlimited length for "maxjsonlength" property in config?

558


What is definingquery in entity framework? : Entity framework

545


Explain what languages does the .net framework support?

512


What is session state management?

558


What is the domain object?

535


What is attribute routing in mvc?

573


What is ViewData and TempData in ASP.Net MVC?

571


When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

547