Click here to Skip to main content
13,351,044 members (61,629 online)
Click here to Skip to main content


62 bookmarked
Posted 27 Mar 2006

Server-Side Asynchronous Methods for ASP.NET and WinFX

, 6 Apr 2006
An article that describes how to create server-side asynchronous service methods for ASP.NET and WinFX, thereby freeing up resources on the server to handle more clients simultaenously.
Service References
using System;
using System.ServiceModel;

/// <summary>
/// Defines the contract for the WinFX version of the service.
/// </summary>
public interface IWinfxService
	Int32 SyncWork();

	[OperationContract(AsyncPattern = true)]
	IAsyncResult BeginAsyncWork(AsyncCallback callback, Object state);

	Int32 EndAsyncWork(IAsyncResult ar);

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Karl M. Hulme
Web Developer
United Kingdom United Kingdom
I live with my wife in Bournemouth in the UK. She consistently inspires me to be the person I know I should be. I enjoy writing music, playing the piano, watching movies, philisophical discussion and eating jaffa cakes.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.180111.1 | Last Updated 6 Apr 2006
Article Copyright 2006 by Karl M. Hulme
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid