Friday, November 2, 2007

Dot Net Questions

Q) What is an assembly?
A) Assembly is a primary building block of a .NET Framework application. It is a collection of resources, type definition and implementation of these types in a single unit. The assembly comprises of three entities i.e. IL, Manifest and Metadata. Assemblies are self describing by means of their manifest which is an integral part of assembly.

Q) What is assembly manifest?
A) An assembly manifest is a collection of data (also called metadata of assembly) that contains all the metadata needed to specify the assembly's version requirements and security identity, and all metadata needed to define the scope of the assembly and resolve references to resources and classes.

Q) Information stored in assembly manifest?
A) Assembly name, Version number, Culture, Strong name information (if given), List of all files in assembly, Type reference information, Information of referenced assemblies,

Q) Main function of Assembly manifest?
A) Renders the assembly self describing, enumberates the other assembly on which this assembly depends.

Q) Where are shared Assemblies stored?
A) GAC

Q) Where is global assembly cache located on system.
A) c:\winnt\assembly

Q) What are the ways to deploy an assembly in the GAC?
A) Installer, drag drop to GAC location, use GacUtil.exe a command line tool.

Links for questions and answers
http://aspnet2008.blogspot.com/

No comments: