ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
About Assembly in .NET, types of assemblies, their
difference, How to register into GAC. How to generate the
strong names & its use ?
 Question Submitted By :: Elisha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?
Answer
# 1
Assembly are the basic building blocks of .net
Three type of assembly are there.
1. Private Assembly
2. Shared Assembly
3. Satelite Assembly.
GAC is used to provide the different versioning.
Strong name used to use it without any complication or 
fault.
 
Is This Answer Correct ?    14 Yes 3 No
Vikas Sharma
 
  Re: About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?
Answer
# 2
In the Microsoft .NET framework, an assembly is is used by
the .NET CLR (Common Language Runtime)as a partially
compiled code library for use in deployment, versioning and
security. In the Microsoft Windows implementation of .NET,
an assembly is a PE (portable executable) file. There are
two types: process assemblies (EXE) and library assemblies
(DLL). A process assembly represents a process which will
use classes defined in library assemblies.
Assemblies consists of a manifest and one or more modules
and/or files like HTML, XML, images, video clips,...

An assembly  must contain a single manifest and may
optionally contain type meta data, MSIL (Microsoft
Intermediate Language) and resources.

.Net Assembly can be classified in four Categories:

  (A)  With Respect to  Program Access.
          i) Private Assembly- It can be used only in one
application.This is the default style of assembly. Such
assemblies must reside in the application folder.
         ii) Public/Shared Assembly- It can be used by all
applications in the server. 
They must have a globally unique name and must be defined in
the GAC (Global Assembly Cache).

  (B)  With Respect to Number of Resources.
          i) Static Assembly- It uses fixed resources.
         ii) Dynamic Assembly- It supports dynamic creation
of resouces or files at    
             runtime programatically.

  (C) With Respect to Deployment.
         i) Satellite Assembly- Easily Deployable. (Visual
Studio 2005).
        ii) Resource-Only Assembly- In Visual Studio 2003.

  (D) With Respect to Number of Assemblies.
         i) Single File Assembly- /Bin/x.dll

        ii) Multi File Assembly- /Bin/x.dll
                                                   y.dll
                                                   z.dll  
                                                    ---
                                                    ---
                                                    ---
 
Is This Answer Correct ?    13 Yes 4 No
Poonam
 
 
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
If background completes its processing will it wait for foreground threads? Kanbay1
What is serialization ? MMTS4
js fn to go to the particular page when enter is clicked  1
what are generics? Without generics what are the disadvantages in 1.1? HP2
If we not suppress finalize method in dispose what will happen? Kanbay1
What is JIT and how is works ?  4
What is the common property in .net? Nth-Solution1
Which is the best institute in chennai to learn DotNet?  6
What are Satellite Assemblies? How you will create this?  3
If Controller is not there in MVC Pattern what happens?  1
What are the ways to show data grid inside a data grid for a master details type of tables?  1
What is boxing and unboxing? Kanbay2
exe abrevatiom IBM4
What are the properties of Thread class?  1
if u add an import stmt to an application u can do the same by adding reference to the apllication then what is the diff bet these two ?  1
Integer & struct are value types or reference types in .NET?  3
What is MSIL, IL, CTS?  3
will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj; Kanbay7
Tell me the best web-sites for Learning the ASP DOT NET.  1
How could we achieve Langauge Interoperability through "CLS"?? Please Expalin in detail with Example.. Thanks for the Help!!!!! HCL2
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com