Blazor - James Montemagno https://montemagno.com/tag/blazor/ https://montemagno.com/content/images/2017/08/MonogramIcon_Orange_NoBuffer.png Blazor - James Montemagno https://montemagno.com/tag/blazor/ Hugo -- gohugo.io Fri, 27 Nov 2026 09:24:52 GMT 60 How I automated my podcast workflow with GitHub Copilot, VS Code, and Blazor https://montemagno.com/how-i-automated-my-podcast-workflow-with-github-copilot-vs-code-and-blazor/ https://montemagno.com/how-i-automated-my-podcast-workflow-with-github-copilot-vs-code-and-blazor/ Sun, 22 Nov 2026 19:00:00 GMT

Every week, Frank and I record Merge Conflict, and Zencastr hands me a ZIP with a transcript, an MP3, and a video. That part is great! What comes next is about an hour of busywork, by hand, every week: renaming files, making a thumbnail and captions, and uploading everything to YouTube, Patreon, and our podcast host...

So I sat down with GitHub Copilot in VS Code (specifically the Agents window) and built a little dashboard to do it for me. Now I drop in the ZIP, review what it came up with, and click one button. That's about five minutes of my time.

A diagram titled Now: about 5 minutes of my time, with four steps: drop in the ZIP, review and tweak, click Approve, and finish the last bits. Below them, a note says the app handles the numbering, captions, text, uploads, and scheduling.

One thing up front: it isn't all automated (yet). There are still a few steps I do myself, and I'll show you which ones. Want to see it in action first? Here's the full demo:

Now let's take a look at how it all works!

The hour I wanted back

Here's what publishing an episode used to look like:

A diagram titled Before: about an hour, every week, with seven manual steps: get text from OutroKit, rename the MP3, upload to Patreon, make a thumbnail, make captions, upload to YouTube, and upload to Fireside. An eighth dashed box says next week, do it all again.

None of it is hard. It's just a lot of steps, every single week. So I typed that list into Copilot, attached that week's ZIP and our thumbnail overlay, and ended with one question:

What could we build to automate this all for me?

That was at 8:01 AM. I stepped away, and when I came back around 8:24 AM, the app had already imported that real ZIP! Then I took a 12-hour break to enjoy the day, came back, and approved everything within minutes. All told, it took about an hour of hands-on time to go from idea to production, and now I have a repeatable process I can use every week.

What we built

It's a local dashboard that runs on any OS, built with Blazor on .NET 10. Why Blazor? I love .NET, OutroKit is all .NET, and it gives me the most flexibility in my workflow.

You start by dropping in the ZIP:

The Episodes page of the dashboard, with a large area to drop a ZIP file and a list of three sample episodes showing their status and size on disk.
The episode list. All of the app screenshots in this post use sample data.

The app then does the prep work. It suggests the next number from the feed and any Fireside drafts, makes the numbered MP3, converts the captions, gets the text from OutroKit, and sets the release to next Monday.

The review page for a sample episode 603, showing the suggested episode number and where it came from, the release date of Monday at 12:00 AM Pacific, and a list of title options to choose from.
Everything is ready for me to review and change.

Nothing goes public while it does that. I still read it all, pick a title, and make the thumbnail. The transcript does go to Copilot, because that's how OutroKit writes the text.

One click, and what it promises

Here's how it all fits together:

A flow diagram. A Zencastr ZIP is prepared and then reviewed. Approving freezes the final text, media hashes, release time, and destinations. Patreon goes to paid members right away. YouTube and Fireside are each staged privately, and once both are ready they are scheduled and read back. Underneath, a local Blazor app with a background job queue saves each step's progress in SQLite.
The whole flow, from ZIP to release.

This is the heart of the app. One button is going to send something out to three different places, so that button had better mean something. The approve button stays disabled until the episode is actually ready:

