Apply Your Knowledge

Exercises

7.1. Exposing Serviced Components via .NET Remoting

In an enterprise application, you may be required to expose business objects remotely. A general practice in that case is to add an extra tier that handles remote communication between the client and server. You can use your knowledge of .NET remoting and XML Web services for creating such a tier.

In this exercise, you learn how to expose a serviced component via a remoting server. You create three sets of programs: a serviced component that allows access to the Northwind database, a Singleton remoting server that exposes the serviced component, and a client program that connects to the remoting server to invoke methods on the serviced component.

Estimated Time ...

Get MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.