tagged [servicestack]

Whats the difference between ServiceStack.OrmLite packages and .Signed version?

Whats the difference between ServiceStack.OrmLite packages and .Signed version? When download the packages in Visual Studio there are two version of the same packages for ServiceStack. ServiceStack Se...

Upsert support in ORMLite

Upsert support in ORMLite I am using ORMLite in my project. What is the best way in ORMLite to perform UPSERT? Is there any built-in functions to do this type of operations? Thanks rudrvij

6 Mar at 14:14

Ormlite Descending Index

Ormlite Descending Index Is it possible to define a descending index in OrmLite? I can only see the `[Index]` attribute but I have a table of over 1 million records and need a descending index.

2 Oct at 10:36

What is the difference between IRedisClientsManager and IRedisClientCacheManager in servicestack.redis

What is the difference between IRedisClientsManager and IRedisClientCacheManager in servicestack.redis What is the difference between IRedisClientsManager and IRedisClientCacheManager in servicestack....

22 Apr at 15:20

How do I execute a SQL statement with parameters in ServiceStack.OrmLite?

How do I execute a SQL statement with parameters in ServiceStack.OrmLite? I want to execute SQL statement with paraemeters in ServiceStack ormlite I want the best way.

Service.Redis Trimming a list

Service.Redis Trimming a list Following tutorials that is using ServiceStack v3 and stuck at when trying to trim a list in V4. What is the equivalent in V4? Trying to google examples but with no luck.

8 Feb at 14:12

How to read values from the Redis Stream using ServiceStack.Redis Library?

How to read values from the Redis Stream using ServiceStack.Redis Library? How to read values from the Redis using ServiceStack.Redis Library? For example, you can read all values from Redis using met...

ServiceStack.ORMLite HI/LO Algorithm

ServiceStack.ORMLite HI/LO Algorithm Is there an existing way to implement a HI/LO algorithm for my id generation in ORMLite? I decided to switch from NHibernate to ORMLite and would rather not use Au...

10 Sep at 04:4

ServiceStack.Ormlite Postgres case insensitive queries

ServiceStack.Ormlite Postgres case insensitive queries I am looking to cleanly implement a mechanism to override all where clauses that compare strings to do the following [Column].Value.ToLower() == ...

Ability to create clustered indexes in ServiceStack/ORMLite codefirst

Ability to create clustered indexes in ServiceStack/ORMLite codefirst I thought I saw it in ServiceStack 4 release notes, but search is failing me. For ServiceStack, does ORMLite have the ability to c...

Deserialize XML with UTF-16 encoding in ServiceStack.Text

Deserialize XML with UTF-16 encoding in ServiceStack.Text I am trying to use ServiceStack.Text to deserialize some XML. Code: The opening xml line is: ServiceStack fails with the following error: > Th...

ServiceStack AuthUserSession Roles & Permissions not populated when UseDistinctRoleTables

ServiceStack AuthUserSession Roles & Permissions not populated when UseDistinctRoleTables I'm not sure whether this is an issue or not, but AuthUserSession Roles an d Permissions properties are not po...

Typed query for INNER JOIN (SELECT DISTINCT)?

Typed query for INNER JOIN (SELECT DISTINCT)? Is it possible to create a typed query that produces the following SQL?

5 Jun at 10:24

Is it possible to do sub-query join using ServiceStack's OrmLite?

Is it possible to do sub-query join using ServiceStack's OrmLite? Is it possible to do sub-query join using ServiceStack's OrmLite? Something like this?

7 Jul at 02:16

Servicestack - possibility of mapping several POCO to one table

Servicestack - possibility of mapping several POCO to one table I'm looking for a way to map several POCO objects into single table in the ServiceStack. Is it possible to do this in a clean way, witho...

27 Feb at 21:29

How to install latest service stack open source dll

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](https://w...

Nullable enum properties not supported in OrmLite for ServiceStack 3?

Nullable enum properties not supported in OrmLite for ServiceStack 3? I'm using ServiceStack 3 and OrmLite. One of my data classes has a nullable enum property like this: In my Oracle DB the field `RE...

Is there a way to disable the 'remember me' feature in ServiceStack?

Is there a way to disable the 'remember me' feature in ServiceStack? Obviously, not submitting that field to the login service works but anyone can override that. Is there a way to disable this featur...

ServiceStack Redis: given an arbitrary connection string, how do I test for connectivity to a Redis Cache server?

ServiceStack Redis: given an arbitrary connection string, how do I test for connectivity to a Redis Cache server? I would like to know given an arbitrary connection string, how do I test if the connec...

Using ServiceStack Ormlite global filters with Session

Using ServiceStack Ormlite global filters with Session I want to alter the example found [here](https://github.com/ServiceStack/ServiceStack.OrmLite#global-insert--update-filters) so that modifyby is ...

28 Mar at 14:0

How do I prevent ServiceStack deserializing empty request parameter values as null?

How do I prevent ServiceStack deserializing empty request parameter values as null? I have a very simple ServiceStack service which I am invoking it via `JSONServiceClient` and c# typed API. However, ...

JsConfig.EmitLowercaseUnderscoreNames for deserialization

JsConfig.EmitLowercaseUnderscoreNames for deserialization I need lowercase_underscore_names for my REST client. `JsConfig.EmitLowercaseUnderscoreNames` setting works fine only for serialization (JSON)...

Servicestack add field UserAuth table and check on login

Servicestack add field UserAuth table and check on login I want to add new field(s) on UserAuth table (for example : blocked, verified) and I want to check when login. How I can do this? I did not fou...

How do I encode angle brackets in servicestack json response

How do I encode angle brackets in servicestack json response I have a customer who wants to ensure that responses from our JSON web service do not contain HTML. So instead of returning a string contai...

2 Mar at 05:30

What is SqlExpressionVisitor

What is SqlExpressionVisitor I am new to ServiceStack & OrmLite, during my work, I frequently come across `SqlExpressionVisitor` And my question is: What is it basically? and what are the benefits of ...