A panel titled Before you can approve, listing five remaining tasks such as choosing a title and creating the thumbnail, next to a disabled Approve and publish button.
The app tells me exactly what's left.

When I do click it, the app freezes a snapshot of the final text, the media file hashes, the release time, and the destinations. Then, every time a publishing run starts or restarts, it builds that snapshot again and compares:

var current = await approvals.BuildSnapshotAsync(episode, settings, cancellationToken);
if (ApprovalService.Hash(current) != episode.Approval.SnapshotHash)
{
    await store.UpdateAsync(id, e =>
    {
        e.Approval = null;
        e.AddLog("Stopped: the episode changed after approval, so nothing further was sent. Review and approve it again.", isError: true);
    });
    return;
}

So if the text, a media file, or the release time no longer matches what I approved, it stops and asks me again. A few YouTube settings like tags, category, and the playlist sit outside the snapshot, so changing those won't cancel anything.

From there, YouTube and Fireside are both staged privately, and neither gets scheduled until both are ready. Long uploads run in a background job, and each step saves its progress, so a restart picks up where it left off. API keys stay in the operating system's secure storage.

The app also doesn't take "success" for an answer. After it schedules a video, it asks YouTube what it actually saved:

await youTube.SchedulePublishAsync(videoId, snapshot.ReleaseAtUtc, settings.YouTubeMadeForKids, cancellationToken);

var video = await youTube.GetVideoAsync(videoId, cancellationToken);
if (video?.Privacy != "private" || video.PublishAt?.ToUniversalTime() != snapshot.ReleaseAtUtc.ToUniversalTime())
{
    throw new UserFacingException("YouTube accepted the schedule but didn't report it back correctly. Check YouTube Studio.");
}

Fireside gets the same treatment. When you're scheduling something that goes out at midnight while you're asleep, you really want that check.

A real episode found two OutroKit bugs

OutroKit is my own open source .NET tool that writes the titles, descriptions, chapters, and subtitles for an episode, using the GitHub Copilot SDK. So hooking it up was the easy part. The app runs a pinned version as a local tool and reads back its JSON:

public async Task<IReadOnlyList<string>> ConvertToSrtAsync(string transcript, string output, CancellationToken cancellationToken)
{
    var outcome = await RunAsync(["srt", "convert", transcript, "--output", output, "--overwrite"], cancellationToken);
    if (outcome.ExitCode != 0 || !outcome.Success)
    {
        throw new UserFacingException($"Caption conversion failed: {outcome.ErrorMessage}");
    }
    return outcome.Result.TryGetProperty("warnings", out var warnings)
        ? warnings.EnumerateArray().Select(warning => warning.GetString() ?? "").ToList()
        : [];
}

public async Task<CaptionReport> FixCaptionsAsync(string input, string output, CancellationToken cancellationToken)
{
    var outcome = await RunAsync(["captions", "fix", input, "--output", output, "--overwrite"], cancellationToken);
    // Exit 4 means the fixed file was saved and readability findings remain for review.
    if (outcome.ExitCode is not (0 or 4))
    {
        throw new UserFacingException($"Caption check failed: {outcome.ErrorMessage}");
    }
    return ParseCaptionReport(outcome);
}

Then a real transcript showed up and found two bugs. When Frank and I talk over each other, Zencastr's timestamps land slightly out of order, and that pushed the captions about 3 minutes late by the end of the episode. OutroKit also dropped a line that just said "Like this," because it looked like a speaker's name.

The app worked around both for episode 540, correcting 24 out-of-order turns and saving that one line. I then fixed both in OutroKit itself, which is exactly why you run your tools on real data!

The YouTube captions card for a sample episode, showing the caption count, safe fixes, and readability warnings grouped by type, with a checkbox to confirm they've been reviewed.
The captions card, with made-up numbers. The real episode came in at 1,016 captions with 276 safe fixes and 411 readability warnings left for me to review.

This is also why the review step matters. OutroKit gave me 10 title options that week, and one of them said ".NET Conf 2024." Close!

