💰 .NET 5.0, Sql Server, Docker, Azure Pipeline, ACR and AKS
C#
Criando o banco de dados
Script
CREATE DATABASE [FinanceDB]
GO
USE [FinanceDB]
GO
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Finance](
[ID] [uniqueidentifier] NOT NULL,
[Title] [varchar](150) NOT NULL,
[Value] [decimal](18, 2) NOT NULL,
[Type] [varchar](30) NOT NULL,
[CreatedAt] [datetime2](7) NOT NULL
) ON [PRIMARY]
GO
Microsoft Azure
Autenticação no azure (Precisamos instalar o (Azure CLI)
az login
Obtendo credenciais do cluster AKS
az aks get-credentials --resource-group $RESOURCE_GROUP --name $NAME