- What is a formatter? A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end.
- Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs? Binary over TCP is the most effiecient, SOAP over HTTP is the most interoperable.
- What’s SingleCall activation mode used for? If the server object is instantiated for responding to just one single request, the request should be made in SingleCall mode.
- What’s Singleton activation mode? A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.
- How do you define the lease of the object? By implementing ILease interface when writing the class code.
- Can you configure a .NET Remoting object via XML file? Yes, via machine.config and application level .config file (or web.config in ASP.NET). Application-level XML settings take precedence over machine.config.
- How can you automatically generate interface for the remotable object in .NET with Microsoft tools? Use the Soapsuds tool.
Interview Questions .NET Remoting Set-2
Posted by
study
|
Tuesday, 7 June 2011
Popular Posts
-
31. Can a nested object be used in Serialization ? Ans : Yes. If a class that is to be serialized contains references to objects of other c...
-
TCS Written Paper Q1. Fill in the missing number in the sequence 5 7 11 ?? 35 67 (a) 24 (b) 33 (c) 19 ...
-
1. What is the difference between C++ & Java? 2. Explain RMI Architecture? 3. How do you communicate between Applets & Servlets? ...
-
Explain user defined exceptions in oracle. A User-defined exception has to be defined by the programmer. User-defined exceptions are decla...
-
1. For a parallel plate capacitor which is being charged out of the following the incorrect statement is – a). Energy stored in the capaci...
-
What is Kernel? Explain the task it performs. Kernel is used in UNIX like systems and is considered to be the heart of the operating sys...
-
1.In the command scanf, h is used for Ans. Short int 2.A process is defined as Ans. Program in execution 3.A thread is Ans. Deta...
-
Q: What is the difference between an Interface and an Abstract class? A: An abstract class can have inst...
-
Technical Interview Questions 1. Which is the best page replacement algorithm and why? 2. What is software life cycle? 3. How much time...
-
52. How do you generate a strong name? .NET provides an utility called strong name tool. You can run this toolfrom the VS.NET command promp...

0 comments:
Post a Comment