This sample shows how to configure Presidio with .NET Aspire for PII redaction purposes inside an .NET Web API application.
- AppHost - .NET Aspire Application Host
- ServiceDefaults - .NET Aspire Service Defaults
- AspireAIPresidio - .NET Web API with Presidio Middleware
- Presidio.Hosting - .NET Aspire Presidio Custom Component
- Redact user prompts for GenAI applications
- .NET 8 SDK or later
- Docker
- Visual Studio or Visual Studio Code
- In Visual Studio, Press F5 or in the terminal, navigate to the AppHost project and enter
dotnet run