Support for Aspire.AppHost.Sdk

I wonder if there is a way to make .NET Aspire run in LinqPad? In other words having this <Sdk Name="Aspire.AppHost.Sdk" Version="9.5.1" /> in somehow?

Thanks in advance 🤗

Answers

  • I tried pretty hard to get this working (running an Aspire application from within LINQPad). I was partially successful but also noting the end result of what I put together wasn't useful. It still required an Aspire .csproj file to reference the appsettings.json file.

    Interested to learn if LINQPad will ever support SDK directives (which feels like would be required to get proper Aspire support in LINQPad).