Skip to main content
5 of 26
edited tags
Tyler Carter
  • 5.1k
  • 1
  • 15
  • 11

StackOverflow.Net - A .Net Client Library

##Sample Code

IUrlClient urlClient = new UrlClient();
IProtocol protocol = new JsonProtocol();

var client = new StackOverflowClient(version, apiKey, urlClient, protocol);
var questions = client.GetActiveQuestions();
foreach (var question in questions)
{
    Console.WriteLine(question.Title);
}

Silverlight

IWebClient webClient = new WebClient();
IProtocol protocol = new JsonProtocol();

var client = new StackOverflowClient(version, apiKey, urlClient, protocol);
client.GetActiveQuestions(questions =>
{
    foreach (var question in questions)
    {
        Console.WriteLine(question.Title);
    }
});

##About

StackOverflow.Net is a .Net client library for the StackOverflow API. It is intended to be simple and to support a variety of platforms such as

###License

MSPL

###Download http://stackoverflow.codeplex.com

###Platform .Net (Windows, Windows Phone 7). Not tested on Mono.

##Contact

Luke Foust - Feel free to contact through codeplex site

##Code

.Net 4, C#, Silverlight 4, Windows Phone 7

lfoust
  • 6.1k
  • 3
  • 18
  • 15