I have a C# .NET Core 8 application that relies on a database in Windows 11 WSL (running Ubuntu).
Is there a way to send the startup command to WSL automatically from the application (ideally on application launch)?
It’s a bit tedious to do it manually every time I need to use my application. Looked around for any clues, but no idea – I’m new to this type of thing.
More specifically: the database is ClickHouse, and I’m sending the command from a WinUI3 application. I’m the only user, this runs locally and is never distributed to others. Security, etc. isn’t a concern.
Thanks!