Is it possible to use two versions of assembly at the same
time?If possible explain with code?

Answer Posted / uma

OfCource sachine ,what u had written is correct,

if u adding System.Web.ui namespace, Namespace contain more
than one dll also,that Each dll has its own version and
they are now runnig in same time.

<add assembly........> is one dll with version xyz....

in the below config file there are 8 dll which has its own
versions runnig at the same time





<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions,
Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Data.DataSetExtensions,
Version=3.5.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Xml.Linq, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions.Design,
Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Design, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Windows.Forms,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089" />
</assemblies>
</compilation>

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How use Xml data in ASP.net?

557


Explain security types in asp.net?

536


Define a web service in .net?

612


Which namespace is used by ado.net?

562


Is viewstate enabled by default?

531






Explain About duration in caching technique

617


Explain file-based dependency and key-based dependency.

567


Explain model, view and controller represent in an mvc application? : asp.net mvc

510


What is custom events? How to create it?

623


How can we create custom controls in asp net?

531


Why is global asax is used?

606


Apart from IDE what are the enhancements in asp.net 2.0?

1623


How dataadapter.fill works?

560


Define data caching?

543


To redirect the user to another page which method do we use without performing a round trip to the client?

532