Questions tagged [c#]
Accompanies [app]s written in, or [library]s meant to be used from, the C# programming language
38 questions
119
votes
6
answers
12k
views
Stacky - A .NET client library (Full support for API v2.0)
Stacky - A .NET Client Library
The same great library now supports the 2.0 API!
https://bitbucket.org/lfoust/stacky
Sample Code
IUrlClient urlClient = new UrlClient();
IProtocol protocol = new ...
18
votes
0
answers
1k
views
StackedDeck: Watch Your Favorite Tags, TweetDeck-Style
Screenshot / Code Snippet
About
Download StackedDeck
StackedDeck allows you to watch as questions with your favorite tags come streaming in. Add as many columns as you like and StackedDeck will ...
15
votes
2
answers
14k
views
How to convert unix timestamp to .NET DateTime
What is the format of the "creation_date" that is returned from a search of questions? I've been looking all over here and can't figure it out. I want to convert it to a regular DateTime ...
7
votes
0
answers
244
views
SkeetNotifier: A Tray Notifier Application for Jon Skeet's answers
About
A tray application for Windows that notifies you about the newest answers from Jon Skeet.
Icon approved by Jon Skeet!
Screenshot
License
http://unlicense.org/
Source
http://github.com/...
6
votes
2
answers
476
views
Odd String Format Result from API Call
I'm just getting started messing around with the SO API. I haven't worked with JSON before, and I am getting a strange result from a basic call (No API Key).
WebClient stackClient = new WebClient();
...
6
votes
0
answers
227
views
ExchangeLinq: LINQ Query Provider for Stack Exchange API v2.0
ExchangeLinq is a LINQ Query Provider for the Stack Exchange API. It only supports API v2.0. It is currently in alpha state and is being developed for Exchange It, a Stack Exchange client for Windows ...
6
votes
0
answers
965
views
OBSOLETE - Mobile Exchange Library for .NET Compact Framework
Obsolete: This library was made for a decommissioned version of the API. Also, the source code is no longer available.
About
Since the .NET Compact Framework is always lagging behind in terms of ...
4
votes
2
answers
13k
views
Getting "Bad request 400" code when posting to StackOverflow api
On the last stage of authentication against StackOverflow, I keep getting "400 Bad Request" code. It's supposed to be a simple POST request to https://stackexchange.com/oauth/access_token with a few ...
4
votes
0
answers
1k
views
Dev-Tip: How to call the API in C# and Silverlight
This tip shows a simple and reliable way to create HttpWebRequest that are configured to properly query the api.
With the exception of the AutomaticDecompression assignment, this code can be used in ...
3
votes
2
answers
172
views
URL Format: Special Characters
I just noticed something in my testing. I was searching for questions tagged "C#" and the questions come back tagged "C".
Code Poet's SOAPI javascript formats the route thusly:
http://api....
3
votes
2
answers
473
views
Stacky JSON error
I'm trying to use Stacky to grab a question from Stackoverflow, however I always an error. The error thrown is:
JsonReaderException was unhandled -
Unexpected character encountered while parsing ...
3
votes
0
answers
284
views
MahTweets - Social Media Client
About
MahTweets is Yet Another .NET Twitter Client, that has expanded to include functionality for other social media sites including Facebook, Yammer, Foursquare, Tumblr, and that's just the start.
...
2
votes
1
answer
3k
views
Bad format returned by Stack Exchange API, not GZip?
I'm attempting to request some information using the Stack Exchange API. Supposedly, it returns responses compress with GZip. Using Microsoft's System.IO.Compression.GZipStream or Ionic.Zlib....
2
votes
1
answer
196
views
Implicit Flow Isn't Redirecting
I'm using the WebAuthenticationBroker to allow users to log in to their account:
var accessToken = "";
var uri = "https://stackexchange.com/oauth/dialog?redirect_uri=https://localhost.com&...
2
votes
1
answer
374
views
Error Using Stacky v1.0 Binaries in an Azure Worker Role
The following error is being thrown when calling the StackyClient.GetUser method from within an Azure Worker Role:
Method 'ReadJson' in type 'Stacky.UnixDateTimeConverter'
from assembly 'Stacky, ...
2
votes
1
answer
276
views
C# Stackexchange Questions API [duplicate]
I need to build an web application C# and below is what I'm stuck with
Can I use Stack Exchange's API with Key? Do they have a "hello world" key can be used for learning purpose.
I wish to get the ...
2
votes
0
answers
146
views
String formatting in returned JSON objects
So I sat down this evening to play with the Stack Exchange API. I downloaded RestSharp, and used it to call the API. One thing the struck me was how strings are formatted, with regards to non-ASCII ...
1
vote
2
answers
119
views
How to use the StacMan library to add a new question?
I didn't find any client.Questions.Add method.
So, how do I use the StacMan library to add a new question ?
Any sample C# example?
1
vote
1
answer
215
views
Getting Error 400 when using Authentication Broker in Win 8 App for Stackexchange API
I'm trying to connect to Stack Exchange API using OAuth.
So far I've been able to get a token and retrieve data that does not require authentication.
When i try do query that uses the authentication, ...