ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories >> Software >> Microsoft-Related
 
  Visual-Basic (595)  C-Sharp (526)  ASP.NET (1113)  VB.NET (112)  COM+ (37)
  ADO.NET (173)  IIS (64)  MTS (2)  Crystal-Reports (48)  BizTalk (17)
  Exchange-Server (75)  SharePoint (2)  Microsoft-Related-AllOther (41)
 


 

Back to Questions Page
 
Question
When during the page processing cycle is ViewState 
available?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
after intializing and before loading...
 
0
Sivasaravanan
 
 
Question
What methods are fired during the page load?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
BeginTranaction  - only if the request is transacted
Init    - every time a page is processed
LoadViewState  - Only on postback
ProcessPostData1  - Only on postback
Load    - every time
ProcessData2   - Only on Postback
RaiseChangedEvent  - Only on Postback
RaisePostBackEvent  - Only on Postback
PreRender   - everytime
BuildTraceTree  - only if tracing is enabled
SaveViewState  - every time
Render   - Everytime
End Transaction  - only if the request is transacted
Trace.EndRequest  - only when tracing is enabled
UnloadRecursive  - Every request 
 
1
Swapna
 
 
Answer
Init() -  when the page is instantiated.
Load() - when the page is loaded into server memory.
PreRender()- the brief moment before the page is displayed 
to the user in html.
Unload() - when page finishes loading.
 
0
Lakshmi
 
 
 
Question
What?s the difference between Response.Write() 
andResponse.Output.Write()?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
Response.Output.Write() give formatted output
 
0
Dinesh
 
 
Answer
you can write formatted output using Response.Output.Write ()
 
3
Icanmakeiteasy
 
 
Question
Describe the role of inetinfo.exe, aspnet_isapi.dll 
andaspnet_wp.exe in the page loading process?
Rank Answer Posted By  
 Question Submitted By :: Swapna
This Interview Question Asked @   Perot-Systems , Patni, SednaTechonology
I also faced this Question!!   © ALL Interview .com
Answer
inetinfo.exe is the microsoft server runing , handling 
ASP.NET request and other things.when the asp.net request 
is recieved (usually the it gets .aspx extention) the ISAPI 
filter aspnet_isapi.dll takes care of it by passing the 
request to the actual worker process aspnet_wp.exe.
 
3
Radha
 
 
Question
How can you automatically generate interface for the 
remotable object in .NET with Microsoft tools?
Rank Answer Posted By  
 Question Submitted By :: Swapna
This Interview Question Asked @   Tavant-Technologies , TCS
I also faced this Question!!   © ALL Interview .com
Answer
Use Soapsuds tool
 
0
Bindu Sarika
 
 
Question
Can you configure a .NET Remoting object via XML file?
Rank Answer Posted By  
 Question Submitted By :: Swapna
This Interview Question Asked @   Tavant-Technologies
I also faced this Question!!   © ALL Interview .com
Answer
yes machine.config and web.config
 
2
Bindu Sarika
 
 
Question
How do you define the lease of the object?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
The lifetime of the serverobject is determined by the 
lifetime lease .This is defined By implementing ilease 
interface when writing the class code
 
0
Bindu Sarika
 
 
Question
What?s Singleton activation mode?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
A single object instantiated regardeless of the number of 
clients accessing it,and the lifetime of the object is 
determined by lifetime lease.
 
0
Bindu Sarika
 
 
Answer
In the Singleton activation mode, an object is instantiated 
to response any number of client requests. It also 
maintains the state information during the method calls. 
Hence, such objects are sometimes referred to as stateful 
objects, and all their clients globally share the state 
maintained by the Singleton activation mode. The object is 
required for a long period for maintaining its state
 
0
Rashmi Tiwari
 
 
Answer
In Singleton activation mode all incoming requests are
serviced by single Server object.
So Server object is alive till client stops communication or
object exists naturally.
 
0
Ganesh
 
 
Question
What?s SingleCall activation mode used for?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
A Server Object instantiated to respond to a single request.
 
0
Bindu Sarika
 
 
Question
Choosing between HTTP and TCP for protocols and Binary and 
SOAP for formatters, what are the trade-offs?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
Binary over TCP is more efficent and soap over HTTP is more 
interoperable
 
0
Bindu Sarika
 
 
Question
What is a formatter?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
Formatter is an object that encodes and serializes data 
into messages at one end and decodes and deserializes 
messages into data at the other end.
 
0
Bindu Sarika
 
 
Answer
A formatter is used to determine the serialization format 
for objectobjects. All formatters expose an interface 
called the IFormatter interface. Two formatters inherit 
from the IFormatter interface and are provided as part of 
the .NET framework. These are the Binary formatter and the 
SOAP formatter.

The Binary Formatter
The Binary formatter provides binary encoding for compact 
serialization either for storage or for socket-based 
network streams. The BinaryFormatter class is generally not 
appropriate when data is meant to be passed through a 
firewall.

The SOAP Formatter
The SOAP formatter provides formatting that can be used to 
enable objects to be serialized using the SOAP protocol. 
The Soap Formatter class is primarily used for 
serialization through firewalls or among diverse systems.

Other Formatters
The .NET framework also includes the abstract FORMATTERS 
class that can be used as a base class for custom 
formatters. This class inherits from the IFormatter 
interface.
 
0
Rajeshree
 
 
Question
What security measures exist for .NET Remoting in 
System.Runtime.Remoting?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
None.Security measures and cryptography must be taken at 
the server level
 
0
Bindu Sarika
 
 
Question
What are channels in .NET Remoting?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
HTTP Channel & TCP Channel
 
0
Meena Sanjay
 
 
Question
What are remotable objects in .NET Remoting?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
Remotable objects are objects that are marshalled across 
different application domains.The objects can be marshalled 
by value and marshalled by reference.
Marshalled by value:A deep copy of the object is passed to 
the reciever.
Marshalled by reference:A reference to the existing object 
is passed .
 
0
Bindu Sarika
 
 
Answer
Remotable objects are object that are instantiated outside
the caller's application domain.
Either by value or by reference.
 
0
Ganesh
 
 
Question
What?s a proxy of the server object in .NET Remoting?
Rank Answer Posted By  
 Question Submitted By :: Swapna
I also faced this Question!!   © ALL Interview .com
Answer
It is a fake copy of the server object that resides in the 
client and behaves as if it is the real server.It handles 
the communication between the client object and the real 
server object.This process is known as marshalling.
 
0
Bindu Sarika
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com