Category "c++sharp"

Get Dropdown item value while reading Excel file - C#

I'm reading an Excel spreadsheet using the microsoft.office.interop.excel library in C#. I need to first determine that a cell in the sheet contains a Dropdown

Build Deployment Location in WPF

How can I get in WPF the build deployment location for an app already installed on the machine and then display the info about deploy? Thanks for ur time!

Read action parameters from JSON properties

How can I get the parameters of an ASP.NET Core MVC controller action from the properties of a JSON object that was sent in the HTTP request body? If the reques

Twitch Integrations - Getting chatter's roles and name with capital letters

I have a class created through a few different sources to connect, stay connected, read, and interact with a selected Twitch channel, but there seems to be no i

How can i Change tab item Content on Xamarin forms shell

I need to change one of my tabs' content depending on the condition of the user logged in or just a guest this is my shell <?xml version="1.0" encoding="utf-

HTTP 1.1 400 Bad request in AzureAnchorScript

IEnumerator ShareAzureAnchorIdToNetworkCoroutine() { string filename = "SharedAzureAnchorID." + publicSharingPin; string path = Application.

Getting a SameSite cookie issue when trying to load recaptcha api.js in ASP.Net core project

I am trying to add a Google v2 reCaptcha on my ASP.Net Core 6 Web Application and test it on my localhost. When I add the following line: <script src="ht

Implementation of HttpClient request limiter and buffer

In our project, we have a few services that make requests to a 3rd party API, using a key. This API has a shared rate limit between all endpoints (meaning reque

Adding a second line to a graph in excel via c#

I want to create a simple line on a graph in excel that I have generated with code. I add the data to an excel sheet and can generate a single graph of that dat

Why can't an interface in a tuple be used as the model in an ASP.NET Razor partial view?

I have an ASP.NET Razor Pages project with a partial view that uses a tuple type for its model. One of the tuple elements uses an interface as its type. When th

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