# microsoft/reporting-services architecture

> Architecture diagram of the GitHub repository microsoft/reporting-services, 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/microsoft/reporting-services
- Repository: https://github.com/microsoft/reporting-services

## Overview

This repository is a collection of SQL Server Reporting Services samples, not one integrated application. Its main product workflows are a TypeScript catalog browser that reads and uploads report-server items, custom authentication and authorization extension examples, and downloadable paginated-report definitions. The custom-security sample is duplicated for a 2016 target. Edges are limited to relationships shown in excerpts or stated in the README; the security-extension wiring is not fully visible in the sampled source.

Main entry points: [`APISamples/typescript/src/home.tsx`](https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/home.tsx) (Catalog browser), [`CustomSecuritySample/AuthenticationExtension.cs`](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/AuthenticationExtension.cs) (Authentication extension), [`APISamples/typescript/src/api.ts`](https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/api.ts) (Report API client), [`CustomSecuritySample2016/AuthenticationExtension.cs`](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/AuthenticationExtension.cs) (Authentication extension)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Catalog API sample"]
  node_app["React app router<br/>[app.tsx]"]
  node_catalog["Catalog browser<br/>[home.tsx]"]
  node_navbar["Upload navbar<br/>[navbar.tsx]"]
  node_api_client["Report API client<br/>[api.ts]"]
end

subgraph group_security["Custom security sample"]
  node_login["Login page<br/>[Logon.aspx.cs]"]
  node_auth_ext["Authentication extension"]
  node_auth_store["Authentication store"]
  node_user_db[("User store database")]
  node_authorization["Authorization extension<br/>[Authorization.cs]"]
  node_execution_client["Report execution client"]
end

subgraph group_security2016["2016 security sample"]
  node_auth_ext16["Authentication extension"]
  node_auth_store16["Authentication store"]
  node_user_db16[("User store database")]
  node_authorization16["Authorization extension<br/>[Authorization.cs]"]
  node_execution_client16["Report execution client"]
end

subgraph group_reports["Paginated report samples"]
  node_report_files["Paginated report definitions"]
end

node_user(("Browser user"))
node_report_server{{"Report server API"}}

node_user -->|"opens"| node_app
node_app -->|"routes to"| node_catalog
node_catalog -->|"loads catalog"| node_api_client
node_catalog -->|"renders"| node_navbar
node_navbar -->|"uploads file"| node_api_client
node_api_client -->|"sends API requests"| node_report_server
node_login -.->|"submits credentials"| node_auth_ext
node_auth_ext -.->|"validates account"| node_auth_store
node_auth_store -.->|"reads and writes"| node_user_db
node_auth_ext -.->|"enables access checks"| node_authorization
node_execution_client -.->|"calls execution service"| node_report_server
node_auth_ext16 -.->|"validates account"| node_auth_store16
node_auth_store16 -.->|"reads and writes"| node_user_db16
node_auth_ext16 -.->|"enables access checks"| node_authorization16
node_execution_client16 -.->|"calls execution service"| node_report_server

click node_app "https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/app.tsx"
click node_catalog "https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/home.tsx"
click node_navbar "https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/navbar.tsx"
click node_api_client "https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/api.ts"
click node_login "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/Logon.aspx.cs"
click node_auth_ext "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/AuthenticationExtension.cs"
click node_auth_store "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/AuthenticationUtilities.cs"
click node_user_db "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/Setup/CreateUserStore.sql"
click node_authorization "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/Authorization.cs"
click node_execution_client "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/ReportExecutionService.cs"
click node_auth_ext16 "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/AuthenticationExtension.cs"
click node_auth_store16 "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/AuthenticationUtilities.cs"
click node_user_db16 "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/Setup/CreateUserStore.sql"
click node_authorization16 "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/Authorization.cs"
click node_execution_client16 "https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/ReportExecutionService.cs"
click node_report_files "https://github.com/microsoft/reporting-services/tree/master/PaginatedReportSamples"

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_app,node_catalog,node_navbar,node_api_client,node_user toneBlue
class node_login,node_auth_ext,node_auth_store,node_user_db,node_authorization,node_execution_client toneAmber
class node_auth_ext16,node_auth_store16,node_user_db16,node_authorization16,node_execution_client16,node_report_server toneMint
class node_report_files toneRose
```

## Components

### Catalog API sample

- [React app router](https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/app.tsx): `APISamples/typescript/src/app.tsx`
- [Catalog browser](https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/home.tsx): `APISamples/typescript/src/home.tsx`
- [Upload navbar](https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/navbar.tsx): `APISamples/typescript/src/navbar.tsx`
- [Report API client](https://github.com/microsoft/reporting-services/blob/master/APISamples/typescript/src/api.ts): `APISamples/typescript/src/api.ts`

### Custom security sample

- [Login page](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/Logon.aspx.cs): `CustomSecuritySample/Logon.aspx.cs`
- [Authentication extension](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/AuthenticationExtension.cs): `CustomSecuritySample/AuthenticationExtension.cs`
- [Authentication store](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/AuthenticationUtilities.cs): `CustomSecuritySample/AuthenticationUtilities.cs`
- [User store database](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/Setup/CreateUserStore.sql): `CustomSecuritySample/Setup/CreateUserStore.sql`
- [Authorization extension](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/Authorization.cs): `CustomSecuritySample/Authorization.cs`
- [Report execution client](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample/ReportExecutionService.cs): `CustomSecuritySample/ReportExecutionService.cs`

### 2016 security sample

- [Authentication extension](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/AuthenticationExtension.cs): `CustomSecuritySample2016/AuthenticationExtension.cs`
- [Authentication store](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/AuthenticationUtilities.cs): `CustomSecuritySample2016/AuthenticationUtilities.cs`
- [User store database](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/Setup/CreateUserStore.sql): `CustomSecuritySample2016/Setup/CreateUserStore.sql`
- [Authorization extension](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/Authorization.cs): `CustomSecuritySample2016/Authorization.cs`
- [Report execution client](https://github.com/microsoft/reporting-services/blob/master/CustomSecuritySample2016/ReportExecutionService.cs): `CustomSecuritySample2016/ReportExecutionService.cs`

### Paginated report samples

- [Paginated report definitions](https://github.com/microsoft/reporting-services/tree/master/PaginatedReportSamples): `PaginatedReportSamples`

### Other components

- **Browser user**
- **Report server API**

## Connections

- Browser user → React app router: opens (evidence: `APISamples/typescript/src/app.tsx`)
- React app router → Catalog browser: routes to (evidence: `APISamples/typescript/src/app.tsx`)
- Catalog browser → Report API client: loads catalog (evidence: `APISamples/typescript/src/home.tsx`)
- Catalog browser → Upload navbar: renders (evidence: `APISamples/typescript/src/home.tsx`)
- Upload navbar → Report API client: uploads file (evidence: `APISamples/typescript/src/navbar.tsx`)
- Report API client → Report server API: sends API requests (evidence: `APISamples/typescript/src/api.ts`)
- Login page → Authentication extension: submits credentials
- Authentication extension → Authentication store: validates account
- Authentication store → User store database: reads and writes
- Authentication extension → Authorization extension: enables access checks
- Report execution client → Report server API: calls execution service
- Authentication extension → Authentication store: validates account
- Authentication store → User store database: reads and writes
- Authentication extension → Authorization extension: enables access checks
- Report execution client → Report server API: calls execution service
