Skip to content

Instantly share code, notes, and snippets.

View spboyer's full-sized avatar
💭
Coding, contributing, supporting, mentoring, learning, all of the right verbs

Shayne Boyer spboyer

💭
Coding, contributing, supporting, mentoring, learning, all of the right verbs
View GitHub Profile

Install & Use the azure-infra-bicep Custom Chat Mode (VS Code + GitHub Copilot)

1. Prerequisites

  • VS Code (latest stable)
  • GitHub Copilot extension enabled (and Copilot Chat access)
  • Signed in to GitHub with Copilot subscription / access

2. Add the Mode Definition File

@spboyer
spboyer / dotnet-sdk-workload-corruption-report.md
Created August 6, 2025 13:59
.NET SDK Workload Corruption Technical Report - Complete analysis of .NET 9.0.303 SDK workload corruption affecting .NET Aspire 9.4.0 development, including detailed recovery process and comprehensive recommendations for the .NET team.

.NET SDK Workload Corruption and .NET Aspire Issues Report

Executive Summary

This document details a complete .NET SDK workload corruption that prevented any .NET development, the attempted resolution strategies, and the eventual recovery process. The issue initially manifested during .NET Aspire development but affected the entire .NET SDK installation.

Environment Details

System Configuration

  • OS: Windows 11 (Build 10.0.26200)
@spboyer
spboyer / Aspire_Azure_Beast_Mode.chatmode.md
Last active August 11, 2025 19:32
Azure Beast Mode - Autonomous Azure Development for VS Code GitHub Copilot
# .NET Aspire Azure Beast Mode - Comprehensive Azure Development Assistant

You are a .NET Aspire Azure agent - the ultimate .NET Aspire and Azure development assistant  You are designed to autonomously create, deploy, and manage complete .NET Aspire applications on Azure with production-grade security, performance, and best practices.

**IMPORTANT**: Always use .NET 9.0 or later and the Aspire CLI for all .NET Aspire projects. Never target .NET 8.0 for new projects.

NEVER use dotnet workloads or install dotnet workloads as they are not relevant or needed for .NET 9 or later projects.

**CRITICAL PREFERENCE**: Use `aspire run` for .NET Aspire applications - this is the preferred modern approach. Alternative: `dotnet run --project {AppHost}` from solution root. NEVER use `dotnet run` alone as it bypasses AppHost orchestration.
@spboyer
spboyer / vscodeforthewebazure.txt
Created November 11, 2024 18:07
VS Code for the Web - Azure
o [Music] hello hello everyone welcome to the vs code live stream if you are new here my name is Olivia I am a developer Advocate on the vs code team um and I'm so happy to be here with you all um the live streams are a great chance for us to bring guests on Spotlight different features different things that use vs code um we have a really great lineup today that we're going to be talking about some great guests um but before we dive into that let me know where you're watching from in the chat um if you haven't been
in these before we really like to make this an interactive experience um so as we go through the demo today talking about the product we'll be showing off um definitely let us know your questions we'll be monitoring the chat for that um and asking our guests as we go so it's a great chance for you to be able to talk firsthand with the people people who work on the product you love hello abriel Hi how are you doing thanks so much for joining um definitely drop in the
@spboyer
spboyer / gen.bicep
Created August 22, 2022 18:15
Bicep File Generated by Bicep Extension - .NET API
@description('Generated from /subscriptions/<mysubid>/resourceGroups/dotnetazdsample-rg/providers/Microsoft.Web/sites/app-api-us4wfunnnezqy')
resource appapiuswfunnnezqy 'Microsoft.Web/sites@2022-03-01' = {
name: 'app-api-us4wfunnnezqy'
kind: 'app'
location: 'South Central US'
tags: {
'azd-env-name': 'dotnetazdsample'
'azd-service-name': 'api'
}
@spboyer
spboyer / dotnetcore_docker_k8s.md
Last active November 9, 2019 14:55
.NET Core Microservices, Docker, Kubernetes demo script

Simplest Microservice

File > New Project > Empty Web

  • This shows the minimal microservices that .NET Core offers, receiving a request, returning a route.
  • We have found that when talking to customers that they were building APIs having MVC was more than needed. The "V" was unused, the folder structure may have not made sense etc.
  • Talk to Endpoint Routing
  • Add Health Check - speak to the built in capabilities if Docker and K8s looking for a health endpoint and acting on fail/success
@spboyer
spboyer / dotnetconf.md
Created September 23, 2019 16:55
dotnetconf script
dotnet new worker -o worker
cd worker
code-insiders .
  • Add Dockerfile
az acr build -t workersidecar1:latest -r shayne .
@spboyer
spboyer / Program.cs
Created June 7, 2019 20:27
Basic ASP.NET Core Program.cs file
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
@spboyer
spboyer / aspnetcore.service.yaml
Created June 7, 2019 20:25
Helm Deployment and Service example for aspnetcore
apiVersion: apps/v1
kind: Deployment
metadata:
name: apiservice
labels:
app: apiservice
spec:
replicas: 1
template:
metadata:
@spboyer
spboyer / .bashrc
Created January 25, 2019 22:49
bashrc scripts
function dockerstopall {
echo ’stopping all containers’;
docker stop $(docker ps -a -q);
}
function dockerremoveallcontainers {
echo ‘removing all containers’;
docker rm $(docker ps -a -q);
}