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

5244 questions
2
votes
1 answer

Servicestack Multi Tenancy

Does the Servicestack support the Single Deployment with Single Database multi-tenancy method? The documentation says only about multiple databases. Thanks
Chinthaka
  • 966
  • 1
  • 13
  • 42
2
votes
1 answer

servicestack GlobalRequestFilters request Dto coming null

I have a ServiceStack GlobalRequestFilters filter in the apphost file that catch the authenticate request, the filter is working fine but the problem is in the dto in req , res and requestDto is null ??! this.GlobalRequestFilters.Add((req, res,…
moath naji
  • 663
  • 1
  • 4
  • 20
2
votes
1 answer

ServiceStack Service which has a Stream in its request breaks metadata page

When I create a simple ServiceStack service with a Stream in the request, I find that I am unable to access the metadata page for the service method. The service itself appears to work (I can send a stream to http://localhost:12345/uploadStream…
Jay
  • 9,561
  • 7
  • 51
  • 72
2
votes
1 answer

Global Request Filter Async Order of Operations

Where do async global request filters fit in the order of operations as described here? We recently added a global async filter and a request filter with priority int.MaxValue was executed before the the async filter. When we changed the async…
Anthony Carl
  • 182
  • 6
2
votes
2 answers

ServiceStack selfhosted performance on Raspberry

I have a C# console application with a self hosted ServiceStack server (based on AppSelfHostBase). It has both REST API (get and post) and a "standard" html/javascript website. If i run the code under Windows, it works great, but if i run using…
2
votes
1 answer

Getting a list of all users stored in a IAuthRepository

Looks like there is no method to retrieve a List from the IAuthRepository or do I miss something? I use the Redis implementation, so I need a couple of hashes or Alias keys to do some filtering too. Any hints how I can do this without implementing a…
ThommyB
  • 1,456
  • 16
  • 34
2
votes
0 answers

Encrypting configurations in app.config

I need to encrypt data in my app.config file. I am looking at Protected Configuration as described on MSDN here. I have to encrypt passwords for connection strings (not the entire connection string, just the passwords, since parts of the string like…
ThommyB
  • 1,456
  • 16
  • 34
2
votes
1 answer

ServiceStack Uint8Array error IE9 appending parameter URL

I realize that on IE9, servicestack TypeScript ServiceClient somehow is using Uint8Array to append paramter to url. Still that doest work on IE9. http://docs.servicestack.net/typescript-add-servicestack-reference
synry63
  • 31
  • 1
2
votes
1 answer

Third party exception handling hooks for ServiceStack Asp.NET Core?

I run the Exceptionless project and we have a few customers using ServiceStack and I had some questions and also recommendations for your error handling. Currently you guys don't flow the exception to the asp.net core middleware or any of the…
Blake Niemyjski
  • 3,432
  • 3
  • 25
  • 41
2
votes
1 answer

ServiceStack InMemoryVirtualPathProvider for Razor - GetViewPage null

I tested this with the default out of the box implementation and GetViewPage retrieves the view from the file system without a problem. I swapped out the RazorFormat's VirtualFileSource for the inmemory one: Plugins.Add(new RazorFormat() { …
lucuma
  • 18,247
  • 4
  • 66
  • 91
2
votes
1 answer

Authenticate server to server communication with API key

I have a couple of self-hosted windows services running with ServiceStack. These services are used by a bunch of WPF and WinForms client applications. I have written my own CredentialsAuthProvider. My first implementation of the user database was…
ThommyB
  • 1,456
  • 16
  • 34
2
votes
1 answer

What are the options for returning a custom DTO with a specific status code using ServiceStack?

We're using ServiceStack to build a web API. I have a situation where I want to be able to return a response of 400 (BadRequest) from an API endpoint with some additional data indicating the specific cause(s) of the error. The two ways I know about…
Daniel Pratt
  • 12,007
  • 2
  • 44
  • 61
2
votes
1 answer

WithSqlFilter WITH (NOEXPAND) hint not correct in output SQL

I'm trying to use the new .WithSqlFilter() extension method to add the "WITH (NOEXPAND)" hint to the select statement generated against my indexed view. However, the output SQL is putting the hint after the WHERE clause instead of the FROM clause.…
Connor
  • 807
  • 1
  • 10
  • 20
2
votes
1 answer

ServiceStack OrmLite - Physical Project Structure

Based on this documentation here: http://docs.servicestack.net/physical-project-structure I wasn't able to quite figure out where \ how would be most appropriate to organize OrmLite within ServiceStack in order to have code-first structure and…
ShP
  • 1,143
  • 1
  • 12
  • 41
2
votes
1 answer

How to register multiple (different) redis connection pools in IOC

I have to connect to different Redis instances from one service (we have one redis instance per database because they require different storage policies). For each Redis DB I have several (different) repositories that take the corresponding…
ThommyB
  • 1,456
  • 16
  • 34
1 2 3
99
100