Category ".net-core"

Upload multiple files from Flutter app to Net 5 server returns 400 request

I keep getting 400 bad request saying that my file is missing yet when i look at the request i can see all the required files. Flutter code: Future<bool>

How to interpret/handle this dotnet list package --vulnerable result

I have scanned for vulnerable NuGet packages using dotnet list package --vulnerable --include-transitive. I get the following: Project `MyProject` has the follo

How to remove error ' System.AggregateException: 'Some services are not able to be constructed'' '?

i am getting this error when i run the application: System.AggregateException HResult=0x80131500 Message=Some services are not able to be constructed (Error w

How to use class object instead of using JObject in .NET Core

I want to return C# class object instead of using JObject in here. Could someone can tell me how to use it. private async Task<JObject> GetReceiptById(str

Ocelot Failed to match Route configuration for upstream path

Hello Now I am trying to use Ocelot gateway Normally I have one api in different server such as https://server_domain.net/kpiDashboardApi without gateway if I

.NET Core throws Kestrel error on startup when using Azure Container Instances, Caddy

I'm fumbling through my first exploration into docker containers with .NET. My local development environment is good to go - I've got my dev certs created and s

Open Browser with a specific url on sending request on API (.Net core MVC)

Working on .Net Core MVC and IText7, I'm filling a Pdf form (empty form PDF is already saved on server). What I want is, Whenever I send request to the link (ca

Angular Proxy to .net Core backend works every other time

Running into some weird stuff.. Trying to hit my api from my angular app. Since We need to use windows authentication we need to setup a proxy.conf for angular

WriteDump failed hresult: 0x00000000

I'm on raspian, and issue dotnet-dump collect -p (processID Here) And I'm getting writing full to /home/UserID/core_date_time WriteDump failed - HRESULT: 0X0000

WriteDump failed hresult: 0x00000000

I'm on raspian, and issue dotnet-dump collect -p (processID Here) And I'm getting writing full to /home/UserID/core_date_time WriteDump failed - HRESULT: 0X0000

Hiding a System.Random instance by returning a function

The following code comes from Stylish F# 6: Crafting Elegant Functional Code for .NET 6 listing 9-13: let randomByte = let r = System.Random() fun () -&

Azure Queue Listener - On-premise Azure Queue Listener

I have a scenario that our Azure environment can't connect to on-premise, but on-premise can connect to Azure. So a service call from Azure to on-premise to be

i can not pass parameters to backend ( from Ajax to IActionResult or JsonResult) .net core 5

i have problem i can't pass params to backend use fech or ajax call , but from another PC i can pass params, here is a sample from code Backend : [HttpPost]

Docker and Angular SRR not connecting to backend

I'm trying to divide my application into multiple containers: frontend (Angular), backend (.NET) & database (MySQL). I've set up all containers and they are

Importing a C# .NET 6.0 Core Dll into a C++ without TLB file

I have quite a number of C# Dlls that were made in .NET 4.6 Framework and need to get upgraded to .NET Core 6 - that part is relatively straightforward. However

Failed to setup dotNet certificate on mac by all means

I am trying to run the Dotnet version 6 app on macOS latest version I searched everywhere, it was always required to install the certificate although I had a va

BlockSize must be 128 in this implementation

I'm using the following code to decrypt some strings I reicive but I'm getting the following error: BlockSize must be 128 in this implementation. I would like t

Entity Framework Core: one-to-one configuration

I updated the title to be more relevant. I have two objects and wish to use EF Core to map them to a database using code first. I have shortened them a bit for

FileLoadException: Could not load file or assembly 'Microsoft.AspNetCore.SignalR.Core

I'm creating a .net core console application where some of the libraries are using SignalR. I have installed "Microsoft.AspNetCore.SignalR.Core" from nuget pack

The inner stream position has changed unexpectedly

I am trying to upload two files from Azure Function which I have received through multipart/form-data var formdata = await reqstring.ReadFormAsync(); var frontf