ServiceStack is a modern, code-first, DTO-driven, WCF replacement web services framework encouraging best-practices for creating DRY, high-perfomance, scalable REST web services

learn more… | top users | synonyms

2
votes
0answers
10 views

Create Json Array with ServiceStack

Quite new to .NET. Still haven't gotten the hang of how to do dictionaries, lists, arrays, etc. I need to produce this JSON in order to talk to SugarCRM's REST API: { "name_value_list": { ...
1
vote
1answer
18 views

ServiceStack JsonSerializer not serializing public members

I'm trying to use ServiceStack.Redis and i notice that when i store an object with public members and try to get it later on i get null. I checked and found that ServiceStack.Redis is using ...
1
vote
1answer
23 views

http://localhost:1000/api/todos 404 Not Found using ServiceStack

Installed ServiceStack through nuget: Install-Package ServiceStack.Host.Mvc on a new MVC4 app. Reading the "ReadMe.txt" it says: to comment out ...
2
votes
0answers
14 views

Does ServiceStack.OrmLite.JoinSqlBuilder allow to build a simple query

I'm wondering if ServiceStack.OrmLite's JoinSqlBuilder allow to build the following simple query: SELECT * FROM Table1 a INNER JOIN Table2 b ON ... WHERE a.Column1 = 1 AND (a.Column2 = 2 OR ...
2
votes
0answers
15 views

Accessing IAuthSession in non-controller classes in ServiceStack/MVC4

I am new to ServiceStack, so this is probably a noob question: I am working on an ASP.NET MVC4 application that uses ServiceStack and am trying to figure out how I could get a hold of the current ...
2
votes
1answer
47 views

Convert int to bool during JSON deserialization

I am receiving a JSON object with RestSharp. Therefor I've written a custom Deserializer, which implements ServiceStack.Text: public T Deserialize<T>(IRestResponse response) { return ...
1
vote
0answers
17 views

What's an efficient way to do a partial update to a collection

I have a large collection of model objects with a single field that I'd like to update for all of them indicating a change in their status (they're all transitioning to the same new state.) I was ...
1
vote
1answer
14 views

Is it possible to override the default URL for Servicestack RegistrationFeature?

Is it possible to override the default URL for Servicestack RegistrationFeature? I would like to use something other than /register.
1
vote
1answer
23 views

'ServiceStack.MiniProfiler.IHtmlString' does not contain a definition for 'AsRaw'

I have installed servicestack MVC in a MVC4 app through nuget and trying to enable the mini profiler. I have done as per the instructions the following in Global.asax: protected void ...
-2
votes
1answer
24 views

Need help understanding the Route attributes in ServiceStack

I'd greatly appreciate if someone could kindly explain [Route] attribute / routes.Add() method, its parts. I'm used to MVC framework / WebAPI and know that those pertain to Controllers and Actions. ...
1
vote
0answers
9 views

ServiceStack.Logging with Log4net not showing correct stacktrace information

I've been switching to use ServiceStack.Logging on a small solution using Log4Net. So far it took me a couple of minutes and everything is working fine. The problem is the logs are a bit different ...
2
votes
2answers
30 views

MySQL C# Find Lat Lon entries within a certain max distance

I am trying to find all db entries that have a lat lon that fall into a certain mile range from my location. I am basing my answer off of this stackoverflow answer: MySQL Great Circle Distance ...
2
votes
1answer
17 views

IRedisSubscription connection

I am using Service Stack to connect to Redis and use the SubPub functionality. Should I be keeping the IRedisSubscription and IRedisClient instantiation alive? For example should I be assigning it ...
1
vote
0answers
45 views

Dart HttpRequest json authorization error: server responded 401 (Unauthorized)

I have a servicestack and use Restfull with Authenticate. When I use Dart to authenticate with this code: var request = new html.HttpRequest(); request.open('POST', "http://x.x.x.x:9998/auth/basic", ...
1
vote
1answer
23 views

Is there a ServiceStack, Mono, Ubuntu stack build on apt-get or cloud version?

Is there a LAMP version with ServiceStack for easy peasy deployment on latest Ubuntu builds? Or even a cloud version of ServiceStack as I dont want to spend my time fussing over settings but building ...

1 2 3 4 5 95
15 30 50 per page