Now for the thumbnails. Here's what I told Copilot: "For the image generation, I never want people and have a specific look." The app uses image generation on Microsoft Foundry to make only the background. It then adds our real overlay and episode badge on top, right on my machine, so the branding is always exactly right.

The Merge Conflict episode 540 thumbnail: a glowing orb between two phones and floating app icons in a watercolor pixel style, with the show's logo in the corners and a red EP. 540 badge.
The real episode 540 thumbnail, rendered through the app. The art is AI, and the logo and badge are not.

Every prompt asks for no people, text, or logos. Image models don't always listen, though, so I still check each one.

I also wanted more variety: "We should also include the episode title and description so it is unique." So there are five built-in styles, and each prompt gets that episode's details.

The YouTube thumbnail card, with a style dropdown set to Watercolor pixel, a text box describing the look, and buttons to generate or upload a background.
Pick a style, tweak the wording, and generate. I only pay when I click.

The wins, and what's still on me

So what does all of this get me? Here's everything I don't do by hand anymore:

  • The episode number: the app finds the next one from the feed and Fireside, names the MP3 to match, and stops me if a number is already taken.
  • The writing: titles, descriptions, and chapters are waiting for me when I open the episode.
  • The captions: they get converted, cleaned up, and checked for readability.
  • The thumbnail: fresh art in the style I pick, with the real logo and badge added for me.
  • YouTube: the video, details, thumbnail, captions, and playlist are all handled, scheduled for Monday at 12:00 AM Pacific, and checked.
  • Fireside: the draft, details, audio, and transcript are all handled, scheduled for the same time, and checked.
  • The X post: it's written and ready to go in the composer.
  • Cleanup: after the release, one click frees up the big video and audio files.

And here's what's still on me:

  • Reviewing everything and clicking Approve. That one's on purpose!
  • Publishing the post on Patreon.
  • Adding header image in Fireside.
  • Scheduling the post on X.

Episode 540 went out at midnight, right on time. Not bad for a little dashboard!

Wrapping up

An hour down to about five minutes. I'll take it!

The thing I keep coming back to is how much of this came from using it. The first version came together fast, but the best parts showed up when a real episode hit something weird and I could just say so. If you have a chore you do every single week, give it to GitHub Copilot as a real task and see what you build together. Keep a human in the loop for the part that goes out to the world, and make your app check its own work.

Want to see the result? Check out episode 540 of Merge Conflict, and take a look at OutroKit if you make a podcast too. Happy publishing!

]]>
Introducing Event Social Post Wall: From .NET Conf to Your Next Event https://montemagno.com/introducing-event-social-post-wall/ https://montemagno.com/introducing-event-social-post-wall/ Thu, 12 Nov 2026 00:00:00 GMT

An event conversation doesn't happen in just one place. There is livestream chat, social media, and someone with a great question who doesn't want to create another account just to ask it.

For .NET Conf, we built the .NET Conf Community Wall to bring those conversations together. Throughout the event, it processed thousands of comments and posts across the different platforms, with 10 live moderators throughout the day reviewing what would appear on the wall. A huge thank-you to that team!

Now I'm sharing the reusable, open-source version: Event Social Post Wall. It is MIT licensed, built with .NET, and ready to customize for your own conference, meetup, livestream, or community event.

The .NET Conf Community Wall displays approved audience questions and social posts as cards, with platform attribution and controls for pinning posts.
The real .NET Conf wall. Incoming content does not go straight onto the screen: people choose what goes live.

A community wall with people in control

At .NET Conf, Twitch and YouTube chat used the exact #question tag. Social collection used #dotnetconf and ".NET Conf" event terms on X and Bluesky, plus the hashtag timeline on Mastodon. Attendees could also use our standalone question site without a social account.

Those are different entry points into the same workflow: collect, review, approve, present.

