Category "c++sharp"

How make pages in Winforms?

I would like to make pages for UserControl but I don't know how I can do this. How can I implement this as in the picture in WinForms? I would like to display a

How to display the route using GMap in C#?

My main problem is that it doesn't display the line between the 2 markers when I click on the display button.It should draw my route between the first pin and t

Generating aes cbc key from password and iv in dart

anyone havean idea how can i generate a key for aes encryption in dart from iv and password? like this code written in C#: var spec = new Rfc2898DeriveBytes(En

Handle MouseMove, MouseDown, MouseUp Events in a ListView to drag a borderless Form

I'm using MouseMove, MouseUp, MouseDown events to move a borderless form (as found here as an example). It works great, but for a ListView, it only works if I c

Can't access Hangfire Dashboard using Authorization boilerplate code

I can access the Hangfire dashboard from my local environment, but can't access it from a deployed server. Initial searches showed that I needed to enable autho

Is it possible to detect what type of Default Asset is selected in Unity?

i'm trying to make a custom editor and i was wondering if there's any way to detect what exact type is an asset when GetType() returns UnityEditor.DefaultAsset.

Asynchronously Streaming Video with .Net Core API from Azure Blob Storage

I have found a bunch of examples that use objects not available to me within my application and don't seem to match up to my version of .NET Core web API. In es

How to override List property in EF Core 6?

I have a problem, in database I have an object of class Catalog with 3 elements in CatalogUsers. I want to replace that list with 2 element list being the orgin

How to fix "Segmentation fault (core dumped)" when creating new dotnet project?

I am following https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create When I try to create a project, I get the following: oskar@oskarslaptop:~/P

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