ServiceStack Locode Forms.formData is undefined
I am trying to customize the UI for the edit form. While referring the chinook repo's [custom.js](https://github.com/NetCoreApps/Chinook/blob/main/Chinook/wwwroot/modules/locode/custom.html) file, `th...
- Modified
- 13 Sep at 23:5
The property is part of a key and so cannot be modified or marked as modified (ForeignKey is not a key)
I have two entities with a relationship without a key, when I want to edit the personnel code field in Personnel, this error is displayed to me. > 'The property 'Personnel.PersonnelCode' is part of a ...
- Modified
- 22 May at 04:13
Does ServiceStack.Redis support RediSearch?
We currrently use ServiceStack for the majority of our APIs. We have come across the need to implement RediSearch against one of our Redis instances. Does ServiceStack.Redis support RediSearch? I kn...
- Modified
- 8 Sep at 12:51
VS2022 - Can't view values of variables when exception thrown - Local variables and arguments are not available in '[Exception]' call stack frames
I'm getting an InvalidOperationException thrown (which should be easy to fix). However when the exception is thrown, I can't view any of the current values in the Locals debug window. They all have th...
- Modified
- 5 Sep at 11:6
How to define JSON attribute on model binding using ServiceStack
I am developing a custom module for a 3rd party application that is using ServiceStack for API calls. The problem is that the JSON response is using snake case for keys and my Class using Dotnet stand...
- Modified
- 31 Aug at 15:12
SQL expression for Ormlite select APIs
I want to change this SQL expression to Ormlite Select. Is it possible? From this select statement I need to select date by Month selection. ``` SELECT a.Month, a.PRDLine, b.TargetPcs, ...
- Modified
- 30 Aug at 11:16
C# how to "register" class "plug-ins" into a service class? - As of today
6 Years have passed since [this question](https://stackoverflow.com/questions/41258760/c-sharp-how-to-register-class-plug-ins-into-a-service-class) was made and I was expecting to have an easy solutio...
- Modified
- 8 Sep at 07:17
Item enqueue in concurrent queue is not adding
I am working on an application in which I am getting orders from an third party app. The application is written on windows form so I am using service stack to add routes in my application. I have thre...
- Modified
- 29 Aug at 20:24
Move specific column value to first row first
I need to move the Status == 'Processing' to the first row at here. I tried used OrderBy but return SqlExpression error as there is OrderByFields before it. Can anyone help? ``` var inputQuery = db.Fr...
- Modified
- 26 Aug at 07:22
Unit testing data layer's stored functions/procedures using OrmLite without an open connection
I am trying to unit test our DB layer's stored procedures/functions using OrmLite's `ScalarAsync()`, for example, with the PostgreSQL dialect. (I tried using SqlLite in-memory but it doesn't do stored...
- Modified
- 15 Sep at 23:26
Multiple Query Type in Graphql Hotchocolate
I am using hot chocolate graphql. I have a scenario where I have two separate query type classes. 1. PostQuery -> contains post related queries 2. UserQuery -> contains user related queries **My Folde...
- Modified
- 5 May at 14:11
With c# why are 'in' parameters not usable in local functions?
For example, ``` public int DoSomething(in SomeType something){ int local(){ return something.anInt; } return local(); } ``` Why does the compiler issue an error that the something variabl...
- Modified
- 15 Aug at 01:29
NSwag For ServiceStack
I would like to use for generating for ServiceStack(SS) based application. With SS, the contracts are defined in DTO type class and the implementations in another class making it completely decouple...
- Modified
- 11 Aug at 21:31
ServiceStack Deserialize Json with Required Attribute
I'm trying to get the deserialization to throw an exception if a certain JSON attribute is missing. ex. This should deserialize fine (and it does): ``` { "Property1": 0, "Property2": "value",...
- Modified
- 11 Aug at 19:0
C# Connection pool issue: The timeout period elapsed prior to obtaining a connection from the pool
`OrmLiteConnectionFactory` is responsible for creating a new `SqlConnection`. `MaxConnectionPoolSize = 100`. `PoolSize < 50`. Code that creates a new connection: ``` services.AddSingleton<IDbConnectio...
- Modified
- 11 Aug at 09:19
Service Stack how to implement custom validation without registration
I am learning ServiceStacks and validations. I am still pretty new to this. I am interested in validating without registering a user. For example, I would like to validate all users that begin with th...
- Modified
- 4 Aug at 22:40
What is the rounding rule when the last digit is 5 in .NET?
Here is my code: ``` using static System.Console; namespace ConsoleApp2 { internal class Program { static void Main(string[] args) { double[] doubles = new[] { 9.0...
- Modified
- 2 Aug at 00:56
Problem with data into MariaDB using the SELECT clause in WHERE section
I don't know how to explain but I'll try, into my database in a table, I have one record with many fields. The username field, for example, contains the value = 'any-user-test' but if I execute a "SE...
- Modified
- 29 Jul at 20:22
How can we generate a jwt bearertoken on ServiceStack client side to impersonate a user?
Scenario: - - Because Windows Authentication does not support passing thru the authentication, due the double-hop problem, we need to use an alternative solution to impersonate that user. The ASP.NET...
- Modified
- 26 Jul at 07:38
git submodule update failed with 'fatal: detected dubious ownership in repository at'
I mounted a new hdd in my linux workstation. It looks working well. I want to download some repo in the new disk. So I execute `git clone XXX`, and it works well. But when I cd in the folder, and exec...
- Modified
- 17 Dec at 05:38
A second operation cannot be started when using ContinueWith
I have a loop and within the loop I'm doing: ``` await Task.Delay(1000, ct).ContinueWith(async _ => { await SecondMethodAsync(ct); }); ``` The second method gets an entity using EF, sets some pro...
- Modified
- 12 Jul at 05:4
PocoDynamo not saving child objects with proper Alias or DynamoDbProperty naming
I am working with `PocoDynamo` and I am having an issue where the child object properties are not being saved with the proper alias attribute name. ``` public class Doc { [Alias("id")] public...
- Modified
- 13 Jul at 19:4
ServiceStack Customizable Adhoc Queries with multiple fields
Consider the following database table: | Start | End | Value | | ----- | --- | ----- | | 1 | 5 | A | | 5 | 10 | B | | 10 | 15 | C | | 15 | 20 | D | | 20 | 25 | E | Consider the following req...
- Modified
- 8 Jul at 15:22
Retuning JObject\dynamic with ServiceStack seems to return
I'm trying to take a JSON string from SQL (works fine with SQL json queries, it's stuctured fine in there) and return it through ServiceStack. There's no errors on deserializing it, I can see the obje...
- Modified
- 5 Jul at 13:59
ServiceStack: How do I Serialize a nested object of Dictionary<string, object>?
``` "event-data": { "event": "opened", "timestamp": 1529006854.329574, "id": "DACSsAdVSeGpLid7TN03WA", "delivery-status": { "title": "success" }...
- Modified
- 30 Jun at 18:22