# dnnsoftware/dnn.platform architecture

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

- Interactive diagram: https://gitdiagram.com/dnnsoftware/dnn.platform
- Repository: https://github.com/dnnsoftware/dnn.platform

## Overview

DNN Platform is a multi-site web content management system for building and administering websites, portals, and intranets. A typical user manages site content and files through web interfaces; the platform exposes management APIs and renders module-based experiences, with extensions and cloud integrations broadening its capabilities. The tree also shows authentication, search, workflows, analytics, and export/import. Most sampled source is infrastructure or isolated features rather than an end-to-end request path, so uncertain connections are omitted; dashed links mark documented capabilities whose specific runtime wiring was not sampled.

Main entry points: [`DNN Platform/DotNetNuke.ModulePipeline/ModuleControlPipeline.cs`](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.ModulePipeline/ModuleControlPipeline.cs) (Module pipeline), [`DNN Platform/Library/Entities/Portals/PortalController.cs`](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Entities/Portals/PortalController.cs) (Portal management), [`DNN Platform/Modules/ResourceManager/Services/ItemsController.cs`](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Modules/ResourceManager/Services/ItemsController.cs) (File management), [`DNN Platform/Library/Services/Mobile/PreviewProfileController.cs`](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Mobile/PreviewProfileController.cs) (Mobile preview)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Content and modules"]
  node_module_pipeline["Module pipeline"]
  node_html_content["HTML content"]
  node_workflow["Content workflow<br/>[WorkflowEngine.cs]"]
  node_journal["Community journal<br/>[Content.cs]"]
end

subgraph group_sites["Sites and administration"]
  node_site_controller["Portal management"]
  node_site_settings["Host settings<br/>[IHostSettings.cs]"]
  node_file_manager["File management<br/>[ItemsController.cs]"]
  node_mobile_preview["Mobile preview"]
end

subgraph group_platform["Platform services"]
  node_search["Search indexing<br/>[SearchEngine.cs]"]
  node_search_schedule["Search scheduler"]
  node_export_import["Export and import"]
  node_jwt["JWT authentication"]
end

subgraph group_connectors["Integrations"]
  node_azure_storage["Azure storage"]
  node_azure_connector["Azure connector<br/>[AzureConnector.cs]"]
  node_google_analytics["Google Analytics"]
  node_tag_manager["Google Tag Manager"]
end

subgraph group_experience["Web experience"]
  node_mvc["MVC views"]
  node_razor["Razor rendering<br/>[RazorEngine.cs]"]
  node_client_resources["Client resources"]
  node_rest["REST services"]
end

node_user(("Site user"))
node_admin(("Site administrator"))

node_user -.->|"uses modules"| node_module_pipeline
node_admin -.->|"administers sites"| node_site_controller
node_admin -.->|"manages files"| node_file_manager
node_user -.->|"uses APIs"| node_rest
node_admin -.->|"moves site data"| node_export_import
node_user -.->|"previews mobile"| node_mobile_preview

