Category: AspireFileDisplayExtension

  • AspireFileDisplayExtension–part 3–how to use

    Now how to use the nuget https://www.nuget.org/packages/AspireFileDisplayExtension/ You will reference the nuget and wrote this kind of code into AppHost.cs And then start the ASPIRE project and browse to http://127.0.0.1:36308/files/AppHost.cs and http://127.0.0.1:36308/files/test.spec.ts Or you can see the video Your browser does not support the video tag

  • AspireFileDisplayExtension–part 2–implementation

    Building AspireFileDisplayExtension required solving three distinct challenges. Let me walk you through how I tackled each one, and show you the actual code that makes it work. Challenge 1: Adding a URL Endpoint to an Aspire Resource How do I attach a web server to an Aspire resource? The solution is surprisingly elegant: create a…

  • AspireFileDisplayExtension – part 1–idea

    When I develop Aspire extensions, I frequently want to demonstrate how they’re used in practice. Playwright is fantastic for capturing application URLs and showing them in action—but it only reveals URLs, not the actual code behind them. The real challenge? I don’t just want to show all the code. I want to highlight the relevant…