dotnet --version
dotnet --list-sdks
dotnet --info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Azure.Identity; | |
using Microsoft.Azure.Cosmos; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; | |
using Microsoft.Extensions.Hosting.Internal; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.Extensions.Options; | |
HostApplicationBuilder builder = Host.CreateApplicationBuilder(args); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; | |
using Microsoft.Extensions.Hosting.Internal; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.Extensions.Options; | |
HostApplicationBuilder builder = Host.CreateApplicationBuilder(args); | |
builder.Services.AddSingleton<IHostLifetime, ConsoleLifetime>(); | |
builder.Services.AddScoped<IMessageService, MessageService>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; | |
using Microsoft.Extensions.Logging; | |
var builder = Host.CreateApplicationBuilder(args); | |
builder.Services.AddHostedService<PingWorker>(); | |
var host = builder.Build(); | |
await host.RunAsync(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ | |
package-lock.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net6.0</TargetFramework> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<Nullable>enable</Nullable> | |
</PropertyGroup> | |
</Project> |
https://docs.microsoft.com/azure/templates/
az login
az group create \
https://aka.ms/automategithubworkflow3.30
az login
az group create --name <resource-group-name> --location eastus
- YouTube Video: https://www.youtube.com/watch?v=qcOy7klf8tM
- Learning Path: https://aka.ms/fundamentalsofbicep032322
https://docs.microsoft.com/azure/templates/