# isii2627ismaelandcompany/-isii2627ismaelandcompany architecture

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

- Interactive diagram: https://gitdiagram.com/isii2627ismaelandcompany/-isii2627ismaelandcompany
- Repository: https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany

## Overview

This repository is a .NET solution with an ASP.NET Core API, a server-rendered Blazor web app, and a MAUI starter client. The clearest evidenced request flow is an API consumer requesting user data, which the API controller reads from EF Core and returns as DTOs. The API data model also includes sports competitions, registrations, court reservations, and equipment. The README is primarily development setup guidance; sampled sources do not establish how the web or MAUI screens use these domain features, so those connections are omitted.

Main entry points: [`src/AppForSEII.API/Data/ApplicationDBContext.cs`](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Data/ApplicationDBContext.cs) (API data context), [`src/AppForSEII.API/Controllers/ApplicationUsersController.cs`](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Controllers/ApplicationUsersController.cs) (User endpoints), [`src/AppForSEII.Web/Program.cs`](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Program.cs) (Web startup), [`src/AppForSEII.API/Program.cs`](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Program.cs) (API host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_clients["User interfaces"]
  node_web_app["Blazor web app<br/>[App.razor]"]
  node_maui_app["MAUI client<br/>[App.xaml.cs]"]
  node_api_client["Generated API client"]
end

subgraph group_web["Web identity"]
  node_web_startup["Web startup<br/>[Program.cs]"]
  node_identity_ui["Identity pages<br/>[Pages]"]
  node_identity_state["Auth state"]
  node_web_identity_db[("Web identity store")]
end

subgraph group_api["API services"]
  node_api_host["API host<br/>[Program.cs]"]
  node_user_controller["User endpoints"]
  node_user_dto["User DTO"]
end

subgraph group_data["Persistence and domain"]
  node_api_context["API data context"]
  node_api_db[("Application database")]
  node_user_model["Application users<br/>[ApplicationUser.cs]"]
  node_sports_models["Sports domain<br/>[Models]"]
end

node_api_consumer(("API consumer"))
node_web_user(("Web user"))

node_web_user -->|"uses"| node_web_app
node_web_app -->|"renders"| node_identity_ui
node_web_startup -->|"registers"| node_identity_state
node_identity_state -->|"validates user"| node_web_identity_db
node_web_startup -->|"configures"| node_web_identity_db
node_api_host -->|"maps endpoints"| node_user_controller
node_api_consumer -->|"requests users"| node_user_controller
node_user_controller -->|"queries users"| node_api_context
node_api_context -->|"reads"| node_api_db
node_api_context -->|"maps"| node_user_model
node_api_context -->|"maps"| node_sports_models
node_user_controller -->|"returns DTOs"| node_user_dto
node_api_host -.->|"configures client"| node_api_client

click node_web_app "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Components/App.razor"
click node_maui_app "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.MAUI/App.xaml.cs"
click node_web_startup "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Program.cs"
click node_identity_ui "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/tree/development/src/AppForSEII.Web/Components/Account/Pages"
click node_identity_state "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Components/Account/IdentityRevalidatingAuthenticationStateProvider.cs"
click node_web_identity_db "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Data/ApplicationDbContext.cs"
click node_api_host "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Program.cs"
click node_user_controller "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Controllers/ApplicationUsersController.cs"
click node_user_dto "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/DTOs/ApplicationUserDTOs/ApplicationUserDTO.cs"
click node_api_context "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Data/ApplicationDBContext.cs"
click node_api_db "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Data/ApplicationDBContext.cs"
click node_user_model "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Models/ApplicationUser.cs"
click node_sports_models "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/tree/development/src/AppForSEII.API/Models"
click node_api_client "https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/AppForSEIIAPIClient.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_web_app,node_maui_app,node_api_client,node_web_user toneBlue
class node_web_startup,node_identity_ui,node_identity_state,node_web_identity_db toneAmber
class node_api_host,node_user_controller,node_user_dto,node_api_consumer toneMint
class node_api_context,node_api_db,node_user_model,node_sports_models toneRose
```

## Components

### User interfaces

- [Blazor web app](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Components/App.razor): `src/AppForSEII.Web/Components/App.razor`
- [MAUI client](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.MAUI/App.xaml.cs): `src/AppForSEII.MAUI/App.xaml.cs`
- [Generated API client](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/AppForSEIIAPIClient.cs): `src/AppForSEII.Web/AppForSEIIAPIClient.cs`

### Web identity

- [Web startup](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Program.cs): `src/AppForSEII.Web/Program.cs`
- [Identity pages](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/tree/development/src/AppForSEII.Web/Components/Account/Pages): `src/AppForSEII.Web/Components/Account/Pages`
- [Auth state](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Components/Account/IdentityRevalidatingAuthenticationStateProvider.cs): `src/AppForSEII.Web/Components/Account/IdentityRevalidatingAuthenticationStateProvider.cs`
- [Web identity store](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.Web/Data/ApplicationDbContext.cs): `src/AppForSEII.Web/Data/ApplicationDbContext.cs`

### API services

- [API host](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Program.cs): `src/AppForSEII.API/Program.cs`
- [User endpoints](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Controllers/ApplicationUsersController.cs): `src/AppForSEII.API/Controllers/ApplicationUsersController.cs`
- [User DTO](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/DTOs/ApplicationUserDTOs/ApplicationUserDTO.cs): `src/AppForSEII.API/DTOs/ApplicationUserDTOs/ApplicationUserDTO.cs`

### Persistence and domain

- [API data context](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Data/ApplicationDBContext.cs): `src/AppForSEII.API/Data/ApplicationDBContext.cs`
- [Application database](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Data/ApplicationDBContext.cs): `src/AppForSEII.API/Data/ApplicationDBContext.cs`
- [Application users](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/blob/development/src/AppForSEII.API/Models/ApplicationUser.cs): `src/AppForSEII.API/Models/ApplicationUser.cs`
- [Sports domain](https://github.com/isii2627ismaelandcompany/-isii2627ismaelandcompany/tree/development/src/AppForSEII.API/Models): `src/AppForSEII.API/Models`

### Other components

- **API consumer**
- **Web user**

## Connections

- Web user → Blazor web app: uses
- Blazor web app → Identity pages: renders
- Web startup → Auth state: registers
- Auth state → Web identity store: validates user
- Web startup → Web identity store: configures
- API host → User endpoints: maps endpoints
- API consumer → User endpoints: requests users
- User endpoints → API data context: queries users
- API data context → Application database: reads
- API data context → Application users: maps
- API data context → Sports domain: maps
- User endpoints → User DTO: returns DTOs
- API host → Generated API client: configures client
