C # winform Development Series-socket/WCF/rometing/Web Services

Source: Internet
Author: User

Transferred from: ttp: // www.cnblogs.com/peterzb/archive/2009/07/03/1515950.html

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 well encapsulated for us in this respect, so it is easy for us to develop various network application types.Program.

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 communicationCode(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 have no referenceArticleThe proposed method is used to process the server. Because flashget can be used for multithreading, it is suspected that it is an issue 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)

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.