© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu

Home Placements Interview Questions Dot Net Interview Questions And Answers Page2▼

Dot Net Interview Questions And Answers

41. What are remotable objects in .NET Remoting?

Remotable objects are the objects that can be marshaled across the application domains. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where just a reference to an existing object is passed.

42. What are channels in .NET Remoting?

Channels represent the objects that transfer the other serialized objects from one application domain to another and from one computer to another, as well as one process to another on the same box. A channel must exist before an object can be transferred.

43. What security measures exist for .NET Remoting in System.Runtime.Remoting?

None. Security should be taken care of at the application level. Cryptography and other security techniques can be applied at application or server level.

44. What is a formatter in .NET?

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.

45. Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs?

Binary over TCP is the most efficient, SOAP over HTTP is the most interoperable in .NET.

46. What’s SingleCall activation mode used for in .NET?

If the server object is instantiated for responding to just one single request, the request should be made in SingleCall mode in .NET

47. What’s Singleton activation mode in .NET?

A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.

48. How do you define the lease of the object in .NET?

By implementing ILease interface when writing the class code in .NET

49. 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.

Previous End
1 2 3 4 5 6 7 8 9 10
SLogix Student Projects
bottom