What are the steps to publish an object outside the service domain
Answer Posted / Ajay Kumar Pandey
.NET Remoting requires publishing remote objects outside of the service domain. Here's a simplified sequence of steps:
1. Create a well-known service (server) and register it with the RemotingConfiguration class.
2. Create a client application and configure the channel sinks.
3. Call the RemotingServices.Marshal() method to marshal the object at the client side.
4. Use Activator.GetObject() to create a proxy for the remote object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers