Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Microsoft Certification (http://www.velocityreviews.com/forums/f24-microsoft-certification.html)
-   -   Interview Questions Feb 22, 2006 (http://www.velocityreviews.com/forums/t55781-interview-questions-feb-22-2006-a.html)

Jobs 02-22-2006 05:09 PM

Interview Questions Feb 22, 2006
 

We have two version of the same assembly in GAC? I want my client to
make choice of which assembly to choose?

You need to specify "bindingRedirect" in your config file. For
instance in the below case "ClassLibraryVersion" has two versions
"1.1.1830.10493" and "1.0.1830.10461" from which
"1.1.1830.10493" is the recent version. But using the
bindingRedirect we can specify saying "1.0.1830.10461" is the new
version. So the client will not use "1.1.1830.10493".

<configuration>
<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="ClassLibraryVersion"
publicKeyToken="b035c4774706cc72"
culture="neutral"/>

<bindingRedirect oldVersion= "1.1.1830.10493"
newVersion= "1.0.1830.10461"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

</configuration>



Full Interview Questions for .NET and SQL Server
http://www.geocities.com/dotnetinterviews/
Help the community to make job search easier mail your questions to
jobatyourdoorstep@yahoo.co.in
Looking for a onsite job mail your resumes at
jobatyourdoorstep@yahoo.co.in



All times are GMT. The time now is 12:46 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.