What is Partial Assembly References?

Answer Posted / kirti

Full Assembly reference: A full assembly reference includes the assembly's text name, version, culture, and public key token (if the assembly has a strong name). A full assembly reference is required if you reference any assembly that is part of the common

language runtime or any assembly located in the global assembly cache.

Partial Assembly reference: We can dynamically reference an assembly by providing only partial information, such as specifying only the assembly name. When you specify a partial assembly reference, the runtime looks for the assembly only in the application

directory.

We can make partial references to an assembly in your code one of the following ways:

-> Use a method such as System.Reflection.Assembly.Load and specify only a partial reference. The runtime checks for the assembly in the application directory.

-> Use the System.Reflection.Assembly.LoadWithPartialName method and specify only a partial reference. The runtime checks for the assembly in the application directory and in the global assembly cache

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is http stateful or stateless?

746


What is action methods in web api?

764


What is meant by bootstrap in mvc5?

837


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

734


What is Attribute Routing in ASP.Net MVC?

768






What is definingquery in entity framework? : Entity framework

717


what is entity framework advantage?

775


Is .net framework 4.8 the last version?

732


how to disable the lazy loading framework?

765


What are Validation Annotations?

762


Explain unit test done by tester on development team?

724


Explain Bundle.Config in ASP.Net MVC4?

737


Can I add asp.net mvc testcases in visual studio express?

817


Can we change web.config settings from iis?

752


What is viewbag title?

682