Axolotl 8.0.0-preview.19

.NET 7.0
This is a prerelease version of Axolotl.
dotnet add package Axolotl --version 8.0.0-preview.19
NuGet\Install-Package Axolotl -Version 8.0.0-preview.19
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="Axolotl" Version="8.0.0-preview.19" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Axolotl --version 8.0.0-preview.19
#r "nuget: Axolotl, 8.0.0-preview.19"
#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.
// Install Axolotl as a Cake Addin
#addin nuget:?package=Axolotl&version=8.0.0-preview.19&prerelease

// Install Axolotl as a Cake Tool
#tool nuget:?package=Axolotl&version=8.0.0-preview.19&prerelease


A personal shared library for various types of dotnet project types








The framework is provided as a set of NuGet packages. In many cases you'll only need the base package, but if you need efcore, razor or Maui there are implementation-specific packages available to assist.

To install the minimum requirements:

Install-Package Axolotl

To install support for serialization, AutoFixture, EF Core, Model Binding, or Dapper select the lines that apply:

Install-Package Axolotl
Install-Package Axolotl.Http
Install-Package Axolotl.EFCore
Install-Package Axolotl.AspNet
Install-Package Axolotl.Razor
Install-Package Axolotl.Maui

Asp.Net Core Samples

Added required packages

Install-Package Axolotl
Install-Package Axolotl.EFCore
Install-Package Axolotl.AspNet

Add sample entity

public sealed class Post : AuditableEntity<Guid> {
    public string Title { get; set; } = null!;
    public Category Category { get; set; } = null!;
    public ICollection<Tag> Tags { get; set; } = null!;

Add to context

public class ServiceContext : DbContext {
    public ServiceContext(DbContextOptions<ServiceContext> options) : base(options) { }
    protected override void OnModelCreating(ModelBuilder modelBuilder) { }
    public virtual DbSet<Post> Posts { get; set; } = null!;

Create optional filter specification

public sealed class CategorySpec : Specification<Post> {
    public CategorySpec(IPageFilter filter) {
        var search = filter.Search ?? string.Empty;
        var text = search.ToLower().Split(" ").ToList().Select(x => x);
        Query.Where(x =>  x.Title != String.Empty && x.Title.Length > 3 && text.Any(p => EF.Functions.Like(x.Title.ToLower(), $"%" + p + "%")))
            .OrderBy(b => b.Title);

Create feature/endpoint

public class CategoryFeature : GenericFeature<CategoryFeature> {
    public override IEndpointRouteBuilder MapEndpoints(IEndpointRouteBuilder endpoints) {
        var state = new FeatureState(new List<RouteState> {
            new (RouteType.GetAll, typeof(CategorySpec)),
            new (RouteType.GetById),
            new (RouteType.Create)

        return SetupGroup<CategoryFeature, Category, Guid>(endpoints, state);
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Axolotl:

Package Downloads

Classes and extensions to help simplify using ASP.NET.


Classes and extensions to help simplify efcore usage in .NET.


Components to help simplify razor and blazor usage in .NET.


Classes help to simplify HTTP usage in .NET.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0-preview.19 111 7/6/2023
8.0.0-preview.18 76 6/6/2023
8.0.0-preview.17 63 6/6/2023
8.0.0-preview.16 55 6/6/2023
8.0.0-preview.14 55 6/6/2023
8.0.0-preview.13 60 6/6/2023
8.0.0-preview.12 58 6/6/2023
8.0.0-preview.11 57 6/5/2023