|
|
| Which config file has all the supported channels/protocol? |
Machine.config file has all the supported channels and formatter supporte by .NET remoting.
|
| Can Non-Default constructors be used with Single Call SAO? |
Non-Default constructors cannot be used with single call objects as object is created with every method call, there is no way to define Non-default constructors in method calls.
It is possible to use Non-Default constructor with Client activated objects as both methods :
"NEW" keyword and "Activator.CreateInstance" provide a way to specify Non-default constructors.
|
| How can we call methods in remoting Asynchronously? |
By using Delegates we can make Asynchronous method calls.
|
| What is Asynchronous One-Way Calls? |
One-way calls are a different from asynchronous calls from execution angle that the .NET Framework does not guarantee their execution. In addition, the methods used in this kind of call cannot have return values or out parameters. One-way calls are defined by using [OneWay()] attribute in class.
|
| What is marshalling and what are different kinds of marshalling? |
|
|
Marshalling is used when an object is converted so that it can be sent across the network or across application domains. Unmarshalling creates an object from the marshaled data. There are two ways to do marshalling :
Marshal-by-value (MBV) : In this the object is serialized into the channel, and a copy of the object is created on the other side of the network. The object to marshal is stored into a stream, and the stream is used to build a copy of the object on the other side with the unmarshalling sequence.
Marshalling-by-reference (MBR) : Here it creates a proxy on the client that is used to communicate with the remote object. The marshalling sequence of a remote object creates an ObjRef instance that itself can be serialized across the network.
Objects that are derived from "MarshalByRefObject" are always marshaled by reference.
|
|
| What is ObjRef object in Remoting? |
All Marshal() methods return ObjRef object. The ObjRef is serializable because it implements the interface ISerializable, and can be marshaled by value. The ObjRef knows about :
location of the remote object.
host name
port number
object name
|
| What is Web Service? |
Web Services are business logic components which provide functionality via the Internet using standard protocols such as HTTP.
Web Services uses Simple Object Access Protocol(SOAP) in order to expose the business functionality. Soap defines a standardized format in XML which can be exchanged between two entities over standard protocols such as HTTP. SOAP is platform independent so the consumer of a Web Service is therefore completely shielded from any implementation details about the platform exposing the Web Service. For the consumer it is simply a black box of send and receive XML over HTTP. So any web service hosted on windows can also be consumed by UNIX and LINUX platform.
|
| What is UDDI? |
UDDI is Universal Description, Discovery and Integration. It is a directory that can be used to publish and discover public Web Services.
|
| What is DISCO? |
DISCO is the abbreviated form of Discovery. It is basically used to club or group common services together on a server and provides links to the schema documents of the services it describes may require.
|
| What is WSDL? |
|
Web Service Description Language (WSDL) is a W3C specification which defines XML grammar for describing Web Services. XML grammar descibes details such as :
Where we can find the Web Service(its URI)?
What are the methods and properties that service supports?
Data type support
Supported protocols
In short its a bible of what the webservice can do. Clients can consume this WSDL and build proxy objects that clients use to communicate with the Web Services.
|
|
|
|
|
|
|