Questions tagged [servicestack-bsd]

Use this tag for questions specifically regarding the legacy 3.X ServiceStack release, available under the BSD license. For general questions about ServiceStack or questions about the latest releases, use the regular [servicestack] tag.

Documentation for the BSD release is available on the ServiceStackV3 GitHub project. This includes instructions for referencing v3 NuGet packages and an archive of the v3 GitHub wiki.

For general information about ServiceStack, visit https://servicestack.net/.

92 questions
11
votes
4 answers

Could not load type 'ServiceStack.ServiceHost.IService' when starting ServiceStack

I get the above error when calling Init() on my AppHost. This is on a clean asp.net v 4.5 empty web application with a simple HelloWorld service as per the getting started tutorial. I'm specifically using the older version of ServiceStack installed…
Neil Trodden
  • 4,724
  • 6
  • 35
  • 55
10
votes
3 answers

Handler for Request not found:

I am building a service stack for the first time: hello world. I have followed the step by step guide in here: but it is giving me an error: Handler for Request not found: what could be the missing part? thanks. here is my global.asax.cs using…
user742102
  • 1,335
  • 8
  • 32
  • 51
9
votes
1 answer

Is there a build issue in the recent versions of ServiceStack 3?

I have had the following warning show up in visual studio when compiling a project using ServiceStack 3.9.71.0 (seems to affect most recent releases too). Not sure why it hasn't shown up before but it has started showing up after I created a test…
AndyBan
  • 105
  • 5
6
votes
0 answers

Servicestack.net custom XML DateTime serialization

Is there a way to override the XML DateTime serialization in Servicestack.Net like we can do with JSON: JsConfig.SerializeFn = date => new DateTime(date.Ticks, DateTimeKind.Local).ToString("dd.MM.yyyy HH:mm:ss"); I want to do the same…
user3104423
6
votes
2 answers

ServiceStack "new" api and async await

ServiceStack version 3 I'm quite familiar with https://github.com/ServiceStack/ServiceStack/wiki/New-API and on this page it specifically says "All these APIs have async equivalents which you can use instead, when you need to." Is it possible to use…
Chris Marisic
  • 32,487
  • 24
  • 164
  • 258
6
votes
2 answers

Enable gzip/deflate compression

I'm using ServiceStack (version 3.9.44.0) as a Windows Service (so I'm not using IIS) and I use both its abilities both as an API and for serving web pages. However, I haven't been able to find how exactly I should enable compression when the client…
Renaud Bompuis
  • 16,596
  • 4
  • 56
  • 86
5
votes
1 answer

Using ServiceStack Funq IoC: how dependencies are injected?

I have WinForm application and I want to use ServiceStack dependency injection mechanism: public class AppHost : AppHostBase { public AppHost() : base("MyName", typeof(AppHost).Assembly) { } public override void…
Tomasito
  • 1,864
  • 1
  • 20
  • 43
4
votes
0 answers

ServiceStack Authentication Return Custom Response

I'm implementing a custom CredentialsAuthProvider in ServiceStack and it works great. My only problem is that I would like to return more information back in my AuthResponse. I'm using the following override to authenticate in my custom provider:…
Don Fitz
  • 1,144
  • 17
  • 32
4
votes
1 answer

404 Not Found error when running ServiceStack on IIS8

My ServiceStack web service works fine in IIS Express (VS 2012) and when deployed to Windows Azure, but it does not work under IIS 8 on Window 8. I am getting 404 Not Found Error. My web.config has both sections defined for IIS Express and the web…
h8tow8
  • 143
  • 9
3
votes
1 answer

How to install latest service stack open source dll

Anybody knows if this is the latest free version of servicestack: Nuget Command: Install-Package ServiceStack -Version 3.9.71 Nuget Link
Guardian
  • 89
  • 1
  • 12
3
votes
1 answer

Missing types in ServiceStack 3.9.71

I am developing service infrastructure (admin panel + webservices) on ServiceStack 3.9.71. When I started development process, was no errors or warnings and all projects were compiled and run perfect. Problems appeared when I tried to deploy apps…
alex025
  • 173
  • 1
  • 1
  • 13
3
votes
1 answer

Servicestack - Order of Operations, Validation and Request Filters

I detected a problem in the RequestFilter execution order. The ValidationFeature in ServiceStack is a Plugin that just registers a Global Request Filter. The Order of Operations points out that Global Request Filters are executed after Filter…
Cristóvão
  • 255
  • 1
  • 2
  • 11
3
votes
1 answer

ServiceStack + FluentValidation not triggering with ResolveService

I'm using ServiceStack + FluentValidation v3. I can post directly to the API and experience request validation, however, when calling from a resolved service instance in my MVC controller, no validation is triggered. Using Fiddler, I POST the…
Jeremy Smith
  • 1,349
  • 8
  • 15
3
votes
2 answers

How do I use my custom ServiceStack authentication provider with Redis?

I have implemented a custom CredentialsAuthProvider for my authentication and used it with the default in memory session storage. Now I tried to change the session storage to Redis and added this to my Configure() method in the…
user3104423
3
votes
2 answers

Access Servicstack.net session in validator

How can I access a ServiceStack.net session in my validation code? public class UserSettingsValidator : AbstractValidator { public UserSettingsValidator() { RuleFor(x => x.UserId) .SetValidator(new…
user3104423
1
2 3 4 5 6 7