[Sample Of May 25th] How to cross domains using JSONP, jQuery and RESTful WCF Service provider in JavaScript

  Sample Download : http://code.msdn.microsoft.com/How-to-cross-domain-with-8174e773 JSONP is a convention used to invoke cross-domain scripts by generating script tags in the current script. The result is returned in a specified callback function. JSONP is based on the idea that tags such as <script src=”http://…” > can evaluate scripts from any domain and the script retrieved by…

0

[Sample Of Apr 29th] How to list active network endpoints on the system (TCP & UDP – IPv6)

  Sample Download : http://code.msdn.microsoft.com/CSCheckExeType-aab06100 This sample shows how to list active network endpoints on the system (TCP & UDP – IPv6). This sample only covers IPv6 endpoints. The sample output is similar to output from netstat (-aon) Sample output –  Number of TCP end points (IPv6) – 10  PID      LocalAddr      LocalPort      RemoteAddr      RemotePort      ConnState…

0

[Sample Of Apr 28th] How to list active network endpoints on the system (TCP & UDP – IPv4)

  Sample Download : http://code.msdn.microsoft.com/How-to-list-active-network-daf8ff48 This sample shows the TCP and UDP endpoints on the current system. This sample only covers IPv4 endpoints. The sample output is similar to output from netstat (-aon) Sample output –  Number of TCP end points (IPv4) – 38  PID      LocalAddr      LocalPort      RemoteAddr      RemotePort      ConnState ===      =========      =========      ==========      ===========     ========     4           …

0

[Sample Of Jan 9th] How to transfer large size file with asynchronous sockets API in .NET

  Sample Download : http://code.msdn.microsoft.com/Fixed-size-large-file-dfc3f45d ​The sample demonstrates how to transfer large size file with asynchronous sockets API in .NET. In a typical .NET application, we can use POST methods to transfer files in a HTTPRequest message, but with request body size limit. Instead, .NET Socket API provides us an elegant and asynchronous way to…

0

[Sample Of Oct 9th] How to download files from FTP server

  Sample Download :  CS Version: http://code.msdn.microsoft.com/How-to-files-from-FTP-d31b9d88 VB Version: http://code.msdn.microsoft.com/How-to-files-from-FTP-d996d604 The sample demonstrates how to list subdirectories and files of a folder on a FTP server and download all of them.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser…

0

[Sample Of Sep 23rd] How to create a simple web downloader

  Sample Download :  http://code.msdn.microsoft.com/Show-progress-in-f66dfe56 The sample demonstrates how to show progress during the download. The class System.Net.WebClient has a DownloadProgressChanged event, and you can register this event to show the progress. But this class does not support Pause/Resume. The class HttpDownloadClient in this sample could be used to download data through internet and supports…

0

[Sample Of Aug 26th] Transfer large size file with asynchronous sockets API in .NET

  Sample Download :  http://code.msdn.microsoft.com/Fixed-size-large-file-dfc3f45d ​The sample demonstrates how to transfer large size file with asynchronous sockets API in .NET. In a typical .NET application, we can use POST methods to transfer files in a HTTPRequest message, but with request body size limit. Instead, .NET Socket API provides us an elegant and asynchronous way to…

0

[Sample Of Aug 15th] How to cross domain with JSONP, jQuery and RESTful WCF service provider

  Sample Download : CS Version: http://code.msdn.microsoft.com/How-to-cross-domain-with-f24d4754 VB Version: http://code.msdn.microsoft.com/How-to-cross-domain-with-8174e773 This code sample demonstrate how to use jQuery or original JavaScript to cross domain. JSONP is a convention used to invoke cross-domain scripts by generating script tags in the current script. The result is returned in a specified callback function. JSONP is based on the…

1

[Sample Of Aug 4th] Multithreaded web downloader

  Sample Download : http://code.msdn.microsoft.com/Multithreaded-web-d2e108fd The sample demonstrates how to download files from Web server using multiple threads.    You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on…

0