Design and Implementation of Distributed Applications - 2019/2020

1st Year, 2nd Semester

MEIC - Campus Alameda
MEIC - Campus Tagus Park
METI - Campus Tagus Park



Lab n. 4 - Additional .NET Remoting Topics




1. Unzip, run and read the code for the following demos:
ObjectSerialization.zip: Writing and reading objects in XML format to a file.
AsynchronousRemoting.zip: Asynchronous server calls.
RemoteExceptions.zip: Throwing exceptions from a server to a client that called it.

2. Relying on the code examples from point 1, create a client/server application where the server is a people database (with arbitrary key and attributes). Each person's data is stored in a text file whose name is <key>.txt. The client calls the server asynchronously to allow for the server to process the text file. If there is a formatting error in the file, the server should throws an exception to the client.