Category "c++sharp"

Why am I getting a SignatureDoesNotMatch error when object key contains grave accent marks?

I have been trying to replicate backup files on S3 bucket and one of my machines, which belongs to french culture, and the images it generated contains grave-ac

Database operation expected to affect 1 row(s) but actually affected 0 row(s) entity framework core

I have the following code try { using (var context = await PrepareDatabase()) { // Update temp roles by removing one row, this

How to log retries from Polly with ILoggerFactory

Or: How to log from a static method. From https://github.com/App-vNext/Polly you have examples like this one where a logger is magically available: Policy .Ti

how to hide form1 by clicking button in form2

I designed a form for login that named as form1, and have 2 more form form2,form3 form2 items showing in panel from form1 and what I want to do when I click the

EF Core 3, optimize lots of Include/ThenInclude

I have a query like this return await _ctx.Activities .Include(a => a.Attributes) .Include(a => a.Roles) .Include(a =

WCF call to endpoint not updating the query string parameter

We are making for WCF calls to endpoints like below: First Call: http://TESTSERVER:11033/Services/GetServiceDetail?Userid=Test1 Subsequent call: http://TESTSE

Parsing JSON data and display it as a table

How do I to get the first timestamp value off of the first row using C# and Newtonsoft.Json? How do I display this data in a table with headers beaId, bfiId, ti

When I try to save a QR code from the Zxing library I get an error with the BarcodeWriter class

Currently I want to store my generated qr code as an image in the phone gallery that executes it and then almost at the same time upload it as a backup to Amazo

Labels not appearing in Grid despite being children of it

I'm relatively new to Xamarin and I've been trying to programmatically add labels to a grid but each time they don't appear on the screen. Here's the code : for

In my WPF control, can I hide the validation control based on the size of the adorned element's row?

I have a user control with many sub controls within a grid. Since there are many controls per row, I'm controlling the visibility of the controls by setting the

Unity2D how do i calculate jump height using Velocity & Gravity

i would like to calculate the jump height. but i don't know how Example: RightBody2D rb = this.GetComponent<RightBody2D>(); // Do jump rb.velocity = new

Setting up SSL certificate in Visual Studio

I have a fresh install of Visual Studio Community 2019 on a new computer. I started a web app project, ran it for the first time, and then when prompted to acce

Visual studio does not recognize newly added class

I am having a weird issue here, i am using vs 2019 and one of my projects refuses to recognize any newly added c# classes, i can not use it anywhere else in the

How to generate heap overflow error using c#

I want generate a heap overflow error and slow down the system, however I have created alot of objects on class level, later on creating that class object milli

Getting an IServiceProvider from Ninject

I'm currently working at a discord bot and the CommandHandler needs an IServiceProvider for the Dependency Injection but I do use Ninject does anyone know a way

How to search for the name of the UserProperty in Outlook.MailItems, not their value

BACKGROUND: Currently I am searching Outlook.MailItems where their UserProperty (here, "IsProcessed") is equal to its propertyValue (here, true or false). st

SSL/TSLsupport for grpc in c#

I tried to implement a gRPC using SSL/TLS, I read the documentation about how to implement SSL/TLS, but this don´t works, I found a stackoverflow page TLS

How to add health checks to .Net core Background service

I am having a .net core 2.1 Background service application which is subscribed to a queue in Microsoft Azure Service bus. It has some logic and it calls to an a

POST https://dc.services.visualstudio.com/v2/track 439

i have error which kill my application - app is running, but - thus, the data in the grids are not displayed - i think error in console browserLink:2843

How to remove Visual Studio 'IDE' warnings for a Unity project?

I've been trying to get rid off IDE warnings for a Unity project: While csc.rsp works for CS warnings, it doesn't for IDE warnings: -nowarn:CS0649,IDE0063,I