SqlExtensionsAspire–part 1–idea

Aspire is a popular orchestrator for managing projects and Docker containers in the .NET ecosystem. While it’s primarily known for .NET, Aspire also supports other technologies like Node.js, Python, and more.

Since I use SQL Server as my database, I found myself needing a few essential features:

  1. Execute pre-defined SQL commands at database creation time
    I wanted to run SQL commands one by one—similar to migrations—instead of executing a massive SQL script all at once.

  2. Database viewer
    Having a way to easily view and inspect the database is invaluable during development.

  3. Execute pre-defined SQL commands on demand
    For example, running commands like DELETE FROM table or inserting specific records as needed.

That’s why I have created SqlExtensionsAspire  . In my next blog post, I’ll share the code and show you how it works. Stay tuned!


by

Tags: