Bad Request 400 requesting ASP.Net Core 3.0 from Flutter

I am trying to connect Flutter’s HttpClient to fetch data from my local server which is running on ASP.Net Core 3.0. The problem is I get the Error 400(Bad Request) each time I try. Here’s the flutter code: String token = await SharedPreferencesService.getStringFromSF(‘idToken’); var client = new HttpClient(); client.badCertificateCallback = (X509Certificate cert, String host, int…

ASP.NET Core 3.0 – Can’t Update-Database

I just created the project using the command dotnet new angular -o <output_directory_name> -au Individual and scaffold identity then I installed Microsoft.EntityFrameworkCore.SqlServer but when I run the command update-database, I get the error below. Failed executing DbCommand (4ms) [Parameters=[], CommandType=’Text’, CommandTimeout=’30’] CREATE TABLE [AspNetRoles] ( [Id] TEXT NOT NULL, [Name] TEXT(256) NULL, [NormalizedName] TEXT(256) NULL,…

How can Visual Studio single step debug an ASP.NET web app on IIS when a user from the Internet opens the web page?

I want to do single step debugging when an Internet user opens my ASP.NET web app, which is running on IIS 10 on Windows Server 2019. I want to initiate single step debug with a breakpoint. ( I tried following the instructions “Debug ASP.NET or ASP.NET Core apps in Visual Studio” on docs.microsoft.com but since…