-
CORS Error: WebAPI Request Works from Swagger but Fails from Angular
An app that worked stopped working. The service calls were failing from Angular to the REST APIs. Turns out that I had a CORS misconfiguration in the Azure App Service.
-
Fix: Azure App Services Log Stream is Empty for .NET Core App
When you’re trying to debug your .NET Core app that’s running on an Azure App Service, the Log Stream is an essential tool. So how do you connect the console logs from your .NET Core app to the Log Stream output?
-
Angular WebAPI Project using .NET Core gets ‘404 Not Found’ or runs on wrong port
My Angular / WebAPI application suddenly stopped working from Visual Studio and VSCode. Turned out that I was missing an environment variable.
-
Azure App Service Slot Swap is Hanging or Taking Forever
If your App Service Slot Swap is failing or taking forever, it might be a problem with the slot warmup checks. Here’s how to fix it.
-
WebApi Core / Swagger: “failed to load API definition” error
I was working with some ASP.NET WebApi code and needed to test something using the Swagger UI. Usually, it’s just a matter of starting the project and going to your /swagger directory. Unfortunately, in this case, I went to my swagger URL and got an error saying “Failed to load API definition — Fetch error…