Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

About Assembly in .NET, types of assemblies, their
difference, How to register into GAC. How to generate the
strong names & its use ?

Answer Posted / poonam

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 ?    40 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net architecture?

950


What is managed extensibility framework?

939


In Server how to check whether model has error or not in ASP.Net MVC

1063


I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

3083


What is the use of action filters in an mvc application?

1059


explain how you can load related entities in ef (entity framework)?

935


Can you explain renderbody and renderpage in mvc?

978


How does work clr?

858


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

1030


What is presentation framework?

966


Explain the difference between viewbag and viewdata in mvc?

916


what do you mean by table-per-hierarchy?

1063


What is controllercontext?

990


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

957


What are differences between entity framework and l2s? : Entity framework

1076