mar*_*are 11 rest asp.net-mvc servicestack asp.net-web-api stackexchange-api
他们如何做到这一点http://api.stackexchange.com/docs/wrapper?我知道这些是ServiceStack驱动的API,但一些代码示例会很好.
我想用ASP.NET Web API实现类似的东西.
但是,如果有人可以提供使用ServiceStack实现的StackExchange代码,例如仅供参考,那也可以.
您可以通过探索StacMan客户端库来了解内部结构。特别是Wrapper和StacManResponse类。
更新:
Kevin Montrose 还撰写了一系列有关 StackExchange API 演变和细微差别的文章:Stack Exchange API V2.0:一致性、Stack Exchange API 的历史、错误等。
StackExchange性能页面包含有关所使用的编程堆栈的信息,它们是:C# + ASP.net MVC、Dapper ORM、StackExchange.Redis、DotNetOpenAuth、MiniProfiler、Jil。Stack Overflow 视频的架构包含有关 SO 软件开发原理的一些信息。