我很努力地看到这是如何RESTful。我指的是下载的GitHub ServiceStack.Examples \ src \ ServiceStack.Examples \ ServiceStack.Examples.sln。我没有看到任何有关这方面的安宁,这里根本没有RESTful路线,方法名称都是动词,但它们都像GEtThis等。我没有看到任何Http动词属性,这里没有任何内容。ServiceStack.Examples src ServiceStack.Examples不是RESTful吗?
有人可以解释这是什么,因为我觉得它甚至不属于ServiceStack的例子...?
如果您使用[examples](http://www.servicestack.net/ServiceStack.Hello/)检查网页,您将看到REST的示例,[here](http://www.servicestack。 net/RestFiles /#!文件)和[这里](http://www.servicestack.net/ServiceStack.MovieRest/)。 GetUsersService就是[Ajax Client]的示例(http://www.servicestack.net/ServiceStackExamplesClients/) – stefan2410
好吧,我只是想到,所有这些都会显示REST示例,因为这是使用ServiceStack API的要点!好,谢谢。所以我没有看到他们在这个期间将不安全的例子放在国际海事组织,这只会促进不好的做法。 – PositiveGuy
这些也是RESTful https://github.com/ServiceStack/ServiceStack.Examples/tree/master/src/RedisStackOverflow和https://github.com/ServiceStack/ServiceStack.Examples/tree/master/src/RestIntro – PositiveGuy