Question

How do they do this http://api.stackexchange.com/docs/wrapper ? I am aware that these are ServiceStack driven APIs but some code samples would be nice.

I want to implement something similar but with ASP.NET Web API.

Still if someone can provide StackExchange code implemented with ServiceStack, for example and reference only, that would work too.

Était-ce utile?

La solution

You can gain some understanding of internal structure by exploring StacMan client library. Wrapper and StacManResponse classes in particular.

Update: There are also series of articles from Kevin Montrose about StackExchange API evolution and nuances: Stack Exchange API V2.0: Consistency, History Of The Stack Exchange API, Mistakes for example.
StackExchange performance page contains information about programming stack used, which is: C# + ASP.net MVC, Dapper ORM, StackExchange.Redis, DotNetOpenAuth, MiniProfiler, Jil. And The Architecture of Stack Overflow video contains information about some of SO software development principles.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top