Remoting Practice Sample

Source: Internet
Author: User

I have studied Remoting over the past two days and changed the MSDN example.

The example is not very convenient.

I made the following improvements:

  1. Make the entire sample into a solution
  2. Windows service is used as the server.
  3. Port 80 is used to break through the firewall
  4. Add interface project, so client reference interface rather than class

Note the following points during deployment:

  1. If port 80 in ZZ Remoting Test Host. config is not changed, stop IIS
  2. ZZ Remoting Test Host. config is to be copied to C: \ windows \ system32. This is where windows service looks for configuration files.
  3. Run installutil RemoteHost.exe to install windows service and then start the service
  4. Modify client.exe. config to the IP address you need.

 

Code download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.