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

Which are the important namespaces used in mvc?

711


What is display mode in mvc?

579


Why is entity framework used?

570


Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?

2054


What are Scaffold templates in ASP.Net MVC?

573






Can you please explain the request flow in ASP.NET MVC framework?

619


will there be any issues adding a table without primary keys to a data model?

609


What are Action Filters in ASP.NET MVC and its use?

555


What is .net framwork?

559


I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.

2169


How we can invoke child actions in ASP.Net MVC?

578


What are sections?

573


Can you use Razor code in Javascript in ASP.Net MVC?

663


My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?

553


Explain Sections is ASP.Net MVC?

589