What are the types of assemblies

Answer Posted / kirti

There are four types of assemblies in .NET:

Static assemblies

These are the .NET PE files that you create at compile time.

Dynamic assemblies

These are PE-formatted, in-memory assemblies that you dynamically create at runtime using the classes in the System.Reflection.Emit namespace.

Private assemblies

These are static assemblies used by a specific application.

Public or shared assemblies

These are static assemblies that must have a unique shared name and can be used by any application.

An application uses a private assembly by referring to the assembly using a static path or through an XML-based application configuration file. While the CLR doesn't enforce versioning policies-checking whether the correct version is used-for private assemblies, it ensures that an

application uses the correct shared assemblies with which the application was built. Thus, an application uses a specific shared assembly by referring to the specific shared assembly, and the CLR ensures that the correct version is loaded at runtime.

In .NET, an assembly is the smallest unit to which you can associate a version number;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?

1808


What you mean by routing in asp.net mvc?

539


what is entity sql?

604


What are ajax helpers in asp.net mvc?

587


How can you return string result from Action in ASP.Net MVC?

554






What is model first? : Entity framework

535


What are the levels at which filters can be applied in an asp.net mvc application?

586


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

620


List out few different return types of a controller action method?

607


Possible ways to prevent xss attacks on mvc application?

571


What is oauth in web api?

522


What is the 'page life cycle' of an ASP.NET MVC?

604


Explain what is the difference between view and partial view?

573


What is the meaning of unobtrusive javascript? Explain us by any practical example.

563


Is http stateful or stateless?

547