You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The creation, configuration and deployment of Remoting applications form part of your responsibilities at Domain.com.
You have just completed developing a Microsoft.NET Remoting component that will be used by applications within Domain.com. Microsoft Internet Information Services (IIS) 6.0 will be hosting the component. You need to specify a channel and formatter to use so that successful communication can take place between the applications and the remote component.
What should you do?
A.
Make use of a Transmission Control Protocol (TCP) channel with a SOAP formatter.
B.
Make use of a Hypertext Transfer Protocol (HTTP) channel with a SOAP formatter.
C.
Make use of an Inter-process Communication (IPC) channel with a binary formatter.
D.
Make use of a Transmission Control Protocol (TCP) channel with a binary formatter.
Explanation:
Because IIS is supported by the HTTP channel you should make use of an HTTP channel with a SOAP formatter.
Incorrect answers:
A: Making use of a TCP channel with a SOAP formatter will not work since only a HTTP channel can support IIS.
C: Making use of an IPC channel with a binary formatter will not work since only a HTTP channel can support IIS.
D: Making use of a TCP channel with a binary formatter will not work since only a HTTP channel can support IIS.