Category "c++sharp"

"is not registered in resolver" exception when serializing with abstract class using MessagePack

Trying to serialize componentMappers . The Exception is throwed at .Serialize(): var componentMappers = new Bag<ComponentMapper>(); var componentMappersS

ASP .NET Core custom authentication scheme with external login

I have a website where users log in on an external website and are redirected back with a token in the querystring. I then validate the token and create the aut

.NET 6 console app using NuGet library written for .NET 5 runs fine under Windows but crashes on Mac M1 with System.BadImageFormatException

Under Windows I have used the SaxonCS library (available on NuGet https://www.nuget.org/packages/SaxonCS/ that is written against .NET 5 successfully in both .N

is there a better way to add a list of integers containing users id as serialized json string to SQL as one record?

I'm working on a Blazor app that's similar to Facebook groups, I have to make a notification function where users can receive a notification message when someon

Is there any way to show in the inspector a scene with the possible zones to spawn the player?

I'm trying to make an intiutive inspector to select a scene and the possibility of select a "zone" as well to the player spawn position in the scene selected. R

What's the correct way to send PARAMS when using HttpClient.SendAsync()?

I have an application that is using a remote API. That API requires that I send PARAMS before it will accept the request as valid. Currently I send x-www-form

How to upload into and download from SQLite database doc file in C# .NET?

I have decided to develop desktop program with usage of SQLite datatbase and with help of C# programming language. One of the necessary functions that must be p

Filter list inside the list of objects

I have a following list of objects: List<Parent> parents = new(); Parent contains List<Children> list of children. What I want is to filter list of

how to get AWS SMS publish results in code

I've scoured the AWS documentation to see if there is a a way to get the SMS delivery log via code, but i'm at a miss, I can get the logs via cloud watch but I

GetColumnName() in EF Core 6 returns property name not mapped column name

I'm using EF Core 6 (6.0.2) with SQL Server 2019 with the following entity: public partial class MyEntity { [Column("External_ExternalId")] publ

WPF Binding in textblock does not work but in its tooltip does

I have a weird issue. In my application (witten with C# .net framework 4.8 with Microsoft's MVVM toolkit) I have a ListView bound to a BindingList<VisualMach

How to monitor CPU and RAM consuming by a .NET Core application

I am working on an ASP.NET Core Web API application in which I am working with the files security. I want to monitor the maximum and minimum RAM and CPU consump

Distrubuted domain driven design modeling

I am working on an events ticketing system and I am trying to use DDD. However, I am unsure about how to model some of my aggregates. I have the main Event aggr

Group the similar items in a multiple level hierarchy

I have a list of categories with duplicate key values AppCategoryId. I wanted to create a 3 level hierarchy with that. Data are in this way: var appCategoryList

C# groupBox BackColor = transparent not working

Hey I have created a form in c#. I made some groupboxes and set their BackColor to transparent, but there is still a backcolor. Anyone here who can help me solv

How to develop salesforce chatbot with xamarin forms

I want to develop Salesforce chatbot with xamarin forms application. I am not able to find what sdk or nuget package, I should use. There is no information seem

If it possible accelerate From-Where-Select method?

I have two var of code: first: struct pair_fiodat {string fio; string dat;} List<pair_fiodat> list_fiodat = new List<pair_fiodat>(); // list filled

Create Magic Links for users to access a .Net MVC WebApp

I want to add a new feature to my WebApp for events - build with .Net MVC - to send a magic link to each participant - after they register in the event - to acc

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool issues even If I used using statement

I am working on dotnet core 3.1. I am working on API call. When I call the API, below function in Repository will execute first by saving the data: then anothe

It takes too long to send transaction to the smart contract which is already deployed. (Nethereum + Unity)

I'm making some dApp using Unity & Nethereum. I deployed one contract to the Ropsten Test Net using Remix. And I had abi & bytecode of that, so I made D