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 is tracing?Where it used.Explain few methods available

1 Answers  


give the feature of .net2.0 over .net1.1

6 Answers  


Can you explain model, controller and view in mvc?

0 Answers  


What are HTML Helpers, AJAX Helpers in ASP.Net MVC?

0 Answers  


What is Jit compilers?.how many are available in clr

1 Answers  


What is the difference between Finalize and Dispose (Garbage collection)

1 Answers  


How we can handle the exception at controller level in ASP.Net MVC?

0 Answers  


How the framework differentiate between 2 version dlls? eg Version 2.0 and 2.1 dlls are there. both are referred in the code.but we are using only name of that dll not the version number. in run time how the framework know which dll has to be referred?

1 Answers   Deloitte,


How we can invoke child actions in ASP.Net MVC?

0 Answers  


In which testing using in .net framwork?

2 Answers  


What are the advantages of mvc over asp.net?

0 Answers  


what is scalar property?

0 Answers   Microsoft,


Categories