Software job search
.net sql interview questions
  The best place for technical interview questions

 
Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
.net interview questions
 
Question 67   How can you avoid deadlock in threading

We can prevent deadlock in threading by using the below methods

1) lock
2) monitor
3) interlocked classes
4) wait handlers



Question 68   What is an application domain

Every .net program is executed by a clr. clr will be executing multiple programs at the same time.
it is important to ensure that one process should not affect the other. an application domain is a mechanism to provide this isolation between process/programs. we will be able to configure application domain for each process and also different security levels can set.




Question 69   Which class does the remote object has to inherit

System.marshalbyrefobject.



Question 70   What are two different types of remote object creation mode in .net

There are 2 different ways to achieve this

1) server activated objects (sao)
2) client activated objects (cao)

sao –
sao has two different modes to create objects
1) single call – every call will create an object on the server.
2) single call – a single object will be created and will be used in subsequent calls

cao
in cao client will hold a proxy of the server object



Question 71   What are the ways in which client can create object on server in cao model

1) by using new keyword
2) using activator.createinstance() method



Question 72   Are cao stateful in nature

Cao is stateful in nature. the client creates a proxy of the server object. so it is sateful.




 Rate this page
     
 42 votes , average 4 out of 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 

Reader's opinions -

No comments
Loading

 
.net interview questions
Asp.net interview questions
C# interview questions
Vb.net interview questions
Ado.net interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia