ServiceStack IContainerAdapter adapting Autofac 5.2.0 version
I'm trying to upgrade the latest package to `5.2.0`, but not really successfully becasue of interface changes, From (`Autofac 4.9.4`) ``` public static class ResolutionExtensions { public stati...
- Modified
- 26 May at 05:1
Service stack server OnReconnect event is not fired when server reconnected successfully
I am working on the serviceStack and react-redux project. I have to create functionality to detect that the user is connected to the network or not. For that, I'm using SSE reconnect event to get the ...
- Modified
- 25 May at 09:25
AWS Log Insights query with string contains
how do I query with contains string in AWS Log insights ``` fields @timestamp, @message filter @message = "user not found" | sort @timestamp desc | limit 20 fields @timestamp, @message filter @messag...
- Modified
- 13 Jul at 17:23
Preload folder icon for a specific folder in Windows Icon cache, in C# or VB.NET
I need to mention a 3rd party program, or better said the source-code of [WinThumbsPreloader](https://github.com/bruhov/WinThumbsPreloader/blob/master/WinThumbsPreloader/WinThumbsPreloader/ThumbnailPr...
URL from BlobItem
I would like to get the URL for a `BlobItem`. In the Azure Portal, I can see the URL in the properties section, but when I get the `BlobItemProperties` object from the `BlobItem`, I cannot find the `...
- Modified
- 23 May at 16:30
How to normalize fancy-looking unicode string in C#?
I receive from a REST API a text with this kind of style, for example - ?- ?- нσω тσ яємσνє тнιѕ ƒσηт ƒяσм α ѕтяιηg? But this is not italic or bold or underlined since the type it's st...
How to implement custom authorization filter for Blazor page
Look over the examples on authorization, I am trying to get a solution for a custom authorization filter/attribute. I simply need to check the user identity during Authorization. https://learn.microso...
- Modified
- 4 Jun at 03:24
Referencing netstandard ServiceStact.redis in net48
We have a net48 project which is referencing a netstandard2.0 lib, which is in turn referencing ServiceStack.Redis. This works fine in all our netcore3.1 app, but is causing referencing issues at run...
- Modified
- 22 May at 15:56
Does Channel<T> support multiple ChannelReaders and ChannelWriters, or only one of each?
The documentation for [Channel.CreateUnbounded][1] says: > Creates an unbounded channel usable by any number of readers and > writers concurrently. However [Channel][2] has properties for a single `Ch...
- Modified
- 6 May at 18:42
Switch expression on System.Type in C# 8
I'm curious is any other way to write something like this with new switch expression in C# 8? Because `_ when type == typeof(string)` looks kinda weird especially when we have [type pattern][1] and ot...
- Modified
- 23 Aug at 04:16
Visual Studio 2017 keep file open by default
I have an annoying problem with Visual Studio 2017. Whenever, I open a file using Ctrl+Click navigation, the the file gets opened in purple tab preview mode (for a lack of better term). Please note...
- Modified
- 21 May at 20:30
SignalR and Redis
I've got a project that uses SignalR and a RedisBackplane, we've moved from StackExchange.Redis to ServiceStack.Redis due to Redis Sentinel compatibility issues (Not movable) However, it now looks li...
- Modified
- 21 May at 11:25
A problem with Nullable types and Generics in C# 8
After adding [<Nullable>enable</Nullable> or #nullable enable](https://learn.microsoft.com/en-us/dotnet/csharp/tutorials/nullable-reference-types), I ran into the following problem with my Generic met...
- Modified
- 22 May at 19:57
ORMLite Mapping reference Alias column
I use the following code for my POCO: As you can see my property that is my reference is assigned an Alias. ``` public class MasterItemAlias { [PrimaryKey] public long ID { get; set; } ...
- Modified
- 20 May at 07:40
Using serilog with azure application insights and .Net core
Currently, I am using azure application insights directly for logging as given in this link [Use latest version of Application Insight with .net core API](https://stackoverflow.com/questions/61772015/...
- Modified
- 20 May at 07:11
ServiceStack.Text JsonConfig Scoping Ignoring Attributes
I'm looking to effectively create logic via attributes on a .net core API project that, depending on a attribute will serialise or de-serialise while ignoring certain properties. Eg. If a property w...
- Modified
- 20 May at 03:35
ImportError: cannot import name 'joblib' from 'sklearn.externals'
I am trying to load my saved model from `s3` using `joblib` ``` import pandas as pd import numpy as np import json import subprocess import sqlalchemy from sklearn.externals import joblib ENV = 'dev...
- Modified
- 3 Jun at 03:14
InvalidOperationException: Can't use schemaId .. The same schemaId is already used for type
I receive the following error. ``` InvalidOperationException: Can't use schemaId "$Registration" for type "$PortalService.Models.Registration". The same schemaId is already used for type "$PortalServi...
- Modified
- 30 Apr at 19:49
How to have JSON String without characters like '\u0022' or '\' while converting DataTable to JSON String using NewtonSoft in .Net Core 3.1
I am writing a simple API in .net core 3.1. To convert my DataTable to JSON String I am using NewtonSoft Library with following code: ``` string JSONresult = JsonConvert.SerializeObject(dt, Formattin...
- Modified
- 18 May at 13:47
Utilize JWTBearer from multiple Identity Providers in ServiceStack API
Is it possible for a ServiceStack api to accept jwt tokens from multiple identity providers? I have one admin application that will be calling all our apis across environments. I need to allow my api...
- Modified
- 18 May at 13:29
iPhone is not available. Please reconnect the device
I'm on iOS 13.5 and using Xcode 11.4 to build on to it. I'm getting this error message: [](https://i.stack.imgur.com/SrbVf.png) The `KBlackberry` is my iPhone device name. I tried restarting the devic...
Difference between MemoryPool<T> and ArrayPool<T>
What is the difference between [MemoryPool](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.memorypool-1?view=netcore-3.1) and [ArrayPool](https://learn.microsoft.com/en-us/dotnet/api/syst...
- Modified
- 17 May at 17:57
Web service on Linux
Post the question in a different way, because the previous one was closed because it was opinion-based. In the past I have developed several .NET applications that consumes WCF services hosted on IIS ...
- Modified
- 17 May at 15:59
Endpoint contains authorization metadata, but a middleware was not found that supports authorization
I'm currently in the process of moving my locally developed app to an Ubuntu 16.04 droplet in digital ocean. I'm using .NET Core 3.1 and have configured my server for it just fine. However, when I nav...
- Modified
- 15 May at 22:27
Async void lambda expressions
A quick [google search](https://www.google.com/search?q=avoid%20async%20void&cad=h) will tell you to avoid using `async void myMethod()` methods when possible. And in many cases there are [ways to mak...
- Modified
- 15 May at 20:12