This isn't a public firehose of everything that mentions your event. The interesting part is the handoff: attendees contribute, moderators make decisions, and hosts choose what to discuss. Each group gets a different interface because those are genuinely different jobs.

Social posts and attendee questions enter staff review. Only approved live posts appear on the host-controlled wall, which also supports promotional cards.
One conversation, with a human decision between incoming content and the public wall.

A wall the hosts control

The wall supports images, light and dark themes, expanded posts, pinning, and an immersive presentation mode. Hosts can sort posts and decide when to bring newly approved content into view with Refresh.

That last part matters on stage. Approving a question shouldn't unexpectedly rearrange the screen while someone is reading another one! Pins and presentation preferences are local to the host's browser.

There are also promotional cards with links and QR codes for resources you want the audience to find.

A private space for the moderation team

The staff console includes a review queue, approved posts, search, source filters, and list or grid views. Named moderators can approve, reject, or withdraw posts, block verified social accounts, and manage promotional cards. Owners also manage team access, intake, source settings, manual entries, filters, and reports.

The .NET Conf staff console shows the Approved tab in grid view, source and search filters, moderator presence, and tabs for promos, social connections, post filters, reports, and team access.
The real staff console, showing already-approved posts. Reviewing content and presenting it are separate jobs.

Filters help with spam, duplicates, profanity, and other unwanted content, but passing a filter never means automatic publication. New arrivals remain pending or filtered until staff choose to approve them. Detected material edits return decided posts to review.

The owner report covers moderation counts, queue activity, source health, and more. CSV/JSON exports and social analytics have separate provider-policy opt-ins; they aren't a license to export everything a platform makes public.

Team access also means you don't have to give everyone the owner's passcode. Invite moderators individually, rotate an invitation code when needed, and disable access after the event. Conflicting moderation decisions are detected rather than silently overwriting another person's work.

Questions without another account

The question site is its own experience: write a question, optionally add a name, and send it for review. Staff can open or pause intake. Optional Cloudflare Turnstile verification adds another abuse-control layer without replacing moderation.

The .NET Conf question site shows a rocket beside the headline, a question text box, an optional name field, and a successful human-verification check.
A separate attendee experience, without the host controls or staff tools.

Watch the wall in action

Here is a walkthrough of the .NET Conf version, including how the pieces fit together:

Three sites, one event database

For the developers out there, this is where things get interesting. The application has three separately deployed sites, not one website with an admin button hidden somewhere:

  • Public: a React/TypeScript wall that reads approved, live posts.
  • Submission: a standalone Blazor Server attendee question site.
  • Admin: a React/TypeScript staff console whose backend also runs the Twitch, YouTube, X, Bluesky, and Mastodon collectors.

All three use the same ASP.NET Core 10 project with role-specific routes and services, backed by EF Core. Public and Submission don't register staff endpoints or social collectors. There is one database per event: SQLite for local development and Azure SQL when hosted.

Aspire starts public and admin Vite servers plus public, submission, and admin ASP.NET Core roles sharing SQLite. Hosted staging and production each have three App Services and a separate Azure SQL database, with approval required for promotion.
Aspire orchestrates local development. Bicep and the release workflow handle Azure hosting; staging and production do not share an event database.

Aspire brings the local stack together

Instead of juggling terminals, Aspire starts three API roles and two Vite development servers. Public and Admin each have a React frontend; Submission serves Blazor directly, so there is no third Vite server.

Admin starts first so migrations finish before the other APIs start. The AppHost generates the staff passcode, enables simulated demo posts by default, and wires up the local resources. aspire run discovers and builds the AppHost, starts the stack, and prints the dashboard link.

That means you can explore the workflow without Docker, an Azure account, or social credentials. The dashboard gives you one place to inspect resources and logs instead of guessing which terminal belongs to which site.

