Anarchy.Toolkit.Web 1.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Web --version 1.0.5
                    
NuGet\Install-Package Anarchy.Toolkit.Web -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Anarchy.Toolkit.Web" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Web" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Web" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Anarchy.Toolkit.Web --version 1.0.5
                    
#r "nuget: Anarchy.Toolkit.Web, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Anarchy.Toolkit.Web@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Anarchy.Toolkit.Web&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Web&version=1.0.5
                    
Install as a Cake Tool

Anarchy.Toolkit.Web

Shared ASP.NET Core REST API pipeline and presentation helpers.

dotnet add package Anarchy.Toolkit.Web
  • Build an API using RestApiWebAppStartupBase and the web entry-point bases for native hosting or AWS Lambda.
  • Compose the supplied middleware, authentication, Swagger, JSON converters and validation attributes around your application's endpoints.
  • A health controller exposes the shared health-report model. Application-specific scopes and endpoints remain in the consumer.

When to use it

Use this package to host a toolkit-based REST API on ASP.NET Core or AWS Lambda while sharing startup, authentication, health and error-handling conventions. It supplies infrastructure around your endpoints; it does not define your application's API contracts or business logic.

How to use it

  1. Define application settings and a settings module, then derive a startup from RestApiWebAppStartupBase<TAppSettingsDiModule, TAppSettings>. Register your services and configure authorization scopes in its service-configuration hook.
  2. Implement controllers with explicit request/response types and call application services rather than database repositories directly. Keep transport DTOs separate from domain entities.
  3. Supply the IReadOnlyCollection<IServiceHealthReport> consumed by the health controller, using an empty collection if there are no checks or registering the relevant provider reports.
  4. Use WebAppEntryPoint.RunWebHost<Startup>(args) for a native host and an AwsWebAppEntryPointBase implementation for Lambda. Configure real authentication, secrets and environment-specific settings before deployment.

The sample API startup, native entry point and Lambda entry point show the complete structure. Test the HTTP pipeline with Testing.Web.

See the endpoint guide, API sample and toolkit overview.

Releases

1.0.5

  • chore(deps): update AWS SDK packages

1.0.3

  • build: migrate local automation to build tooling

1.0.2

  • docs: expand package guides and release histories
  • chore(deps): update AWS, Polly, and xUnit packages

1.0.1

  • Added a package-specific NuGet README.

1.0.0

  • Introduced API hosting, controller and middleware infrastructure, authentication, Swagger and Lambda hosting helpers.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Anarchy.Toolkit.Web:

Package Downloads
Anarchy.Toolkit.Web.Ui

Blazor UI pipeline: cookie-session OAuth login, environment catalog, downstream API client base, and reusable components (notifications, modals, JSON viewer, pagination).

Anarchy.Toolkit.Testing.Web

Web end-to-end test base (RestApiTestCaseBase exercising both the native Kestrel and AWS Lambda pipelines), a testable Lambda entry point, and HTTP request helpers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 0 11/21/2026
2.0.0 0 11/20/2026
1.2.1 95 11/17/2026
1.2.0 70 11/17/2026
1.1.0 65 11/17/2026
1.0.8 105 11/16/2026
1.0.7 117 11/15/2026
1.0.6 111 11/14/2026
1.0.5 116 11/13/2026
1.0.4 97 11/9/2026
1.0.3 101 11/9/2026
1.0.1 115 11/6/2026
1.0.0 108 11/5/2026

Initial release.