click node_module_pipeline "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.ModulePipeline/ModuleControlPipeline.cs"
click node_html_content "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Modules/HTML/Components/HtmlTextController.cs"
click node_workflow "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Entities/Content/Workflow/WorkflowEngine.cs"
click node_journal "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Journal/Content.cs"
click node_site_controller "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Entities/Portals/PortalController.cs"
click node_site_settings "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Abstractions/Application/IHostSettings.cs"
click node_file_manager "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Modules/ResourceManager/Services/ItemsController.cs"
click node_mobile_preview "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Mobile/PreviewProfileController.cs"
click node_search "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Search/SearchEngine.cs"
click node_search_schedule "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Search/SearchEngineScheduler.cs"
click node_export_import "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Modules/DnnExportImport/Components/Engines/ExportImportEngine.cs"
click node_jwt "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Dnn.AuthServices.Jwt/Auth/JwtAuthMessageHandler.cs"
click node_azure_storage "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Providers/FolderProviders/AzureFolderProvider/AzureRemoteStorageItem.cs"
click node_azure_connector "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Connectors/Azure/Components/AzureConnector.cs"
click node_google_analytics "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs"
click node_tag_manager "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Connectors/GoogleTagManager/GoogleTagManagerEngine.cs"
click node_razor "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Web.Razor/RazorEngine.cs"
click node_client_resources "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Web.Client/ClientResourceManager.cs"
click node_rest "https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Web/InternalServices/ItemListServiceController.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_module_pipeline,node_html_content,node_workflow,node_journal,node_user toneBlue
class node_site_controller,node_site_settings,node_file_manager,node_mobile_preview toneAmber
class node_search,node_search_schedule,node_export_import,node_jwt toneMint
class node_azure_storage,node_azure_connector,node_google_analytics,node_tag_manager toneRose
class node_mvc,node_razor,node_client_resources,node_rest,node_admin toneIndigo
```

## Components

### Content and modules

- [Module pipeline](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.ModulePipeline/ModuleControlPipeline.cs): `DNN Platform/DotNetNuke.ModulePipeline/ModuleControlPipeline.cs`
- [HTML content](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Modules/HTML/Components/HtmlTextController.cs): `DNN Platform/Modules/HTML/Components/HtmlTextController.cs`
- [Content workflow](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Entities/Content/Workflow/WorkflowEngine.cs): `DNN Platform/Library/Entities/Content/Workflow/WorkflowEngine.cs`
- [Community journal](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Journal/Content.cs): `DNN Platform/Library/Services/Journal/Content.cs`

### Sites and administration

- [Portal management](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Entities/Portals/PortalController.cs): `DNN Platform/Library/Entities/Portals/PortalController.cs`
- [Host settings](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Abstractions/Application/IHostSettings.cs): `DNN Platform/DotNetNuke.Abstractions/Application/IHostSettings.cs`
- [File management](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Modules/ResourceManager/Services/ItemsController.cs): `DNN Platform/Modules/ResourceManager/Services/ItemsController.cs`
- [Mobile preview](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Mobile/PreviewProfileController.cs): `DNN Platform/Library/Services/Mobile/PreviewProfileController.cs`

### Platform services

- [Search indexing](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Search/SearchEngine.cs): `DNN Platform/Library/Services/Search/SearchEngine.cs`
- [Search scheduler](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Library/Services/Search/SearchEngineScheduler.cs): `DNN Platform/Library/Services/Search/SearchEngineScheduler.cs`
- [Export and import](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Modules/DnnExportImport/Components/Engines/ExportImportEngine.cs): `DNN Platform/Modules/DnnExportImport/Components/Engines/ExportImportEngine.cs`
- [JWT authentication](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Dnn.AuthServices.Jwt/Auth/JwtAuthMessageHandler.cs): `DNN Platform/Dnn.AuthServices.Jwt/Auth/JwtAuthMessageHandler.cs`

### Integrations

- [Azure storage](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Providers/FolderProviders/AzureFolderProvider/AzureRemoteStorageItem.cs): `DNN Platform/Providers/FolderProviders/AzureFolderProvider/AzureRemoteStorageItem.cs`
- [Azure connector](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Connectors/Azure/Components/AzureConnector.cs): `DNN Platform/Connectors/Azure/Components/AzureConnector.cs`
- [Google Analytics](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs): `DNN Platform/Connectors/GoogleAnalytics/GoogleAnalyticsConnector.cs`
- [Google Tag Manager](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/Connectors/GoogleTagManager/GoogleTagManagerEngine.cs): `DNN Platform/Connectors/GoogleTagManager/GoogleTagManagerEngine.cs`

### Web experience

- **MVC views**
- [Razor rendering](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Web.Razor/RazorEngine.cs): `DNN Platform/DotNetNuke.Web.Razor/RazorEngine.cs`
- [Client resources](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Web.Client/ClientResourceManager.cs): `DNN Platform/DotNetNuke.Web.Client/ClientResourceManager.cs`
- [REST services](https://github.com/dnnsoftware/dnn.platform/blob/develop/DNN%20Platform/DotNetNuke.Web/InternalServices/ItemListServiceController.cs): `DNN Platform/DotNetNuke.Web/InternalServices/ItemListServiceController.cs`

### Other components

- **Site user**
- **Site administrator**

## Connections

- Site user → Module pipeline: uses modules (evidence: `README.md`)
- Site administrator → Portal management: administers sites (evidence: `README.md`)
- Site administrator → File management: manages files (evidence: `README.md`)
- Site user → REST services: uses APIs (evidence: `README.md`)
- Site administrator → Export and import: moves site data
- Site user → Mobile preview: previews mobile
