feat: standalone ExcelToPdfService - ASP.NET Core 8 + Syncfusion

- Services/ExcelToPdfService.cs: core conversion logic (XlsIORenderer)
- Controllers/ExcelToPdfController.cs: REST API endpoints
  * POST /api/ExcelToPdf/convert (file upload)
  * POST /api/ExcelToPdf/convert-by-path (server path)
  * GET  /api/ExcelToPdf/health
- Program.cs: minimal API setup, 50MB upload limit
- appsettings.json: port 5200, Syncfusion license
- Syncfusion 21.1.37 (XlsIO + Pdf + XlsIORenderer)
- Binary signed: Azure Trusted Signing (Private Trust)
This commit is contained in:
huanld
2026-05-18 15:05:10 +07:00
commit cecde2bc1c
9 changed files with 246 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
@ExcelToPdfService_HostAddress = http://localhost:5285
GET {{ExcelToPdfService_HostAddress}}/weatherforecast/
Accept: application/json
###