A .NET 10 Web API that automates Word document processing — it takes a .docx template plus a set of placeholder values and produces a filled-out document. Built as the backend for my Flutter desktop app Office Automation App, which consumes it over REST on localhost:5143.
- Detects placeholders in Word templates (regex-based scan of the document)
- Replaces placeholders with submitted values and returns the generated
.docx - Exposes an OpenAPI/Swagger UI for exploring the endpoints
Tech: ASP.NET Core (net10.0), DocX for Word manipulation, Swashbuckle/Scalar for API docs.
Feature-oriented layout with a light Clean Architecture split:
AutomationService/
└── Features/
└── WordAutomation/
├── Domain/ # IWordAutomationService + implementation
└── Presentation/ # Controller, DTOs, DI registration
dotnet run --project AutomationServiceThe API listens on http://localhost:5143; the interactive API docs are available at /swagger in development mode.