|

How to publish container as tar.gz in .NET

Starting with .NET 8, it’s possible to directly generate a tar.gz container archive. This is particularly advantageous for more complex workflows where activities like scanning the images before pushing them are needed. After creating the archive, it can be transferred, scanned, or incorporated into your local Docker setup. For archiving during publication, integrate the ContainerArchiveOutputPath…

| |

The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.

This error usually means that there is a mismatch between the AppService Stack and .NET version and your app’s target framework. This can happen when you upgrade your web app, but you do not update the runtime of the App Service. This is a common occurence for ASP.NET MVC and Web API projects going through…