Open-source .NET tooling for building on AWS without the boilerplate. Our libraries use compile-time source generation, so they work with Native AOT and AWS Lambda and need no reflection at runtime.
| Project | What it does |
|---|---|
| FluentDynamoDb | A fluent, type-safe API for Amazon DynamoDB. Source-generated entity mapping, expression-based queries, transactions, streams, and optional KMS encryption and S3 blob storage. Docs |
| Lambda OpenAPI | Generates OpenAPI specs at build time from AWS Lambda Annotations. Includes a merge tool, with a CDK construct and Lambda function, that combines the specs of many services into one document. Docs |
| Lambda GraphQL | Generates GraphQL schemas and AppSync resolver mappings from C# Lambda functions at build time. Docs |
| Cedar | Declare Cedar schema and policies for Amazon Verified Permissions in C#. A source generator emits per-repository fragments and a merge tool combines them in CI/CD. Pre-release. |
- Code is the source of truth. Schemas, specs and policies come from annotated C# types instead of separate files that drift.
- Build-time generation. Generators run during
dotnet build. Nothing is discovered through reflection at runtime. - Built for serverless. AOT and trimmer compatible, aimed at AWS Lambda.
- Fits microservices. Lambda OpenAPI and Cedar both use a merge step, so each service owns its part and CI/CD assembles the whole.
Issues and pull requests are welcome in each repository. Each one has a
CONTRIBUTING.md.
Maintained by Dan Guisinger at Oproto Inc, which builds SaaS for small business finance and accounting.
- Company: oproto.com
- Developer portal: oproto.io
- Sponsor: github.com/sponsors/dguisinger