50 likes | 175 Views
Working With the .NET Message Sample. SilkPerformer 2009. Start the Message Server. To begin, start the message server: MessageServer.exe. Start MessageServer.exe. Be sure that MessagerServer.exe.config is in the same directory as the .exe.
E N D
Working With the .NET Message Sample SilkPerformer 2009
Start the Message Server • To begin, start the message server: MessageServer.exe. Start MessageServer.exe. Be sure that MessagerServer.exe.config is in the same directory as the .exe. Message server has started. To stop the server, press any key.Watch this console window during the sample test—it logs information about the methods that are called.
Simple Client • The simple client creates two users.Watch the server console window. Start MessageSimpleCient.exe. Be sure that MessageSimpleClient.exe.config is in the same directory as the .exe. Watch the server console: 2 Users will be added; 1 message will be sent.
Connect to either the remoting server or the Web Service. Log in using User2/Pass2. The message sent by the simple client can be seen in the message store. The Win32 client shows you what happened: • User2 logged in and sent a message to User1. • Then User2 logged out. Send a message to User1. Then log out. Win32 Client • This client can either connect directly to the remoting server or to the Web Service.
Login as User1/Pass1. The Web client shows what happened: • User1 logged in and sent a message to User 2. • Then User1 Logged out. Web Client • The Web client uses the Web Service at http://localhost/MessageWebClient/Default.aspx. Log out. This is the message you sent from the Win32 Client. Send a new message to user2.