Client configuration file (server URLs + environment profiles) #13
Labels
No labels
alpha:wave-0
alpha:wave-1
alpha:wave-2
alpha:wave-3
area:assets
area:combat
area:ecology
area:infra
area:render
area:scripting
area:ui
area:world
enhancement
epic
migration
post-alpha
roadmap
tech-debt
type:bug
type:chore
type:design
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
marco/IsoMmo#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Give the client a configuration file so the Auth/GameServer URLs (and future settings) aren't hardcoded. Today they live as constants in
Net/Session.cs(AuthBaseUrl,GameServerWsUrl), so pointing the client at staging vs prod means a recompile.Detailed realization of the "externalize client endpoints" bullet in the cross-cutting epic #11; part of the roadmap #12. Not for the current MonoGame-migration PR.
Scope
Open questions
Microsoft.Extensions.Configuration+appsettings.json/appsettings.{env}.json, or a lighter hand-rolled JSON?Definition of Done
Base DoD applies on top (tests green, whole solution builds, zero warnings, multi-platform preserved); the criteria below are the delta.
Done: the client loads the Auth/GameServer URLs from
config.json(shipsconfig.dev.json;Session.ConfigPath/IsConfigured, no hardcoded URLs). Delivered in #24. Closing.