Obsolete: This library was made for a decommissioned version of the API. Also, the source code is no longer available.



Since the .NET Compact Framework is always lagging behind in terms of what is implemented, and what is not implemented, I made a .NET library for the Stack Exchange API specifically made for the .NET Compact Framework v3.5.

Code Snippet

The API is kept at its simplest form, with a unique static class entry point, returning results containing simple data types matching the JSON responses.

// Sync calls
TagsResult result = StackExchangeHelper.GetPopularTags( page );

foreach( Tag tag in result.Tags )

// Async calls
  new ResultCallback<StatsResult>( this.OnGetStatsCompleted ), 
  null );

private void OnGetStatsCompleted( StatsResult result, object state )
  foreach( Tag tag in result.Tags )

As you can see, the async pattern does not use IAsyncResult return values. Since mobile devices should avoid many concurrent requests, the abort system is centralized.



The license is MS-PL.


The sources are DEAD LINK available on CodePlex. There is no official release for the moment.


Though this library should work on any .NET Framework, it specifically targets .NET Compact Framework 3.5. Let's call this a new library for a legacy framework. :)


You can reach me on Twitter at @martinplante.


This library is made in C#, using .NET CF 3.5, the excellent JSON.NET library, and a closed-source control library made for slimCODE products.

  • 3
    Awesome logo. Please, Jeff, let him keep it! May 21, 2010 at 0:07


You must log in to answer this question.

Browse other questions tagged .