Report server
Host report projects over HTTP, give apps API keys and review the audit log.
The report server renders reports for apps over HTTP. It runs under IIS or as a Windows service. Your app connects with the server URL and an API key. See Install the report server for deployment steps.
Projects and keys
In appsettings.json, set ReportServer:Projects to the project paths and their connection strings. Create a key for each app.
ReportDesigner.Server new-key "Payroll app"
Give the key to the app. Put the returned hash in ReportServer:ApiKeys and list the projects the key may use.
{
"ReportServer": {
"Projects": {
"accounting": {
"Path": "D:\\CompanyReports",
"Connections": {
"Sales": "Server=sql01;Database=Accounting;Integrated Security=True;TrustServerCertificate=True"
}
}
},
"ApiKeys": [
{ "Name": "Payroll app", "KeyHash": "<hash from new-key>", "Projects": ["accounting"] }
],
"AuditLogFolder": "audit"
}
}
Render over HTTP
Send the key in X-Api-Key or as an Authorization: Bearer token. A GET request runs the report’s query. A POST request accepts the app’s parameters, rows and dataSets in JSON.
GET /api/projects/accounting/reports/check-voucher?FromDate=2026-11-01&ToDate=2026-11-30&format=pdf
POST /api/projects/accounting/reports/check-voucher?format=pdf
GET /api/projects
GET /api/projects/accounting/reports
GET /api/projects/accounting/reports/check-voucher/parameters
GET /health
For .NET apps, set Url, Project and ApiKey in the app’s ReportServer configuration. Bind that section to the server options. Your controller can keep using IReportService.
builder.Services.AddReportDesigner(options => builder.Configuration.GetSection("ReportServer").Bind(options.Server));
Audit log
Open audit/audit-yyyy-MM-dd.jsonl to see render and print requests. Each record lists the app, address, project, report, format, parameters, number of rows sent, status and duration. The server deletes old logs at startup and when it writes the first entry of a new day. AuditLogRetentionDays defaults to 365. Set it to 0 to keep every log.