Custom local domain / subdomains? (api.pfpf.dev, web.pfpf.dev, mail.pfpf.dev, etc.) #763
Unanswered
kswierszczyk
asked this question in
Q&A
Replies: 1 comment
-
Its not something I have looked at. One problem is that I want to have a “checkout & run” experience. And asking developers to mess with hosts files are not a good experience. Also, Windows does not support wildcards in host files as far as I know. I do consider making e.g. BackOffice run on a different domain, but locally I would probably just use a different port instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
New to aspire and wondering if using local domain is possible w/ PlatformPlatform (ex: https://api.pfpf.dev:5001) or if its an aspire limitation (or even just something PlatformPlatform chose to exclude).
Is aspire limited to running localhost or could we do something such as aspire.myapp.com (otlp dashboard), web.myapp.com (web app), api.myapp.com (back-office api), etc.
This is easy to do in regular .NET (no aspire)..
EDIT: Looks like it's an Aspire design choice. A work-around to use a local domain currently requires one to include this project configuration in the AppHost:
Beta Was this translation helpful? Give feedback.
All reactions