How sivakumar89/mslearn-tailspin-spacegame-web works
Project type and purpose
• This is a full-stack ASP.NET Core MVC web application called “Tailspin.SpaceGame.Web.”
• It provides a simple leaderboard and profile system for a hypothetical space game, storing player profiles and scores in Azure Cosmos DB (DocumentDB).
File structure
• Top‐level solution (.sln) with a single web project (Tailspin.SpaceGame.Web).
• MVC folders:
• Controllers – route handlers (HomeController).
• Models – domain and view-model classes (Profile, Score, ErrorViewModel, etc.).
• Views – Razor templates under Views/Home and Views/Shared.
• Data/repository:
• IDocumentDBRepository interface and two implementations (LocalDocumentDBRepository for local JSON files, plus a cloud DocumentDB repo).
• SampleData folder containing JSON seed files for local dev.
• Static assets:
• wwwroot/css, js, images, and lib (Bootstrap, jQuery, validation).
• Configuration:
• appsettings.json / appsettings.Development.json
• Startup.cs and Program.cs for ASP.NET Core host setup.
• Build & CI/CD:
• gulpfile.js, package.json, package-lock.json for frontend build tasks.
• azure-pipelines.yml for Microsoft DevOps pipeline.
README
• The README contains licensing and contribution guidelines only—no architecture details.
• Architecture must be inferred from code structure and config files.