C # WinForm Development Series-Socket/WCF/Rometing/Web Services

Source: Internet
Author: User

Today's society is an information society. networks are increasingly affecting people's lives and bringing great convenience. Network Communication accounts for a considerable proportion in software development. socket/WCF/Rometing/Web Services are widely used. As a C # developer, Microsoft. net FrameWork is a good encapsulation for us in this regard, so we can easily develop various network application types.

Socket/P2P/FTP

What is port number?-marsgongna column-CSDN blog

C # Socket program (TCP)

[Switch] C # Socket programming notes

How to gracefully close a socket

[Original] C # And C ++ transmit struct through socket

An encapsulated asynchronous Socket Client

Socket I/O model full contact

Socket development on the. net 3.5 Platform

Socket port multiplexing in C #

. NET Socket development-synchronous Socket implementation: Two Examples

How to Use Keep-Alive in C # To handle abnormal disconnection of Socket network

Asynchronous Socket

Communication protocol and processing for Socket Development

. NET Socket development-asynchronous Socket

Example of Socket multi-thread programming in C # [reprint]

P2P network technology overview and implementation principles

P2P networks "freely" Break Through NAT "secrets"

Initial Implementation of P2P communication (c #, Socket connection)

Frog frog recommendation: improves network server applications waiting for synchronization

Frog frog recommendation: one-click CPU troubleshooting

How can I directly process the compressed files on the FTP server?

C # complete communication code (1) (point-to-point, point-to-point, synchronous, asynchronous, UDP, TCP)

C # complete communication code (2) (point-to-point, point-to-point, synchronous, asynchronous, UDP, TCP)

This post collects C # complete communication code (point-to-point, point-to-point, synchronous, asynchronous, UDP, and TCP.

Packaging and unpacking (transfer)

TCP transfer control protocol (transfer)

Difference Between TCP and UDP (reprinted)

What does the window size in the TCP Header mean?

[Switch] How should I avoid packet loss when a large amount of data is continuously transmitted using the TCP protocol?

C # implement Socket transmission of simple data

Network Packet monitoring using Raw Socket of C #

Monitoring Application Analysis Based on. NET Technology

[Add to favorites] TCP port: Role and Operation Details

Summary of IP addresses and subnet masks

STUN what is the concept of NAT port number through NAT? Tracert command details Ping command details

HTTP header details HTTP protocol details (really classic) WML Reference Manual

In webForm, WebRequest, WebClient, and WebBrowser can be used to obtain remote page source code (downmoon)

WCF

Cottage version WCF

Index of a series of articles from theory to practice in WCF

From theory to practice (1): unveil the secrets

X509 Certificate for WCF Security

EndPointIdentity for WCF Security

Protection of service metadata in WCF security discussion

[Original] WCF Technology Analysis 7: How to Implement integration between WCF, EnterLib PIAB, and Unity

[Original] Analysis of WCF Technology 8: caching mechanism for ChannelFactory in ClientBase <T>

How can I deploy a certificate-carrying WCF service in a Windows Service running in a network service account?

Rometing

Faster. NET Remoting-IPCChannel implementation

How to transmit parameters from the client to the server using. NET Remoting and server SingleCall Activation

Web Services

Web Services

[Original] Web Service Learning

Reduce data transmission volume: Use Zip.

Use Web Service as appropriate

Mobile Feixin WEB sending Service Interface

Design and pattern of Web Services

Create Web Services and three call Methods

Upload and download files in WebService

Implementation of MSN translation Robot Based on. NET/Web Service

Saving sessions between Web-based WebServices

Develop flight query programs using web Services provided by the network

Frog frog recommendation: How to Write asynchronous WebService (instead of Asynchronously calling WebService)

Yuweng Column

How to use C # To create a Windows Service

Using C # To create a Windows Service in. Net is actually very simple. You can follow the steps below to create a simple Windows ServiceRead the full text>

Multi‑thread File Upload using WebService

With the help of WebService, it is very easy to upload files with multiple threads. Therefore, I will just make a simple example. If you want to implement this function, you can expand it on my own.Read the full text>

How to solve the problem of WebService parameter passing in Chinese

Many people in the call WebService provided by the method, found that when the string contains Chinese, uploaded to the WebService side is found to be garbled, this is because WebService default encoding is "UTF-8 ", this type of problem occurs when the caller and the acceptor use different encodings. How to solve this type of problem depends on your environment.Read the full text>

Multi‑thread resumable upload

Currently, for the classes I have written, there is no problem with resumable data transfer in a single thread. However, when multiple threads perform operations, the second thread sends an HttpWebRequest and cannot obtain the request. However, I did not refer to the method mentioned in the article to process the server. Because FlashGet can be used for multithreading, it may be a problem of HttpWebRequest. Taking into account the time constraints, I did not go further. After all, I did not consider using HttpWebRequest to implement this multi-threaded breakpoint download program. It may be better to write from the Socket.Read the full text>

Research on multi‑thread resumable upload

After writing the previous article, the overall idea is correct, but there is no real multi-threaded download, so the key points of the Code are checked, especially in some places where web requests are operated, check whether there are any problems. The display of closing the HttpWebResponse object can be slightly improved.Read the full text>

Notes for compiling File Upload programs on the Web

Using. Net to write Web programs, whether it is a Web Service or a Web Form, it is inevitable to encounter problems such as file upload. In this case, pay attention to the following two details:Read the full text>

Email etc.

How to send emails in vs2005 (C #)

Resumable upload and multi-thread upload

C # automatically log on to the webpage and browse the page

Monitoring Application Analysis Based on. NET Technology

C # sending and receiving (POP3, IMAP, SMTP)

Upload Manager resumable Upload tool

Call the API in C # To obtain network information and traffic

WinForm: A small program for managing network connection Switches

[Original] Design and Implementation of the Single Sign-On (SSO) Component I

[Original] Design and Implementation of the Single Sign-On (SSO) Component II

Sort notes and find C # code --..--

Ajax loading content example

Solve the Problem of garbled file names for downloading Chinese names by IE and FF.

XmlHttp requests are successfully analyzed only once in IE6, IE7, and Firefox.

. Net/C #: implement the Http Web Client tool class (version 2nd) that supports resumable download of multiple threads (C # DIY HttpWebClient)

Author: peterzb (Personal Development History Knowledge Base-blog Park)
Source: http://peterzb.cnblogs.com/
The copyright of this article is owned by me. You are welcome to repost it. However, you must keep this statement without the author's consent and provide a clear link to the original article on the article page. Otherwise, you will be entitled to pursue legal liability.

Source: http://www.cnblogs.com/peterzb/archive/2009/07/03/1515950.html

2011.12.23.16.15 Modification

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.