| 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...  |
| 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
 |
| 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.  |
| 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  |
| Dinesh |
| |
| |
| Answer | you can write formatted output using Response.Output.Write ()  |
| 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.  |
| 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  |
| 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  |
| 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  |
| 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.  |
| 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  |
| 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.  |
| 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.  |
| 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  |
| 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.  |
| 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.  |
| 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  |
| 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  |
| 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 .  |
| Bindu Sarika |
| |
| |
| Answer | Remotable objects are object that are instantiated outside
the caller's application domain.
Either by value or by reference.  |
| 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.  |
| Bindu Sarika |
| |
| |
|
| |
|
Back to Questions Page |