Top "Servicestack" questions

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

XML deserializing only works with namespace in xml

The most simple way I get ServiceStack xml deserialization to work is when the xml contains a namespace. However, the …

c# namespaces servicestack xmlserializer
OData with ServiceStack?

I just saw ServiceStack and I am considering building a service with it. Is it possible to serve OData feeds …

c# servicestack odata
Using ServiceStack.Text to deserialize a json string to object

I have a JSON string that looks like: "{\"Id\":\"fb1d17c7298c448cb7b91ab7041e9ff6\",\"Name\":\"John\",\"…

c# servicestack anonymous-types json-deserialization servicestack-text
Preventing StackOverflowException while serializing Entity Framework object graph into Json

I want to serialize an Entity Framework Self-Tracking Entities full object graph (parent + children in one to many relationships) into …

c#-4.0 entity-framework-4 self-tracking-entities servicestack jsonserializer
How do you implement authentication in servicestack.net

I'm investigating servicestack.net - but it's examples and articles don't seem to cover authentication - is this something handled …

c# security authentication servicestack
ajax jquery cross domain call does not send authorization header

Before I am doing a cross domain call to a server with service stack I am successfully authenticated and get …

jquery servicestack cors
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 = "…

c# asp.net asp.net-mvc razor servicestack
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 …

asp.net web-services servicestack servicestack-bsd
How to omit Get only properties in servicestack json serializer?

I have an object which I am de-serializing using ToJson<>() method from ServiceStack.Text namespace. How to omit …

json properties servicestack ignore
Stop Fluent Validation on first failure

i'm defining a validation for my Request objects. I would like the validator to stop on the very first failure, …

validation servicestack fluentvalidation