Category "c++sharp"

Unable to save and then load app settings via JSON - 'System.Text.Json.JsonElement' to type 'System.Collections.Generic.List`1[System.String]'.'

Using the below code, I'm trying to save app settings data in JSON format so it's easily readable and (in theory) easy to load back directly into data structure

How to fix Win UI C# application has exited with code -1073740791 (0xc0000409)

I have two issues, I am trying to do the WIN UI tutorial (https://docs.microsoft.com/en-us/windows/apps/winui/winui3/create-your-first-winui3-app) for creating

Run along the rows in Excel

I have new entries that go into the Excel table and I constantly want to run to the last row number but it does not work excel.Row.Count() this the problem for

Deserialize json properties when property name matches only partially JsonPropertyNameAttribute.Name value

I am looking for a mechanism in the System.Text.Json package, where I would be able to deserialize JSON on partially matching property names. Unfortunately, the

Downloading users subbed to my twitch via twitch API

I am trying to get a list of users who are subscribed to a twitch channel through the twitch API, I have setup the request to get the access token and then I am

Public IEnumerator not being ran even when called?

please excuse the messy code, all of this was written very hastily because I'm on a time crunch public class EnemyShoot : MonoBehaviour { [SerializeFiel

How do I show devices I get from intent sent to another application in kotlin?

I am trying to make connection to another application and I believe is working kind of. When press my button it shows me the logo of the other application. I am

ASP.NET Core 5.0 Web API deployed in App service call third party API fails intermittently and raise 500 (Internal Server Error)

ASP.Net Core Web API Call Thirds party API fails intermittently. The following exception raises intermittently when load test with postman. "Call failed with st

Using CsvReader (or another lib) to parse CSV with uneven columns

I hav a CSV file that looks like this: |------------|-----------|------------|-----------| |Generic Text| | | | |------------|

Unity Quaternion rotation with rigidbody is influences rotations it shouldn't

Hey fellow programmers, I have a small problem with Quaternion (who doesn't). I make an airship that is flying using rigidbody. Making it fly forward and turnin

API responds locally (vs 2019) but not in local docker container

I am new to Docker and going through documentation and Pluralsight videos. I have a really simple API I am practising/learning to run as a docker container. Eve

Convert float pointer returned by c++ DLL function to float C#

extern The return is a pointer to the internal array containing results info. It should not be modified results values are output as a float array (mantissa

Playwright "Element is not attached to the DOM"

I am trying to scrape a website using Playwright (.NET). The website looks like it was written in the early 2000s (running in quirks mode and all), and I'm runn

ModelState.IsValid= False when upload image(bootstrap/Net core MVC)

I'm trying to upload an image, this is the view: @model CrearAmigoModelo @{ ViewBag.Title = "Nuevo amigo"; } <form asp-controller="Home" asp-action="Cr

Handled exception causes an AccessViolationException

I would like to ask for help with a C# API Project, to be more specific, an exception that have been giving issues for some pretty long time now. Currently the

Create dynamic entity from nested classes to bind Devexpress net core Data Grid

I have a data transfer object like this : public class PerformanceCostDto { public int Id { get; set; } public long WorkId { get; set; } public stri

TCPClient Reconnect to Local Server

I am using TcpClient to talk to a device that connects directly to the computer's Ethernet connector via a crossover cable. I connect to the server in the devi

Can I programmatically attach a running .NET 6 process to a running instance of Visual Studio debugger?

I'm debugging an IPC logic where one .NET 6 processes is launching another, and I can't get to debug both within the same Visual Studio 2022 instance. When the

Get one solid from element in Revit

Converting Autodesk.Revit.DB.Element to Autodesk.Revit.DB.Solid I already tried to extract all solids from element, and that's was okay, I had a list of 2 - 10

Sending a Post Request to register a new user to a Web API, but receiving 400 : BadRequest

Having issues with my code [ Throwing an Unhandled exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Req