. Net remoting common deployment structure

Source: Internet
Author: User
It was used some time ago. net remoting in the Internet, to use the TCP channel for higher performance, but there is no way to allow the firewall port (not 80), and finally use the second method below, http port 80, deploy remoting to IIS. Generally, the remoting structure can be divided into the following two types:

I,

Note:Remot object is the encapsulated business logic, and the server is the win ServerProgramIt is used to hold remote objects for the client to call. The client is a Web site and accesses the server through the TCP channel (a port must be provided. This Port cannot conflict with existing programs and cannot be intercepted by the firewall ). The client can directly operate on remote data by calling the server to obtain a remote object proxy locally.
It is more efficient to use the TCP channel, but the firewall needs to open the port used. You need to write a server program to carry remote objects.

II,

Note:Remot object is the encapsulated business logic. The server side is IIS. remote objects are loaded to IIS for calling. The client is a Web site and accesses the server over the HTTP channel (port 80 is used, the firewall allows this port ). The client can directly operate on remote data by calling the server to obtain a remote object proxy locally.
No additional server programs are required. remote objects are directly run in IIS (virtual directory). firewall issues are not considered when port 80 is used, and IIS is used to ensure better security; the efficiency of using HTTP channels is not as high as that of TCP channels.

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.