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

what is linq to entities?

628


How do I use partial view?

529


differences between poco, model first and data first approach?

589


How to use Jquery Plugins in ASP.Net MVC validation?

544


Explain Model, view and Controllers in Asp.Net MVC?

560






What are actions in asp.net mvc?

571


Explain linq to entities? : Entity framework

542


What are the possible razor view extensions?

565


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

586


What is the use of razor view engine?

525


Is it possible to share a view across multiple controllers?

517


Is .net core faster than .net framework?

547


What is the difference between model view and controller?

479


What is .net framework in simple terms?

538


How to use multiple submit buttons in asp.net mvc?

581