Questions tagged [c#]
Accompanies [app]s written in, or [library]s meant to be used from, the C# programming language
38 questions
2
votes
0
answers
121
views
Post for Stack Exchange API
Screenshot / Code Snippet
As an internal enterprise code , this will not be available to the public.
About
Our application is a Microsoft Internal application used for internal purposes.
License
Not ...
1
vote
2
answers
87
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?
3
votes
0
answers
226
views
SEStandard - A .NET Standard 1.1 compliant Stack Exchange client library that supports API v2.2
Please note that SEStandard is still under development. It is currently at version 1.0.0-rc, and is a release candidate. While you can expect the API not to change, you might come across bugs. Please ...
2
votes
1
answer
196
views
Stack Exchange login hangs on Windows 10 Mobile?
I am working on a Stack Exchange App (Stack App for Windows 10 PC/Mobile and Windows 8.1 Mobile).
I have a user login set up and using the WebAuthenticationBroker in Universal Windows Platform, to ...
2
votes
1
answer
183
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&...
4
votes
1
answer
116
views
After user login, how do you ask user for permissions?
For an app on Windows Phone, I'm missing the page after you enter your login credentials and click submit. When I debug on my device, after I log in I obtain the correct response Uri with access ...
2
votes
1
answer
346
views
"access_denied" error in the write answer at stackoverflow [duplicate]
I am providing an application (windows application), This application can search in the stackoverflow and show results. Then User can write answer for that Question or write comment for that, Now my ...
1
vote
1
answer
6k
views
How to programmatically retrieve the access_token from client-side OAuth flow?
I'm making an application in C# and I need to both search and post answers, so I need an access token.
I found some information, libraries, and code pieces:
The authentication guide for the Stack ...
1
vote
1
answer
191
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, ...
2
votes
1
answer
253
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
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....
16
votes
0
answers
2k
views
Stackstabilizer - A Windows 8 Metro Stackoverflow app (version 4, 11-09-2012)
About Stackstabilizer
Stackstabilizer is a Stackoverflow reader for Windows 8. It helps you browse content on Stackoverflow, and allows you to sign in.
In-app search
It provides in-app search (...
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 ...
2
votes
0
answers
133
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 ...
38
votes
2
answers
3k
views
StacMan - .NET client for Stack Exchange API v2
Features
Supports all Stack Exchange API V2 methods through version 2.1
Easy to use: one-to-one mapping between StacMan and API methods/params
Async is easy: methods return Task<T> so they're ...
6
votes
0
answers
213
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
1
answer
471
views
BridgeStack — .NET client library with full 2.0 support
BridgeStack
This is a StackExchange API v2.0 consumer library written under C#. It is heavily documented and designed to make it as easy as possible to interact with the API.
Example Usage
To get ...
7
votes
0
answers
233
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/...
3
votes
1
answer
320
views
API Time zone difference problem
I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
2
votes
1
answer
123
views
Has calling StackAuth changed for Apps?
I started upgrading to v1.1 and have an interesting problem I can't seem to resolve.
When calling http://stackauth.com/1.0/sites using a .Net WebClient I receive responses successfully and I am able ...
7
votes
0
answers
261
views
StackBot - Making it easy to post StackExchange questions to Twitter
About
StackBot is a small C# application that is designed to post interesting questions to a Twitter account at specified intervals.
License
StackBot is released under the Ms-PL license.
Download
...
3
votes
2
answers
441
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 ...
2
votes
1
answer
358
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, ...
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 ...
1
vote
2
answers
245
views
App devs - Would you use something like this if it were available?
Update:
So it was written, so it is done.
Go see the real deal!
var questionWithStuff =
ctx // soapi context
.Official // convenience properties for known sites
.StackOverflow
....
3
votes
2
answers
150
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....
15
votes
2
answers
13k
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 ...
10
votes
1
answer
689
views
StackWatcher: Watch Your StackExchange Accounts
Screenshot / Code Snippet
About
Download StackWatcher
StackWatcher is a notification area application that polls all your associated StackExchange accounts for activity, including:
Reputation
...
3
votes
0
answers
274
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.
...
4
votes
0
answers
874
views
How to retrieve paged API results in C# and Silverlight
In this tip we are going to leverage the SimpleRequestFactory and gather a multipage response.
Let's pull the first 5 pages of 100 users on stackapps.com.
NOTE: for Silverlight, substitute Newtonsoft....
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 ...
6
votes
0
answers
347
views
OBSOLETE - CodeChirp - Twitter like post-aggregator and stalker webapplication
CodeChirp
About
CodeChirp is a twitter-like web-based question/answer/comment aggregator, that queries Stack Exchange sites, and shows the results as twitter-like posts. People can subscribe to users,...
1
vote
0
answers
193
views
Any CSS ninjas want to help me style my sample app?
I really am horrible at CSS. I am making a SO clone example application that will eventually consume as much of the StackOverflow.Net API as possible. Although it is a clone, I am not expecting it to ...
4
votes
0
answers
277
views
Newest unaswered by tags
Screenshot
About
Often, when I was looking for questions to answer on StackOverflow, I would go through newest unanswered questions and look for those that had one of my favorite tags. The “my tags” ...
6
votes
2
answers
435
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();
...
3
votes
0
answers
566
views
Stack Bridge Application
Screenshot / Code Snippet
SB For Windows
About
From This Application you can see all your account, see new Questions and Answer. You will receive a message every time you get a badge etc.
License
...
6
votes
0
answers
955
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 ...
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 ...