"You may need an additional loader to handle the result of these loaders."
I am currently trying to build a State Management Library for ReactJs. But as soon as I implement it into my React project (created with `create-react-app`), it starts dropping this error: ``` Failed ...
- Modified
- 13 Dec at 17:37
Xamarin.Android C# layout_weight error: Must specify a unit, such as "px" (Intellisense?)
A snippet of my layout: ``` <LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content"> <Button ...
- Modified
- 14 Aug at 20:3
System.Text.Json: How to apply a JsonConverter for a collection with a custom converter for the collection's items?
I have a class that I want to serialize to JSON. The class contains some trivially serialized members but the problem is that I have a list of objects that are from a cpp library (I have a C# has a wr...
- Modified
- 22 May at 04:15
Custom JSON serializer for optional property with System.Text.Json
I'm trying to implement a JSON serialization mechanism which handles both `null` and missing JSON values, to be able to perform partial updates when needed (so that it does not touch the field in the ...
- Modified
- 19 Aug at 10:18
Failed to resolve for reference Microsoft.Azure.WebJobs.Extensions - Metadata generation failed
Had to pick up a bit of work from another developer so just trying to wrap my head round it all! But I'm having issues building an Azure Functions project and continuously getting a error coming form ...
- Modified
- 14 Aug at 14:7
Returning a Value Tuple of Custom Objects From Ormlite
I'm trying to do a simple Join on 2 tables and return a Value Tuple of those two tables. ``` public partial class DeliveryMethod { [Required] [PrimaryKey] public int DeliveryMethodId { get...
- Modified
- 13 Aug at 21:3
ServiceStack not showing up in Visual Studio
According to this documentation: [https://youtu.be/EaUcPXVeLpk?t=20](https://youtu.be/EaUcPXVeLpk?t=20) I should be able to right click and select "Add ServiceStack Reference" I don't see that option:...
- Modified
- 12 Aug at 13:24
In System.Text.Json is it possible to specify custom indentation rules?
[.Net runtime repo](https://github.com/dotnet/runtime/issues/40731) When setting JsonSerializerOptions.WriteIndented = true indentation looks like this when writing json... ``` { "TILESET": "tileset...
- Modified
- 13 Aug at 17:24
Redis Client Side Caching for .Net
Redis 6 has introduced a feature supporting Client Side Caching and is described in here: [https://redis.io/topics/client-side-caching](https://redis.io/topics/client-side-caching) I tried out the Ser...
- Modified
- 18 Aug at 04:40
Could not locate .NET Core project. Assets were not generated
I just started learning C# a couple hours ago, but have since run into this error. Ctrl + Shift + P > .NET:Generate Assets for Build and Debug But when I click it, an error pops up bottom right of the...
- Modified
- 12 Aug at 14:14
AWS CDK Init for an existing project
I'm trying to initialize the AWS CDK on a new website I just created via Visual Studio. But when I run the init commmand I get the error: `cdk init` ``` ❯ cdk init app --language=csharp `cdk init` can...
- Modified
- 10 Aug at 21:36
How to auto increment the version (eg. “1.0.*”) of a .NET Core project?
In the old .NET framework, you could set the `[assembly: AssemblyVersion("1.0.*")]` and the compiler would auto-increment the version. With .NET core, I've tried all sorts of things, but I can't get i...
- Modified
- 25 Jan at 17:8
Python 3.7 Error: Unsupported Pickle Protocol 5
I'm trying to restore a pickled config file from RLLib ([json didn't work as shown in this post](https://stackoverflow.com/questions/62908522/error-callbacks-must-be-a-callable-method-that-returns-a-s...
Run async code during startup in a ASP.Net Core application
After changing the signature of the function `ConfigureServices` to be asynchronous (originally it was just a void synchronous function and the application worked perfectly fine), I get the following ...
- Modified
- 9 Aug at 07:17
Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints. - How?
This issue can be replicated easily, but I do not know the correct way to resolve it. For example, you have a class and a class. Each Game has two Teams. When using standard OOTB EF naming conventio...
- Modified
- 7 Aug at 17:48
Why is the pseudo-random number generator less likely to generate 54 big numbers in a row?
Consider an event that occurs with probability . This program checks how many failed trials it takes before the event occurs and keeps a histogram of the totals. e.g.: If were 0.5, then this would...
Invalid signature when creating a certificate using BouncyCastle with an external Azure KeyVault (HSM) Key
I'm trying to generate a certificate self-signed by a KeyPair stored in Azure KeyVault. My end result is a certificate with an : [](https://i.stack.imgur.com/b6HpS.png) Generating the certificate para...
- Modified
- 12 Aug at 04:56
OpenAPI / Swagger-ui: Auto-generated JSON in form ignores parameter name
[this post](https://forums.servicestack.net/t/swagger-put-post-body-value-issue/4790) I am using ServiceStack and its OpenApi plugin. I am not sure though if this is an Swagger-ui problem, ServiceStac...
- Modified
- 5 Aug at 12:55
How to use the Either type in C#?
[Zoran Horvat](https://www.pluralsight.com/authors/zoran-horvat) proposed the usage of the `Either` type to avoid null checks and during the execution of an operation. `Either` is common in functiona...
- Modified
- 3 Aug at 16:35
Why are Func<> delegates so much slower
I was in the process of moving repeated arithmetic code into reusable chunks using funcs but when I ran a simple test to benchmark if it will be any slower, I was surprised that it is twice as slow. ...
- Modified
- 7 May at 03:48
Unexpected results after optimizing switch case in Visual Studio with C#8.0
Today while coding, visual studio notified me that my switch case could be optimized. But the code that I had vs the code that visual studio generated from my switch case does not result in the same o...
SSL Error "The message received was unexpected or badly formatted" for a .NET application on one specific machine only
I have a .NET Core 3.1 C# application which is calling an API via HTTPS (and presenting its public key as part of getting the token as that certificate is later used to decrypt information sent back s...
Fetch access token from authorization header without bearer prefix
I'm using the and packages for my .NET Core project. There are some controller endpoints protected by the `[Authorize]` annotation that have to fetch the access token from the request. Currently I'm...
NETSDK1073: The FrameworkReference 'Microsoft.AspNetCore.App' was not recognized
I use .NET Core 5.0.100-preview.7.20366.6 , Blazor webassembly, Microsoft Visual Studio Community 2019 Preview Version 16.7.0 Preview 6.0 [](https://i.stack.imgur.com/OaHdj.png) file `foo.csproj` ``` ...
- Modified
- 1 Aug at 05:42
MediatR publish and MediatR send
I have tried the CQRS pattern using MediatR and am loving the clean state in which applications am working on are transforming. In all the examples i have seen and used, I always do ``` await Mediator...
- Modified
- 31 Jul at 06:12