May 2020 archive

Dockerize an ASP.NET Core Application

Follow the tutorial. https://medium.com/dockerize-an-asp-net-application/dockerize-an-asp-net-application-5030ccc531fa Convert it to .NET 5. Download .NET 5.0 On Windows, we recommended installing the Hosting Bundle, which includes the .NET Runtime and IIS support. Docker Images Port your application to .NET Core.

Media Players to Consider

Windows AIMP (Winamp style) foobar2000 musicbee Not media monkey: didn’t handle 80,000 songs Sources: Reddit

Updating PowerShell Core

Thanks to Thomas Maurer and his blog post: https://www.thomasmaurer.ch/2019/07/how-to-install-and-update-powershell-7/

Installing and Updating the Azure Az PowerShell module (vs. AzureRM)

Remove the AzureRM PowerShell module To install the Az PowerShell module, you must first remove the AzureRM module.  You can check which version(s) of AzureRM you already have installed. If you see a message like the following, then you’re ready to install the Az PowerShell module. PackageManagement\Get-Package : No match was found for the specified …

Continue reading

Authenticate to a WebAPI using AAD with SQL Server

Prerequisites Have an Azure subscription. Have an Azure SQL Server in that subscription. Have an Azure SQL database named “Logbook” hosted by that Azure SQL Server. Install the Az PowerShell Module. Install the latest version of SQL Server Management Studio (SSMS) (currently v18.5). Background Information https://docs.microsoft.com/en-us/azure/sql-database/sql-database-aad-authentication https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-provider-microsoft https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/start-mvc?view=aspnetcore-3.1&tabs=visual-studio This uses SQL Server Express LocalDB, not full …

Continue reading

Load more