The EventWall Aspire dashboard lists admin-api, public-api, submission-api, admin-web, and public-web, all in the Running state, with their local endpoints.
The real local Aspire dashboard: three API roles and two Vite apps, running together. Submission serves Blazor directly, so it doesn't need another Vite app.

Prefer the terminal? aspire logs admin-api -f follows the admin logs, aspire ps lists running AppHosts, and aspire doctor helps diagnose local setup issues. When you're finished, aspire stop stops the stack. You can also launch the same AppHost with dotnet run --project src\EventWall.AppHost.

One important boundary: this AppHost is local-only and refuses publish/deploy. Azure hosting uses Bicep, App Service, Azure SQL with separate runtime database users, and a release workflow that deploys to staging before an approved production promotion.

Every real connector starts disabled and requires explicit enablement and policy approval. Provider behavior also differs: Bluesky uses Jetstream, while X and Mastodon polling have deletion-detection limitations. Withdrawals leave the wall on its next successful check, not instantaneously. The platform guides explain those trade-offs.

Run your own community wall

Start with the repository and getting-started guide. You'll need the .NET 10 SDK, a supported Node.js version, and, preferably, the Aspire CLI. After the documented setup, aspire run brings up the local demo.

Try submitting a question, approving it, and refreshing the wall. Then customize your event name, hashtag, and question-site URL before enabling real sources.

You don't need the original .NET Conf domains or cloud account. The documentation covers branding, provider connections, and an event-day rehearsal checklist so you can test the complete experience before putting it on a projector.

For hosting, follow the Azure deployment guide. The included baseline is single-instance; review the scaling guidance before increasing capacity.

Want to dig deeper? Check out the architecture docs and editable diagrams: moderation workflow and application architecture.

What's next?

Next up, I plan to upgrade the project to .NET 11 and bring some new Blazor features into the attendee question experience. The version you can try today runs on .NET 10; those updates are still ahead.

I'm excited to keep building on this! In the meantime, bring the conversation together, keep people in control, and make it your own.

]]>
Introducing Bingo-o-matic: Your Ultimate Bingo Management App https://montemagno.com/introducing-bingo-o-matic-your-ultimate-bingo-management-app/ 6834c49620e2c90001f0aa79 Mon, 26 May 2025 19:58:22 GMT

Are you tired of managing bingo games with paper cards and manual tracking? Look no further! I'm thrilled to announce the release of Bingo-o-matic, a comprehensive bingo management application designed to make hosting and playing bingo games easier and more enjoyable than ever before.

What is Bingo-o-matic?

Bingo-o-matic is a modern, user-friendly application that digitizes the entire bingo experience. Whether you're hosting a family game night, running a community fundraiser, or organizing a classroom activity, Bingo-o-matic provides all the tools you need to create, manage, and play bingo games with minimal effort.

Play traditional number-based bingo or unleash your creativity with fully customizable bingo sets! From holiday themes to educational concepts, company events to baby showers - the possibilities are endless. Create your own unique bingo experience tailored to any occasion or audience.

Key Features

  • Standard and Custom Bingo: Play classic numbered bingo or create themed sets with your own content
  • Generate Random Bingo Cards: Instantly create unique bingo cards for all your players
  • Print Custom Cards: Easily print physical cards for your custom bingo sets
  • Real-time Calling Tool: Call out bingo items with an intuitive interface
  • History Tracking: Keep track of called items to verify winning cards
  • Multiple Theme Options: Choose from light and dark themes for comfortable viewing
  • Offline Support: Play anytime, anywhere, even without an internet connection
  • Mobile-Friendly Design: Enjoy a seamless experience on any device

Screenshots

Standard Bingo mode with traditional numbered board Classic B-I-N-G-O with standard numbered calling interface

Custom Bingo interface with themed content Play with customized content perfect for themed events and educational settings

Custom bingo set creation interface Easy-to-use editor for creating and saving your own custom bingo sets

Getting Started

