Microsoft.Net Interview Questions and Answers - 1

Question: 1

Which configuration file contains all the supported channels?

The Machine.config file contains all the supported channels.

Question: 2

Define marshalling?

Marshalling is a process of packaging and sending method calls between the objects and across application boundaries by using serialization and deserialization.

Question: 3

Explain .NET remoting?

.NET remoting provides a powerful programming model and runtime support to make objects available outside the boundaries of machine as well as the processing boundaries of an application.

It allows a developer to build widely- distributed applications, irrespective of the fact whether the components of the application are on the same computer or spread over the network. .NET remoting uses the concept of client and server applications.

Data can be transmitted over any of the protocol like Hypertext Transfer Protocol (HTTP), Simple Mail Transfer Protocol (SMTP), and Transmission Control Protocol (TCP).

Question: 4

How .NET remoting is different from Distributed Component Object Model (DCOM)?

DCOM is suitable for applications that exist on the same computer and are of the similar type; whereas, .NET remoting allows you to build widely distributed applications.

Another difference is that DCOM relies on the binary protocol only, which is not supported by all the object models. On the other hand, .NET remoting uses binary, TCP, HTTP, and Simple Object Access Protocol (SOAP) protocols to send and receive the data over a network.

Question: 5

Which Microsoft tool is used to automatically generate interface for the remotable object in .NET?

The Soapsuds tool is used to automatically generate interface for the remotable object in .NET.

Related Questions