Questions tagged [servicestack]

ServiceStack is Fast, Simple and Versatile message-based Web Services and MQ Framework for .NET and .NET Core

ServiceStack is a simple, fast, versatile and highly-productive full-featured Web and Web Services Framework that's thoughtfully-architected to reduce artificial complexity and promote remote services best-practices with a message-based design that allows for maximum re-use that can leverage an integrated Service Gateway for the creation of loosely-coupled Modularized Service Architectures. ServiceStack Services are consumable via an array of built-in fast data formats (inc. JSON, XML, CSV, JSV, ProtoBuf, MsgPack and Wire as well as XSD/WSDL for SOAP endpoints and Rabbit MQ, Redis MQ, Azure Service Bus and Amazon SQS MQ hosts.

Its design and simplicity focus offers an unparalleled suite of productivity features that can be declaratively enabled without code, from creating fully queryable Web API's with just a single Typed Request DTO with Auto Query supporting every major RDBMS to the built-in support for Auto Batched Requests or effortlessly enabling rich HTTP Caching and Encrypted Messaging for all your existing services via Plugins.

Your same Services also serve as the Controller in ServiceStack's Smart Razor Views reducing the effort to serve both Web and Single Page Apps as well as Rich Desktop and Mobile Clients that are able to deliver instant interactive experiences using ServiceStack's real-time Server Events.

ServiceStack Services also maximize productivity for consumers providing an instant end-to-end typed API without code-gen enabling the most productive development experience for developing .NET to .NET Web Services.

ServiceStack Links

ServiceStack Examples and Live Demos

ServiceStack Downloads

5060 questions
301
votes
5 answers

ServiceStack vs ASP.Net Web API

I want to write a new REST style API and have looked at ServiceStack and quite like it. However, I have seen that Microsoft has released the ASP.Net Web API project as part of the new MVC 4 beta. Has anyone looked at the new Web API project? Can you…
flipchart
  • 6,443
  • 4
  • 27
  • 51
87
votes
7 answers

How to merge multiple assemblies into one?

I consuming my service stack using EXE project (startup task for azure application) in that I have copied following service stack's DLL & some Azure's DLLs in to EXE project. When I build this EXE project then Azure DLLs will be bundled with my EXE…
Arun Rana
  • 8,082
  • 14
  • 63
  • 105
75
votes
3 answers

When to use Requirejs and when to use bundled javascript?

This may be a dumb question for web guys. But I am a little confused over this. Now, I have an application where I am using a couple of Javascript files to perform different tasks. Now, I am using Javascript bundler to combine and minify all the…
kunjee
  • 2,709
  • 1
  • 17
  • 36
66
votes
1 answer

Recommended ServiceStack API Structure

I'm trying work out the best way to structure our API; we have Reviews which we've setup in a standard REST structure (list one, list all, create, update etc). Where it doesn't quite fit the examples is: each review can be linked to one or more…
Tim
  • 4,673
  • 2
  • 19
  • 26
54
votes
3 answers

REST actions and URL API design considerations

I'm building a inventory management system and I'm busy designing (thinking) of the API and my REST implementation. I have the following resources and on the resource you can perform many actions/operations. Each operation will modify the resource…
Francois Taljaard
  • 925
  • 1
  • 9
  • 28
54
votes
4 answers

What's the current best solution for generating HTML from ASP.NET Razor templates within a Console Application?

I want to do this: string template = "Hello @Model.Name! Welcome to Razor!"; string result = Razor.Parse(template, new { Name = "World" }); And it appears that http://razorengine.codeplex.com is perfect, except it's a year old. EDIT: Turns out that…
Scott Hanselman
  • 17,492
  • 6
  • 70
  • 89
51
votes
0 answers

Troubles using WebRequest in Mono

I have a really strange problem with WebRequest in a ServiceStack web application (hosted by XSP on Mono). It seems that the registration of request modules works in a very strange way; I am using WebRequest to create an HTTP request, and it is…
Lorenzo Dematté
  • 6,161
  • 2
  • 33
  • 71
48
votes
5 answers

What is the best way to run ServiceStack on Linux / Mono?

Listed on the ServiceStack website it shows that ServiceStack can run on Mono with either: XSP mod_mono FastCgi Console What are these different configurations and which is preferred for Web Services on Mono?
mythz
  • 134,801
  • 25
  • 234
  • 373
47
votes
2 answers

ServiceStack REST API and CORS

Does anyone know if the ServiceStack framework can be used to create CORS REST services? I've been banging my head against the WCF REST stuff for days now - utterly useless.
user156888
45
votes
4 answers

Alternative to servicestack.redis

I did an package manager update-package command to update our project to the latest binaries. I almost published it because it passed all the tests until luckily I had found a problem that needed some more debugging. My mouth fell open when I…
Elger Mensonides
  • 6,373
  • 4
  • 42
  • 60
40
votes
1 answer

ServiceStack.Net Redis: Storing Related Objects vs. Related Object Ids

My team has decided to work with Redis via the ServiceStack.net Redis Client as an underlying repository for a new high-volume website we're working on. I'm not really sure where to look for documentation for this question (either for general Redis…
Zac Seth
  • 2,692
  • 5
  • 36
  • 55
40
votes
2 answers

ServiceStack Request DTO design

I am a .Net developer used to develop web application on Microsoft Technologies. I am trying to educate myself to understand REST approach for web services. So far i am loving the ServiceStack framework. But sometimes i find myself to write…
mustafasturan
  • 557
  • 1
  • 5
  • 10
39
votes
1 answer

In what order are the ServiceStack examples supposed to be grokked?

Just out of curiosity I like to know the preferred ordering, based on technical level and new api of the examples. For the most part, all the base infrastructure concerns all smell the same i.e. setup of the host ect.. but when it comes to the…
Stephen Patten
  • 6,103
  • 10
  • 46
  • 75
38
votes
3 answers

ServiceStack: RESTful Resource Versioning

I've taken a read to the Advantages of message based web services article and am wondering if there is there a recommended style/practice to versioning Restful resources in ServiceStack? The different versions could render different responses or…
Steve Stevenson
  • 617
  • 7
  • 7
37
votes
1 answer

Are these the main differences between RestSharp and ServiceStack's Client Code?

I have been unable to make a definitive choice and was hoping that somebody (or a combination of a couple of people) could point out the differences between using RestSharp versus ServiceStack's client services (keeping in mind that I am already…
Justin Pihony
  • 62,016
  • 17
  • 131
  • 162
1
2 3
99 100