Aspire project won't run if `applicationUrl` given in `launchSettings.json`
Weirdest shit ever...
and going to
https://localhost:5001
results in endless loading until the request times out, but
makes the link not show on Aspire dashboard, true, but manually going to https://localhost:5001
works just peachy...
My Aspire config if it matters:
15 Replies
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
You mean the
?
If so, then no. Couldn't figure out how to do enum registration for Npgsql with this method, so I'm just taking the connection string injected by Aspire into the config
Huh, it works if I comment out
builder.WebHost.UseUrls("https://+:5001");
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Yeah
Here's the repo if you wanted to take a glance at whether I'm doing the Aspire thing correctly: https://github.com/Genfic/Ogma
I have to figure out some better way of applying migrations and seeding data, methinks
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
No apis and clients yet
Just a razor pages project + pg
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Aspire seemed more ergonomic to me than docker compose lol
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Honestly, no idea why that line was there either, tbh :KEKW:
This project's been going on for years now, I forgot what half the config does
The JSON output (enums as strings, don't write null props) is configured thrice lmao
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Razor Pages + a single MVC controller to redirect some stuff that pages couldn't do + Immediate.Apis
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Let me check...
https://github.com/Genfic/Ogma/blob/master/Ogma3/Controllers/Chapter.cs I guess this could be replaced by an endpoint
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View