Is it possible to use two versions of assembly at the same
time?If possible explain with code?
Answers were Sorted based on User's Feedback
Answer / sachin
Off course Krishna is right it is called as side by side
execution
<Configuration>
<runtime>
<assemblyIdentity name="ABCD" publicKeyToken="Sometoken"
culture="neutral" />
<bindingRedirect
oldVersion="1.0.0.0-99999.99999.99999.99999"
newVersion="1.0.1445.38584" />
<codeBase version="1.0.1445.38584" href="C:\Program
Files\TPA\ABCD.dll" />
</dependentAssembly>
</runtime>
<Configuration>
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / krishna
It is possible. I think it is called as side by side
execution. But i don't konow the code. If any one know
please write.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
.net allows which inheritence
6 Answers AG Technologies, Samcomm,
What are the main requirements for caching?
Should user input data validation occur server-side or client-side? Why?
3 Answers NIC, Siebel Systems,
How does the iis work?
suppose we have two object;obj1 and obj2 can we assign obj2 to one1; and if yes; then after assigning suppose we delete obj2 then obj1 will retain obj2 value or not.
Where do the cookie state and session state information be stored?
What is data control in asp.net?
In a Code-Behind class generally which type of code is found ?
Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "<EmpID>" & TxtEmpId.Text & "</EmpID>" & _ "<Empname>" & TxtName.Text & "</Empname>" & _ "<EmpSalary>" & TxtSalary.Text & "</EmpSalary>" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file <?xml version="1.0" encoding="utf-8" ?> <Employee> <empdetails> <empid>100</empid> <empname>xxx</empname> <empsalary>2000</empsalary> </empdetails> <EmpDetails> <EmpID>yyy</EmpID> <Empname>dddd</Empname> <EmpSalary>77777</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>rrrr</EmpID> <Empname>rrrr</Empname> <EmpSalary>6666</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>qaqa</EmpID> <Empname>sini</Empname> <EmpSalary>50000</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>errrrrrrrr</EmpID> <Empname>rrrrrrrrr</Empname> <EmpSalary>677777</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>rrr</EmpID> <Empname>rrr</Empname> <EmpSalary>33</EmpSalary> </EmpDetails> </Employee>
Which object encapsulates state or data of a user?
how to do pakaging nd deployment
How does the cookies work in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)