Skip to content

Repositories

Hardened is three repositories. They version and ship independently, so an application only carries the parts it uses.

Hardened.Framework

github.com/ipjohnson/Hardened.Framework

The core. Modules and dependency injection, configuration, the execution pipeline, web routing and parameter binding, the template engine, console commands, the test framework, and the source generators behind all of it.

PathContents
src/SharedModule entry points, configuration, environment, metrics, and the test framework
src/RequestsThe execution pipeline and its abstractions
src/WebRouting, ASP.NET Core integration, the web test client
src/TemplatesThe template engine and its helpers
src/CommandsConsole command parsing and dispatch
src/SourceGeneratorsEvery generator, including the shared library they build on
src/IntegrationTestsWorking applications driven through the real pipeline. The worked examples in the codebase

Documented in the Guide.

Hardened.Amz

github.com/ipjohnson/Hardened.Amz

The AWS integrations: Lambda runtimes for functions, API Gateway, DynamoDB Streams and SQS; DynamoDB and SQS clients; CDK constructs; and the test harnesses for all of them.

PathContents
src/Lambda/FunctionPlain function invocation, batch filter base, streaming
src/Lambda/WebAPI Gateway, response streaming, the local harness
src/Lambda/DynamoDbStreamStream records, [NewImage], [OldImage]
src/Lambda/SqsSQS batches and partial batch responses
src/Lambda/SharedStructured logging, embedded metrics, stage and region types
src/Clients/DynamoDbIDynamoDbClientProvider and DynamoDB Local
src/Hardened.Amz.CdkCDK constructs and the deploy command
src/SourceGeneratorsThe Lambda function and web generators

Documented under AWS.

Hardened.Docs

github.com/ipjohnson/Hardened.Docs

This site. Built with VitePress from Markdown in website/, and published to GitHub Pages on every push to main that touches it.

cd website
npm ci
npm run dev      # local server with hot reload
npm run build    # what CI runs; fails on a dead internal link

Every page has an "Edit this page on GitHub" link at the bottom.

DependencyModulesgithub.com/ipjohnson/DependencyModules

Compile-time dependency injection for .NET, and the foundation Hardened's module system is built on. [SingletonService], [ScopedService], [TransientService], conventions, decorators and interception all come from there and all work in a Hardened application unchanged.

Released under the MIT License.