Echo Service

Building client/server applications generally seems to resemble the chicken and egg problem. You need a server to test the client and a client to test the server. An echo server will bounce back any information it receives to the client who sent the data. Echo servers allow for a client application to test its connection and ensure that the data being sent is correct. Implementing an EchoService using .NET WebServices will serve as a good starting point.

VS.NET supports creation of WebServices directly from the IDE. VS.NET will connect to the specified IIS server using FrontPage extensions to open a Web folder, just as with the WebApplication developed in the previous chapters. Figure 4.4.1 shows the new project dialog for creating ...

Get C# and the .NET Framework: The C++ Perspective 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.