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 |
Which keyword you should use for class not to extend? Which keyword to be used for making the class accessible within the assembly only what are the authentication mode of ASP.NET How will you call a JavaScript function using code-behind? How will you define the Session Timeout? What are the methods to validate client-side whether the input is a correct Date format? You want to write a log when ASP.NET application starts. Which is the best place to write that peice of code? What are the page load events and what is there order? What is the difference between abstract class and interface? What are the differences between DataSet and DataReader? What are the two properties other than DataSource, which is required to populate the Drop Down Menu? What is difference between String and StringBuilder Classes? What are differences between Custom control and User control?
Please briefly explain the usage of global.asax?
What is AutoEventWireup attribute for ?
What is a web api endpoint?
What is a ashx file?
You create an assembly to access data in a relational database. This assembly will be used by several ASP.NET applications on your Web server. You need to ensure that all your applications can access the assembly. Which two actions should you take (Each Answer: presents part of the solution.)? (Choose two) A . Run the Assembly Registration tool (Regasm.exe). B . Run the String Name tool (Sn.exe). C . Run the Installer tool (Intallutil.exe). D . Run the Global Assembly Cache tool (Gacutil.exe).
6 Answers CPCL, Syntax Softtech,
Can we store object in viewstate?
What is sequence of code in retrieving data from database?
What are the Types of session management in ASP.NET
Describe the differences between the lifecycles of Windows services and Standard EXE?
if i have placed the button control with the OnClick event like <asp:Button ID="mybutton" runat="server" Text="Insert" onclick="mybutton_Click" /> and some other controls(buttons, textboxes) in .aspx page. When i run the page, the button displays in the page source of the browser like <input type="submit" name="mybutton" value="Insert" id="mybutton" /> here, it does not display the onclick event, then how the page calls the button click on the server side, how the server side identify which button cause the submit, and how this page moves to the server side.
Explain about secure socket layer?