Skip to content

feat: add ASP.NET Core APort verification example#115

Open
hungud wants to merge 1 commit into
aporthq:mainfrom
hungud:feat/aspnetcore-aport-example
Open

feat: add ASP.NET Core APort verification example#115
hungud wants to merge 1 commit into
aporthq:mainfrom
hungud:feat/aspnetcore-aport-example

Conversation

@hungud

@hungud hungud commented May 26, 2026

Copy link
Copy Markdown

Summary

  • Add an ASP.NET Core Minimal API example for APort policy verification.
  • Demonstrate a reusable endpoint filter that checks X-Agent-Id against APort /verify before running protected business logic.
  • Include mock mode, live API configuration, curl examples, and documentation.

Verification

  • dotnet build examples/frameworks/aspnetcore-minimal-api/src/Aport.AspNetCore.MinimalApi.Example.csproj
  • Smoke tested /health, allowed /refunds, and denied /refunds.

Related to #22

Adds a Minimal API example with an endpoint filter that verifies agent policy via APort before processing refund requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant