# yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global architecture

> Architecture diagram of the GitHub repository yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global
- Repository: https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global

## Overview

This is an ASP.NET Core/ABP sample web app for collecting user profiles and storing them in Azure Cosmos DB. The visible workflow is a visitor submitting the home form; the controller maps the view model to a User and invokes the Cosmos service to create an item. The repository also contains ABP localization/configuration and an otherwise largely empty SQL Server EF Core scaffold. The README describes Azure Front Door and global-scale learning goals, but no deployment or Front Door implementation appears in the supplied tree; those documented relationships are shown as unverified.

Main entry points: [`src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs`](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs) (Home controller), [`src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs`](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs) (Cosmos service), [`src/ACGProjectGoGlobal.Web/ViewModels/UserViewModel.cs`](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/ViewModels/UserViewModel.cs) (User view model), [`src/ACGProjectGoGlobal.Core/Localization/ACGProjectGoGlobalLocalizationConfigurer.cs`](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/Localization/ACGProjectGoGlobalLocalizationConfigurer.cs) (Localization setup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_home["Home controller<br/>[HomeController.cs]"]
  node_controllerbase["Controller base"]
end

subgraph group_domain["User data"]
  node_viewmodel["User view model<br/>[UserViewModel.cs]"]
  node_user["User model<br/>[User.cs]"]
end

subgraph group_cloud["Cloud persistence"]
  node_cosmosservice["Cosmos service<br/>[CosmosDbService.cs]"]
  node_cosmosinterface["Cosmos service contract"]
  node_cosmos[("Azure Cosmos DB")]
  node_frontdoor["Azure Front Door"]
end

subgraph group_platform["ABP and data platform"]
  node_appconfig["App configuration"]
  node_coremodule["Core module"]
  node_localization["Localization setup"]
  node_constants["Core constants"]
  node_efcontext["EF Core context"]
  node_efoptions["SQL options"]
end

node_visitor(("Visitor"))

node_visitor -->|"submits form"| node_home
node_home -->|"accepts input"| node_viewmodel
node_home -->|"maps to user"| node_viewmodel
node_viewmodel -->|"creates"| node_user
node_home -->|"calls add"| node_cosmosinterface
node_cosmosservice -->|"implements"| node_cosmosinterface
node_cosmosservice -->|"persists"| node_user
node_cosmosservice -->|"writes and queries"| node_cosmos
node_home -->|"inherits"| node_controllerbase
node_coremodule -->|"configures"| node_localization
node_localization -->|"uses source name"| node_constants
node_efoptions -->|"configures"| node_efcontext
node_frontdoor -.->|"routes globally"| node_visitor
node_cosmos -.->|"serves global scale"| node_visitor

click node_home "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs"
click node_controllerbase "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Controllers/ACGProjectGoGlobalControllerBase.cs"
click node_viewmodel "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/ViewModels/UserViewModel.cs"
click node_user "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Models/User.cs"
click node_cosmosservice "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs"
click node_cosmosinterface "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Services/ICosmosDbService.cs"
click node_appconfig "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/Configuration/AppConfigurations.cs"
click node_coremodule "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/ACGProjectGoGlobalCoreModule.cs"
click node_localization "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/Localization/ACGProjectGoGlobalLocalizationConfigurer.cs"
click node_constants "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/ACGProjectGoGlobalConsts.cs"
click node_efcontext "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.EntityFrameworkCore/EntityFrameworkCore/ACGProjectGoGlobalDbContext.cs"
click node_efoptions "https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.EntityFrameworkCore/EntityFrameworkCore/DbContextOptionsConfigurer.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_home,node_controllerbase toneBlue
class node_viewmodel,node_user toneAmber
class node_cosmosservice,node_cosmosinterface,node_cosmos,node_frontdoor toneMint
class node_appconfig,node_coremodule,node_localization,node_constants,node_efcontext,node_efoptions toneRose
class node_visitor toneIndigo
```

## Components

### Web experience

- [Home controller](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs): `src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs`
- [Controller base](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Controllers/ACGProjectGoGlobalControllerBase.cs): `src/ACGProjectGoGlobal.Web/Controllers/ACGProjectGoGlobalControllerBase.cs`

### User data

- [User view model](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/ViewModels/UserViewModel.cs): `src/ACGProjectGoGlobal.Web/ViewModels/UserViewModel.cs`
- [User model](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Models/User.cs): `src/ACGProjectGoGlobal.Web/Models/User.cs`

### Cloud persistence

- [Cosmos service](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs): `src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs`
- [Cosmos service contract](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Web/Services/ICosmosDbService.cs): `src/ACGProjectGoGlobal.Web/Services/ICosmosDbService.cs`
- **Azure Cosmos DB**
- **Azure Front Door**

### ABP and data platform

- [App configuration](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/Configuration/AppConfigurations.cs): `src/ACGProjectGoGlobal.Core/Configuration/AppConfigurations.cs`
- [Core module](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/ACGProjectGoGlobalCoreModule.cs): `src/ACGProjectGoGlobal.Core/ACGProjectGoGlobalCoreModule.cs`
- [Localization setup](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/Localization/ACGProjectGoGlobalLocalizationConfigurer.cs): `src/ACGProjectGoGlobal.Core/Localization/ACGProjectGoGlobalLocalizationConfigurer.cs`
- [Core constants](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.Core/ACGProjectGoGlobalConsts.cs): `src/ACGProjectGoGlobal.Core/ACGProjectGoGlobalConsts.cs`
- [EF Core context](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.EntityFrameworkCore/EntityFrameworkCore/ACGProjectGoGlobalDbContext.cs): `src/ACGProjectGoGlobal.EntityFrameworkCore/EntityFrameworkCore/ACGProjectGoGlobalDbContext.cs`
- [SQL options](https://github.com/yalagandhulaakhil/https-github.com-acloudguru-resources-acg-project-going-global/blob/main/src/ACGProjectGoGlobal.EntityFrameworkCore/EntityFrameworkCore/DbContextOptionsConfigurer.cs): `src/ACGProjectGoGlobal.EntityFrameworkCore/EntityFrameworkCore/DbContextOptionsConfigurer.cs`

### Other components

- **Visitor**

## Connections

- Visitor → Home controller: submits form (evidence: `src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs`)
- Home controller → User view model: accepts input (evidence: `src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs`)
- Home controller → User view model: maps to user (evidence: `src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs`)
- User view model → User model: creates (evidence: `src/ACGProjectGoGlobal.Web/ViewModels/UserViewModel.cs`)
- Home controller → Cosmos service contract: calls add (evidence: `src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs`)
- Cosmos service → Cosmos service contract: implements (evidence: `src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs`)
- Cosmos service → User model: persists (evidence: `src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs`)
- Cosmos service → Azure Cosmos DB: writes and queries (evidence: `src/ACGProjectGoGlobal.Web/Services/CosmosDbService.cs`)
- Home controller → Controller base: inherits (evidence: `src/ACGProjectGoGlobal.Web/Controllers/HomeController.cs`)
- Core module → Localization setup: configures (evidence: `src/ACGProjectGoGlobal.Core/ACGProjectGoGlobalCoreModule.cs`)
- Localization setup → Core constants: uses source name (evidence: `src/ACGProjectGoGlobal.Core/Localization/ACGProjectGoGlobalLocalizationConfigurer.cs`)
- SQL options → EF Core context: configures (evidence: `src/ACGProjectGoGlobal.EntityFrameworkCore/EntityFrameworkCore/DbContextOptionsConfigurer.cs`)
- Azure Front Door → Visitor: routes globally (evidence: `README.md`)
- Azure Cosmos DB → Visitor: serves global scale (evidence: `README.md`)
