Category "c++sharp"

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

Value does not fall within the expected range on async call?

I am reading data from SQL and writing that data on an excel sheet as the data is too large so I am using async call for writing the data in excel. The library

How can I open multiple browser instances in selenium in c#?

I want my program to open multiple browser instances at once and perform actions. But I ran into a problem, which is that all actions are performed in turn. I h

Unable to click Sign in button of Microsoft Login in C# Selenium

Trying to click Sign In button but getting "Stale element Exception error". IWebElement email = driver.FindElement(By.XPath("//*[contains(@name,'loginfmt')]"))

C# Saving list box items to Array upon button click

On a second form, I have 4 text boxes that when button click "ADD", items add to a single list box in this format Airport 1 Runway 1 Runway 2

Selenium / C# Challenge / Threaded / Multiple drivers for each tab on the same browser opened by Selenium

As a preamble: I have an Excel-VBA workbook which can open an IE browser, login to a website with username,password, set up half a dozen webpages in tabs, and i

Calling stored procedure on Inherited class in [Fluent] NHibernate without discriminators

I have a working Fluent project with some inherited tables class Base { int BaseId } class Derived : Base {} class Derived2 : Base {} class BaseMap : ClassMap&

Adding a DBContext to AWS Lambda causes it to hang

I am new to C# and Serverless development. I am trying to create an AWS Lambda that has an API Gateway trigger. When the Lambda triggers I want to write a User

PostgreSql and EntityFramework Unable to create an object of type

when I am trying to use this command dotnet ef migrations add InitialCreate I am getting error like : Unable to create an object of type 'BlogDbContext'. For th

415 unsupported media type error while trying to upload file from react to web api

I am new to react and web api and I am getting this unsupported media type error while trying to upload my file into my web api function Here is my react js co