Category "c++sharp"

Webclient DownloadFileAsync is way slower than downloading same file from Browser

So I wrote a program which downloads mp3 files from a website. They are about 17mb and if I download them using my browser, each file takes 2 seconds. However u

Is the async keyword required to create asynchronous functionality? Did this functionality change in the recent past?

I'm attempting to show that it is possible for my team to add asynchronous functionality to a currently "fully-syncrhonous" program. Are there any reasons, such

Get the index of the unique item only

I have a list of colors as shown in the expanded code screenshot below. The list will always have 4 color values, but only one of them will be different than ot

ASP.NET Framework 4.8 / 4.7 connected with external SSO by OpenId Connect with Authorization Code Grant flow, returns 404 on /signin-oidc

I'm trying to set up external SSO provider (FusionAuth) to ASP.NET Framework 4.8 project using OpenIDConnect/Oauth with Authorization Code Grant Request. When r

Using Asp.Net Core Viewbag

Layout.cshtml @{ var menus = (IEnumerable<WebApplication.Models.TopMenu>)ViewBag.menus; } <div class="col-md-8"> <!-- Menu Partia

Error in file temp{].rpt Failed to load database information error in crystal report

I am working on C# Winform Application. It is working correctly on my system but when i deploy it and install it on client's Computer it shows this error messag

How to use PdfStamper for Itext c#

I need help: I have the same problem as here: How to fill XFA form using iText? "This document enabled extended features. This document was changed since it was

How to instantiate a prefab with AI pathfinder?

My problem is everytime I will instantiate the prefab with AI pathfinder, the spawning prefab is not moving. enter image description here

C# MongoDB Guid Array

I have a document that is represented using this class public class UnitDocument { [BsonConstructor] public UnitDocument(Guid id, string allocId, Guid[]

Bind custom attribute value to route constraint

How do I bind a custom attribute value to a route? What I want: [ApiController] [CustomAttribute("value")] [Route("{customAttributeValue}/[controller")] public

C# LINQ Filter records in child tables

I have a main table "SALES" and two secondary tables "PRODUCTS" and "SERVICES", I need to select only the records in "SALES" that contain some product or servic

How can I get output value from the stored procedure in C# using Entity Framework

I have connected a stored procedure to a C# program using Entity Framework with a .edmx model. I am trying to get an integer output value to a variable from the

how can i make the object move on that path in unity2D? [closed]

i want my enemy to be move like this in this picture. How can i achieve this in unity 2d.

Can a C# object "kill" itself?

In C#, can an object method invoke the object's own d-tor? and making any reference to the object invalid? I'm trying to build an "object control" in memory sys

C# WPF window resize is blocking NAudio WaveIn / WaveOut stream

I´m using NAudio and WPF to develop a mixer software in C#. But I have faced with a non commum behaivour: the output is playing normally, but when I resiz

How to include project references in .NET Interactive Notebooks?

Using NET 6 I have the following project structure: nuget.config project.code-workspace - Core Core.csproj - Api Api.csproj - Sim notebook.ipynb Where no

Validation Control are not working on live server [Google Cloud] with VS 2015 (Asp.Net with C#)

On my local machine everything is working fine...but on live server validation control are not working. [I am using Google Cloud (Windows Server 2019)]. I am u

Performance degradation when using CrmServiceClient and AuthType OAuth in Dataverse

I've got an MVC.NET solution that calls the Dataverse API and I'm seeing a significant performance degradation when using CrmServiceClient and AuthType=OAuth co

asp.net core binding null in controller post request (list with inside elements lists in view)

I have a view with a list of items that among their properties have a list of items (in View asp.net core). I use a generic list to have common properties that

How Can I Use Turkish Alphabet In My Game For Unity?

I am developing a 2D Video Game as a school project which I am currently using Text Mesh Pro on. But there is an issue. Since my game is Turkish, I need to writ