Describe and In Process Vs Out of Process component. Which
is faster?
Answers were Sorted based on User's Feedback
An inprocess is one which runs in the same process area as
that of the client giving tha advantage of speed but the
disadvantage of stability becoz if it crashes it takes the
client application also with it.
Outprocess is one which works outside the clients memory
thus giving stability to the client, but we have to
compromise a bit on speed.
Inprocess is faster than outprocess.
| Is This Answer Correct ? | 24 Yes | 0 No |
Answer / vivek
An in-process component is implemented as a DLL, and runs in
the same process space as its client app, enabling the most
efficient communication between client and component.Each
client app that uses the component starts a new instance of it.
An out of process component is implemented as an EXE, and
unlike a dll, runs in its own process space. As a result,
exe’s are slower then dll’s because communications between
client and component must be marshalled across process
boundaries. A single instance of an out of process component
can service many clients.
| Is This Answer Correct ? | 16 Yes | 4 No |
Give a few examples of page life cycle events.
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
Types of session management in ASP.NET?
How to compare two strings with out Case sensitive ?
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>
Project Architecture (3tier, n-tier)
In which situation can you not use a viewstate?
What are the type of session in Asp.Net
What is the difference between typeof() vs gettype()?
What are uri parameters?
Which data type does the rangevalidator control support?
What is a session http?
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)