How Can I transfer data through internet from client to server using .NET?
I am developing a server client application, where Client will send a huge amount of data to server through internet. However I h开发者_JAVA技巧ave done some asynchronous socket programing before. Can I use same code here ?
If both sides are .NET there are many higher level options like Windows Communication Foundation.
- Microsoft portal on WCF
- WCF samples
But you can use bare metal sockets if you want to.
Helpful Code Examples
If you want to do low level stuff like sockets C# Netwrok Programming by Richard Blum is probably the best book.
Also, Asynchronous TCP server in C# and Asynchronous TCP client in C#.
Code samples from Essential WCF: For .NET Framework 3.5.
精彩评论