Microsoft.NET 2.0 Question:
Download Job Interview Questions and Answers PDF
A developer company sends dlls to the client. some client is not happy current functionality, so request some modification. developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?
Answer:
In vb.net we have a version control in there we have 1.1.2.3 this is the old version of Dll we have change only the 1.1.2.4 for the New dll which is compablitly of the ealry version.
One need to specify "bindingRedirect" in the config file.
e.g.
<configuration>
<runtime>
<assemblyBinding smlns="urn:schema-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Test" publickeyToken="b035c4774706cc72" culture="neutral">
<bindingRedirect oldVersion="1.1.2.4">
newVersion="1.1.2.3"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
One need to specify "bindingRedirect" in the config file.
e.g.
<configuration>
<runtime>
<assemblyBinding smlns="urn:schema-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Test" publickeyToken="b035c4774706cc72" culture="neutral">
<bindingRedirect oldVersion="1.1.2.4">
newVersion="1.1.2.3"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Download Microsoft.NET 2.0 Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain How to rename a table using sql queries? | What is marshling? |