Category "c++sharp"

How do I fill a datagrid in my View with my datatable in my ViewModel

I am working on an MVVM WPF Application managing Users. I want to display all users from the Users Table in a datagrid in my UsersView. Here is my dataGrid

How to get Puppeteer-Sharp working on an AWS Elastic Beanstalk running Docker (.NET Core 6)?

I'm looking for an up-to-date example of how to get PuppeteerSharp running on an AWS Elastic Beanstalk instance running Docker (.NET Core 6). There are quite a

How to fix distorted image shown on Unity UI?

I'm doing a project which will be used on projection. I want to display image in quadrilateral composed of given vertices on Unity UI. I created a class inherit

WPF Control lagging behind children WebView2 control

I am trying to make a draggable window sort of thing in wpf (.net core 6) and I am using webview2 to make a browser window. However I discovered this strange be

Differentiate apple stem, calyx and defect

I am trying to differentiate apple stem calyx and defects. I have developed a detector that detects these parts on apple. But so far everything that i have trie

How to set pre build in visual studio via pipelining

at the moment i have the following command in the prebuild block: prebuild My plan is to run this command before building and use the output via pipelining for

How to set account's picture in Windows 10

I want to set the account's picture through my C# program, but I can't find any API to set it. So I try to set it by generating a accountpicture-ms file then ap

Textblock Runs Binding perfomance

(Sorry, google Translate) I'm writing a WPF chat and I'm running into a Textblock.Inlines binding performance issue. The problem occurs when switching tabs TabC

Azure function .net 6 return error 500 after deploy

I've migrated a project from .net core 3.1 to .net 6.0. I've resolved/updated all nugets and my functions runs well on local environments (I've tested on two pc

Automapper throwing System.Reflection.AmbiguousMatchException: Ambiguous match found

I have a piece of code that throws exception and I dont quite understand why. public async Task<List<CategoryVm>> Handle(GetCategoriesListQuery re

C# AzureAD joined device - retrieve token for Graph API silently

I want to create Graph API client as logged in user. The device is Azure active directory joined device. Documentation says I should use Integrated windows auth

Fetching images from the CefBrowser - How many and what is their order?

I'm using the CefSharp browser to grab images off of an Html page and convert them to System.Drawing.Bitmaps. To do so, I've implemented a BrowserRequestHandler

First row is selected by default upon form loading

private void FormatdgvParts(DataGridView d) { d.SelectionMode = DataGridViewSelectionMode.FullRowSelect; d.MultiSelect = false; d.R

Using C# HttpClient to POST File without multipart/form-data

I'm trying to interact with a API that doesn't support multipart/form-data for uploading a file. I've been able to get this to work with the older WebClient but

Importing CoAP.NET in Unity

I've made a simpre CoAP server in Java, and now I need need to make a client in my android AR app made in Unity with ARFoundation. I've added the ddl files of C

Validate Requests in NSwag generated Client

I have a .NET 6 Webclient and REST Contract, that is generated from a YAML with NSwag. The contract contains some validation properties. Is there any way to val

Sequence points missing in some portable PDB files

Context I'm developing a documentation generating tool for .NET libraries, which extracts types from assemblies via reflection and relevant documentation from t

Adaptive Dialog Recognizer and Question and Answering Project

I have a bot which is written in C# and botframework. I want to use the new adaptive dialog technology and the question and answering database of the language s

Getting 404 NotFound for blazor.webassembly.js (_framework files not found)

We have searched other issues along this line, and found that they seem to apply to after a site is deployed. This happens within VS 2019 when trying to debug.

How to bind an imageSource from a List of Image items in .NET MAUI

I'm developing an app that will soon have a server/DB. I want toaccomplish the binding between the List images and the xaml. Any idea of how to proceed? public