Category "c++sharp"

Backwards Shell navigation does not trigger ApplyQueryAttributes and I can't get the query data .NET MAUI

I have a page that is used to select country code. The ListView with country code's is on another page and on selected country code I navigate back to the previ

C# Windows Form Designer - Input String was not in correct Format

[Hello everyone, I'm a new into the world of programming, I tried to follow a tutorial showing how to make a timer, that can shutDown your Pc, or put it into Sa

is there any way to reduce the Tags browse time in OPC UA client?... while connected OPC UA Server

I have reduce and checked with SamplingInterval and PublishingInterval..values There is no impact. can you suggest any way? Let me know.

Finalizer not called after GC.WaitForPendingFinalizers

I read this fantastic explanation from Eric Lippert concerning when an object, having a reference to another one via an event, is garbage-collected. To prove wh

What is double exclamation mark in C#?

From https://source.dot.net/#System.Private.CoreLib/Hashtable.cs,475: public virtual bool ContainsKey(object key!!) It looks like two null-forgiving operators.

Is there reason why I always have Tweetinvi.Exceptions.TwitterException: Forbidden error?

I am trying to make Twitter bot which job is to, when run, upload picture of Snoop Dog with quote and few hashtags. Problem is when I run my code, it throws Twe

AppData locations in Unity

How do I get locations for "Local" and "Roaming" inside "AppData" folder through Unity? I am able to get "LocalLow" directory using the code below, how do I get

Load .NET Core x64 exe as .NET assembly and start process [duplicate]

I need to convert an executable to Bytes, and then start a process with it. What im using now is like: using System.Reflection; using System.T

How to freeze rotation in the z & y axes directions? Unity3D

I have a platform that can swing on a wide cylinder if objects are unevenly distributed on it. To do this, I created a cylinder with a mesh collider, put a plat

Angular 12 .Net 6 value null being passed to api as "null"

I have an angular 12 UI that is communicating with a .net 6 API. When a parameter in a query string is null or undefined the API is interpreting it as a string

EF Core: Map Many to Many relationship without navigation property

I'm trying to create a many to many relationship in entity Framework Core using Fluent API Here is my first model: MyCalculationSelector.cs public int Sort

How to prevent a popup Form from exceeding screen area?

I am building a two column custom context menu layout using Forms. I named the class of the form of the custom context menu as ContextMenu. I created a flag fun

AWS HTTP API Gateway integration with SQS - MessageAttribute doesn't work

I've integrated HTTP API Gateway with SQS and have some problem with MessageAttributes. The main goal is to pass parameter in URL, attach it to message attribut

image.Mat in EmguCV is always in BGR format?

My code is all done thinking that the input Mat is in BGR format, so I am wondering if given an Image object in EmguCV, the property Mat from this object is alw

Unsupported grant type exception on Flurl POST

I am making a POST to a client authentication endpoint with an encoded auth header and I receive Unsupported grant type exception. Speaking with the client, the

Read information of ID causing error from Exception

In C# My Sql Entity Framework 6 Insert is return exception Cannot add or update a child row: a foreign key constraint fails (portaldb.masterselectionhistory, C

Binding to a static property doesn't update in Xamarin Forms

I am learning to use MVVM in Xamarin Forms. I am stuck with a Binding issue. I have been trying different solutions on the internet for the past few hours. I am

WorldPay 3ds implementation INVALID_PAYMENT_DETAILS

I am trying to implement 3ds to an existing worldpay payment to my system. Although this works with test environment requests, I am facing problem with the live

C# connection to GIT fails

I have an application that generates file that needs to be stored in a GIT repository in ADO. I'm trying to connect to a repository but it fails to give me a GI

How should BlobServiceClient be created?

Should the BlobServiceClient be created in a similar pattern like HttpClient, effectively as a singleton, or should it be done per request? My instinct suggests