Category "c++sharp"

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

How do I use SetActive to turn on my Player Object from my GameManager?

I'm writing an Asteroid clone and I am running up against an issue with re-spawning my player object after it is deactivated on collision with an asteroid. I ru

Is there a solution for a bitwise logical AND (&) operator between two Enum values in C#

Consider the following simple Flags Enum in C#: [Flags] public enum CountingEnum { Zero = 0, One = 1 << 0, Two = 1 << 1, Three = Two

Reload page after message faded out

I want to reload the page after a message is displayed. Here is my code. ASPX: <div id="MyMsg" style="display:none;color:red; text-align: center;" runat="ser

Restore NuGet packages failed for project ... : Could not find a part of the path

I'm trying to run a Unit Test project in Visual Studio (.NET Framework 4.72). The project is now building/running successfully, however there is still an error

Downloading attachments with in sub folders using graph api and C#

I'm creating a solution to download attachments from an outlook365 account. The inbox of this account has subfolders and folders within the subfolders. The stru

Multiple search on array on ElasticSearch keeping order of elements

I'm trying to do a multiple search on multiple arrays on Elasticsearch. I'm using NEST on C#. Each array has the same length and is mapped to an ElasticSearch d

How to deserialize Json into an C# object and fill the components into a dictionary

{ "success": true, "data": [{ "type": "Employee", "attributes": { "id": { "label": "ID", "va

rayHit.point Instantiates at 0 0 0 Unity

I made a Gun Script (using YT videos) and a Bullethole GameObject should Instantiate at the Position the RayCast hits an Object. But it is always at 0 0 0. I tr

Add padding RSA PKCS#1 after hash SHA256 and before calling API of signature

In order to use a certificate stored in a distant HSM (using cloud signature), I'm actually trying to use an API that generates a PKCS#1.5 signature given a SHA