Category "c++sharp"

how to fix this error "Microsoft.Extensions.Azure: Could not load file or assembly 'System.Diagnostics.Tracing, Version=5.0.0.0,"

there’s a problem that I didn’t understand where it came from because the script worked yesterday , I woke up and I found this problem that wasn&rsq

How to use anchor tag as submit button in asp.net razor pages

I have a handler method in razor page with name OnGetExpense(UsePayload payload) page.cshtml: <input type="hidden" asp-for="Filters.From" value="@Model.Filte

Application Insights Telemetry: can you track traces/events/etc. asynchronously?

I am a longtime user of Azure's Application Insights, and I use the TelemetryClient's TrackTrace() and TrackException() liberally in every enterprise applicatio

Single Tenant Application needs to support SSO from a multi-tenant provider dynamically with OpenId Owin

I'm trying to use OpenId to authenticate against a dynamic authority URL. There is an unknown number of different {n-tenant}.identityProvider.com authority URL

How to map Object to KeyValuePair<char, string> using AutoMapper?

I'm trying to map my object model to a KeyValuePair<char, string> but my results are KeyValuePairs where Key = null and Value = null. What's the correct w

How can i ignore Uppercase or lowercase in ado.net linq to sql?

i have this query i want the user to search with the name without uppercase or lowercase , how can i do this ? join Materiel in ds.

Moving from HttpWebRequest to HttpClient

I would like to update some legacy code from using HttpWebRequest to use HttpClient, but I am not quite sure how to send string to the REST API I am accessing.

IdentityServer4.Stores.ValidatingClientStore Invalid client configuration for ... client no allowed grant type specified

Hi I am getting the error... "IdentityServer4.Stores.ValidatingClientStore Invalid client configuration for ... client no allowed grant type specified" when u

Making request without refreshing page with blazor

Please i am new to blazor, I am building a pet project and i want to make a call to the server to do so validation if the text entered into an input textbox is

why is Intellisense not working in my VS Code?

I am working on vs code. When I open any folder the IntelliSense is not working when I hover the mouse over any text. It was working before but now I don't know

.NET 6 (stable) IConfiguration setup in Program.cs

This appears to be a similar problem but none of the answers are fitting for my code...: Read appsettings.json in Main Program.cs This is extremely similar but

How can I make it so when my player collides with an enemy, it disables movement input until player touches the ground?

So, I want to make it so the player loses control when it collides with an enemy. I already got a thing set up to make the player fly off towards the direction

Top-down motion with Unity causing errors

I am a first time programmer watching a tutorial on making a 2d, top-down game. My goal for this specific section of code is just to make the player walk around

Unity's Universal Render Pipeline performance problem? (2D)

I never got real answer for this. I open this new empty project (total blank but with one GameObject) I ended up getting 2500FPS, alright? Makes sense. The mom

NLog not contains filter doesn't seem to work

I am using NLog 4.6.8 and have the following simple NLog.config and Program.cs NLog.config <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http:

Saving picturebox WITH backgroundimage to file [duplicate]

is there any way to save a picturebox (Windows Forms) with it Backgroundimage to a file? I tried to store the picturebox.Image into a bitmap b

NLog not contains filter doesn't seem to work

I am using NLog 4.6.8 and have the following simple NLog.config and Program.cs NLog.config <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http:

Game works fine in editor, not in build

I am working on a game and i have a script to save the stats for characters. The same script is used for hero and for the enemies. There are actually 2 scripts

Install A folder from the web into a directory with C#

I am trying to make an installer app for an aircraft for X-Plane 11. I need to find a way to get a folder and install it to a user defined directory. How do i d

How to make vscode act like Visual Studio IDE when pressing Enter within curly braces

Say I'm writing function: after I've pressed 'ENTER': after formatting: Is it possible after second step (pressing 'ENTER') to get result like in Visual Stud