ASP.NET Core Web API : conditional serialization
I have a user base with different claims to represent their plans. I want to strip some fields from my objects based on their plans.
Windows authentication not working in IIS 10 on Windows 11 for ASP.NET Core 8 Web API
I created an ASP.NET Core 8 Web API. I’m hosting it on IIS on a Windows 11 machine.
dotnet core oidc “~/connect/token” does not working when deploy with subsite?
I’m using an ASP.NET Core 8 Web API and I applied OpenID Connect for my API.
Migrated Web API from .NET Core 2.2 to .NET 8 and login no longer works
I migrated an ASP.NET Core 2.2 Web API to .NET 8.0 by copy-pasting the code into an empty .NET 8.0 project and mostly resolved all the build errors by installing the needed dependencies etc. I got the Web API to launch, but trying to login to the front-end that is connected to the Web API doesn’t seem to work. I just receive error 500 HTTP response failures.
ASP.NET Core 8 Web API : React.js API 400 bad request
I am working with an ASP.NET 8 Core Web API and React Framework and I am trying to test my API using Postman for sending data to database. After running the commands dotnet run
for my backend app and npm start
for the React frontend, I get this error:
ASP.NET Core 8 Web API – deployment to production IIS site results in http 404 error
I am having an issue with my ASP.NET Core 8 Web API after deployment to a production site in IIS. In this case I have structured so that it is an application under an existing site (e.g. admin.example.com -> api). When navigating / posting to the endpoint I receive a http 404 error. When I dotnet the .dll file, I get this error:
How to catch program close in dotnet 8 webapi?
For some reason, I treat a .NET 8 webapi as an application on Windows, and I publish it using a self-contained method and execute it.
How to catch program close in dotnet 6 webapi?
For some reason, I treat a .NET 8 webapi as an application on Windows, and I publish it using a self-contained method and execute it.