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:
-
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. -
Database viewer
Having a way to easily view and inspect the database is invaluable during development. -
Execute pre-defined SQL commands on demand
For example, running commands likeDELETE 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!