Getting started with Bingo-o-matic is incredibly simple:

  1. Visit https://www.bingo-o-matic.com
  2. Create a new bingo set from scratch or browse through our collection of pre-made templates to save time
  3. Generate as many unique cards as you need for your players - each card is randomized for fair play
  4. Use the intuitive calling interface to manage your game and track progress in real-time

Install as a Progressive Web App

One of the most exciting features of Bingo-o-matic is its Progressive Web App (PWA) capabilities. This modern web technology allows the application to function like a native mobile or desktop app while still being accessible through any web browser.

What does this mean for you?

Installing Bingo-o-matic as a PWA gives you several advantages:

  • Faster loading times - The app caches resources locally for instant access
  • Offline functionality - Continue playing even when your internet connection is spotty
  • App-like experience - Opens in its own window without browser navigation bars
  • Easy access - Pin it to your taskbar, dock, or home screen for quick launching

How to install:

  1. Navigate to https://www.bingo-o-matic.com using any modern web browser
  2. On desktop computers: Look for the install icon (usually a download or plus symbol) in your browser's address bar, or check the browser menu for "Install Bingo-o-matic"
  3. On mobile devices: Tap the share button and select "Add to Home Screen" from the menu options
  4. Once installed, Bingo-o-matic will appear in your applications and can be launched just like any other app

The PWA functionality ensures that Bingo-o-matic works reliably in any environment - from remote locations with poor connectivity to busy venues with crowded networks. Your bingo games can continue uninterrupted! Learn more about Progressive Web Apps on web.dev.


Behind the Scenes: The Technical Side of Bingo-o-matic

Technology Stack and Architecture

Bingo-o-matic leverages cutting-edge web technologies to deliver a seamless, high-performance experience. At its core, the application is built using Blazor WebAssembly, Microsoft's web UI framework that allows developers to build interactive web applications using C# instead of JavaScript.

Why Blazor WebAssembly?

  • Performance: Runs at near-native speed in the browser through WebAssembly
  • Type Safety: C#'s strong typing system reduces runtime errors
  • Ecosystem: Access to the entire .NET ecosystem and NuGet packages
  • Developer Experience: Rich tooling and debugging capabilities

Technical Components:

Development Workflow and Tools

The entire development process was revolutionized by leveraging AI-powered development tools:

Visual Studio Code served as the primary development environment, providing excellent Blazor debugging capabilities and integrated terminal access for .NET CLI commands.

GitHub Copilot Agent Mode wrote pretty much all of the code by providing intelligent code completions and suggestions that understood the context of Blazor components, helping accelerate development while maintaining code quality standards. It created the base app features, added new features, implemented advanced logic and styles, and so much more... including this blog post!

GitHub Copilot Coding Agent assisted with architectural decisions, best practice implementations, and complex problem-solving scenarios specific to Progressive Web App development all directly from GitHub.com.

This AI-assisted development approach reduced development time significantly while ensuring adherence to modern web development patterns and Blazor-specific best practices.

Cloud Infrastructure and Deployment

Azure Static Web Apps provides the hosting infrastructure with several key benefits:

  • Automated CI/CD Pipeline: GitHub Actions automatically build and deploy the application whenever code is pushed to the main branch
  • Global Content Delivery: The app is distributed across Microsoft's global CDN network, ensuring fast load times worldwide
  • Automatic HTTPS: Built-in SSL certificates provide secure connections without additional configuration
  • Custom Domain Support: Easy integration with custom domains and DNS management

The deployment process is fully automated - from code commit to live production deployment typically takes less than 3 minutes.

Progressive Web App Implementation

The PWA features are implemented through:

  • Service Worker: Handles caching strategies and offline functionality
  • Web App Manifest: Defines how the app appears when installed on devices
  • Cache Strategies: Intelligent caching of static assets and API responses
  • Background Sync: Ensures data consistency when connectivity is restored

I welcome contributions and feedback from the community to make Bingo-o-matic even better!

]]>