# javy04/gamedomain architecture

> Architecture diagram of the GitHub repository javy04/gamedomain, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/javy04/gamedomain
- Repository: https://github.com/javy04/gamedomain

## Overview

GameDomain is a small ASP.NET Web Forms site with home, products, about, and contact pages, plus desktop/mobile layouts. Its evidenced startup workflow registers friendly URL routing and script bundles; the page handlers themselves are empty. The tree includes Web Forms, Microsoft Ajax, jQuery, Bootstrap, and Modernizr client assets, but the available excerpts do not show which pages reference them. Page markup and configuration were not sampled, so page-to-layout and browser-request relationships are not asserted.

Main entry points: [`GameDomain/Global.asax.cs`](https://github.com/javy04/gamedomain/blob/master/GameDomain/Global.asax.cs) (Web Forms app), [`GameDomain/App_Start/RouteConfig.cs`](https://github.com/javy04/gamedomain/blob/master/GameDomain/App_Start/RouteConfig.cs) (Friendly routing), [`GameDomain/ViewSwitcher.ascx.cs`](https://github.com/javy04/gamedomain/blob/master/GameDomain/ViewSwitcher.ascx.cs) (View switcher), [`GameDomain/App_Start/BundleConfig.cs`](https://github.com/javy04/gamedomain/blob/master/GameDomain/App_Start/BundleConfig.cs) (Script bundles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_startup["Application startup"]
  node_application["Web Forms app<br/>[Global.asax.cs]"]
  node_routing["Friendly routing<br/>[RouteConfig.cs]"]
  node_bundles["Script bundles<br/>[BundleConfig.cs]"]
end

subgraph group_pages["Site pages"]
  node_home["Home page<br/>[Default.aspx.cs]"]
  node_products["Products page<br/>[Products.aspx.cs]"]
  node_about["About page<br/>[About.aspx.cs]"]
  node_contact["Contact page<br/>[Contact.aspx.cs]"]
end

subgraph group_layouts["Responsive layouts"]
  node_desktop["Desktop layout<br/>[Site.Master.cs]"]
  node_mobile["Mobile layout"]
  node_view_switch["View switcher"]
end

node_browser(("Site visitor"))

node_application -->|"registers routes"| node_routing
node_application -->|"registers bundles"| node_bundles
node_view_switch -->|"looks up switch route"| node_routing
node_browser -.->|"requests page"| node_home
node_browser -.->|"requests page"| node_products
node_browser -.->|"requests page"| node_about
node_browser -.->|"requests page"| node_contact

click node_application "https://github.com/javy04/gamedomain/blob/master/GameDomain/Global.asax.cs"
click node_routing "https://github.com/javy04/gamedomain/blob/master/GameDomain/App_Start/RouteConfig.cs"
click node_bundles "https://github.com/javy04/gamedomain/blob/master/GameDomain/App_Start/BundleConfig.cs"
click node_home "https://github.com/javy04/gamedomain/blob/master/GameDomain/Default.aspx.cs"
click node_products "https://github.com/javy04/gamedomain/blob/master/GameDomain/Products.aspx.cs"
click node_about "https://github.com/javy04/gamedomain/blob/master/GameDomain/About.aspx.cs"
click node_contact "https://github.com/javy04/gamedomain/blob/master/GameDomain/Contact.aspx.cs"
click node_desktop "https://github.com/javy04/gamedomain/blob/master/GameDomain/Site.Master.cs"
click node_mobile "https://github.com/javy04/gamedomain/blob/master/GameDomain/Site.Mobile.Master.cs"
click node_view_switch "https://github.com/javy04/gamedomain/blob/master/GameDomain/ViewSwitcher.ascx.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_application,node_routing,node_bundles toneBlue
class node_home,node_products,node_about,node_contact toneAmber
class node_desktop,node_mobile,node_view_switch toneMint
class node_browser toneIndigo
```

## Components

### Application startup

- [Web Forms app](https://github.com/javy04/gamedomain/blob/master/GameDomain/Global.asax.cs): `GameDomain/Global.asax.cs`
- [Friendly routing](https://github.com/javy04/gamedomain/blob/master/GameDomain/App_Start/RouteConfig.cs): `GameDomain/App_Start/RouteConfig.cs`
- [Script bundles](https://github.com/javy04/gamedomain/blob/master/GameDomain/App_Start/BundleConfig.cs): `GameDomain/App_Start/BundleConfig.cs`

### Site pages

- [Home page](https://github.com/javy04/gamedomain/blob/master/GameDomain/Default.aspx.cs): `GameDomain/Default.aspx.cs`
- [Products page](https://github.com/javy04/gamedomain/blob/master/GameDomain/Products.aspx.cs): `GameDomain/Products.aspx.cs`
- [About page](https://github.com/javy04/gamedomain/blob/master/GameDomain/About.aspx.cs): `GameDomain/About.aspx.cs`
- [Contact page](https://github.com/javy04/gamedomain/blob/master/GameDomain/Contact.aspx.cs): `GameDomain/Contact.aspx.cs`

### Responsive layouts

- [Desktop layout](https://github.com/javy04/gamedomain/blob/master/GameDomain/Site.Master.cs): `GameDomain/Site.Master.cs`
- [Mobile layout](https://github.com/javy04/gamedomain/blob/master/GameDomain/Site.Mobile.Master.cs): `GameDomain/Site.Mobile.Master.cs`
- [View switcher](https://github.com/javy04/gamedomain/blob/master/GameDomain/ViewSwitcher.ascx.cs): `GameDomain/ViewSwitcher.ascx.cs`

### Other components

- **Site visitor**

## Connections

- Web Forms app → Friendly routing: registers routes (evidence: `GameDomain/Global.asax.cs`)
- Web Forms app → Script bundles: registers bundles (evidence: `GameDomain/Global.asax.cs`)
- View switcher → Friendly routing: looks up switch route (evidence: `GameDomain/ViewSwitcher.ascx.cs`)
- Site visitor → Home page: requests page
- Site visitor → Products page: requests page
- Site visitor → About page: requests page
- Site visitor → Contact page: requests page
