Skip to content

Instantly share code, notes, and snippets.

View tfenster's full-sized avatar
🏠
Working from home

Tobias Fenster tfenster

🏠
Working from home
View GitHub Profile
@Koubek
Koubek / InstallDockerEE.ps1
Last active December 13, 2023 07:20
Install Docker EE (for Windows Server)
<#
.SYNOPSIS
Install/Upgrade Docker EE (Windows Server).
.DESCRIPTION
This script checks the official Docker EE (for Windows Server) repository and
detects the latest version available to download and install. It also compares
with the version currently installed on the Docker host (WinServer) and asks
you if you wish to proceed or not.
@mombrea
mombrea / DbInitializer.cs
Last active April 5, 2023 21:55
EF Core 1.0 and ASP.NET Core Identity Seed Data
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using System.Linq;
namespace My.App.Data
{
public class DbInitializer : IDbInitializer
{
private readonly ApplicationDbContext _context;
private readonly UserManager<ApplicationUser> _userManager;
@PatrickLang
PatrickLang / iis_auth_allsteps.md
Last active March 2, 2024 20:18
Setting up IIS with User Authorization in Windows Server containers

Create a resource group

Create a resource group in Azure to hold all of the resources you'll be creating:

  • Virtual Network
  • Virtual Machines

Create a VNet

  • Don't use 172.* IPs. I used 10.3.0.0/24