GlueFramework.Core 1.0.3

dotnet add package GlueFramework.Core --version 1.0.3
                    
NuGet\Install-Package GlueFramework.Core -Version 1.0.3
                    
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="GlueFramework.Core" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GlueFramework.Core" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="GlueFramework.Core" />
                    
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 GlueFramework.Core --version 1.0.3
                    
#r "nuget: GlueFramework.Core, 1.0.3"
                    
#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 GlueFramework.Core@1.0.3
                    
#: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=GlueFramework.Core&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=GlueFramework.Core&version=1.0.3
                    
Install as a Cake Tool

Glue Framework Core

The foundational package of Glue Framework providing DDD building blocks and data access abstractions.

Features

Repository Pattern with LINQ

// Query with lambda
var items = await _repository.QueryAsync(x => x.Category != "");

// Query top N
var top3 = await _repository.QueryTopAsync(x => x.IsActive, 3);

// Paged search with filter options
var page = await _repository.PagerSearchAsync(
    new FilterOptions<MyEntity>(
        x => x.Status == Status.Active,
        new PagerInfo { PageIndex = 1, PageSize = 20 }
    )
);

DDD Building Blocks

  • Entity & ValueObject - Base classes for domain models
  • AggregateRoot - Transaction boundary markers
  • DomainEvent - In-process event publishing
  • UnitOfWork - Transaction management

Data Access

  • IDbSession - Database session abstraction
  • IDALFactory - Data Access Layer factory
  • IRepository<T> - Generic repository interface

Cross-Cutting Concerns

  • IIdentityProvider - User identity abstraction
  • IHashService - Cryptographic hashing
  • ICacheManager - Caching abstraction

Usage

public class OrderService
{
    private readonly IRepository<Order> _orderRepo;
    private readonly IUnitOfWork _uow;
    
    public OrderService(IRepository<Order> orderRepo, IUnitOfWork uow)
    {
        _orderRepo = orderRepo;
        _uow = uow;
    }
    
    public async Task<Order> CreateOrderAsync(CreateOrderDto dto)
    {
        var order = new Order(dto.CustomerId, dto.Items);
        await _orderRepo.AddAsync(order);
        await _uow.CommitAsync();
        return order;
    }
}

Dependencies

  • Autofac for DI
  • Dapper for data access
  • Newtonsoft.Json for serialization
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (3)

Showing the top 3 NuGet packages that depend on GlueFramework.Core:

Package Downloads
GlueFramework.WebCore

Package Description

GlueFramework.OrchardCoreModule

Package Description

GlueFramework.AuditLogModule

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 195 5/12/2026
1.0.2 230 5/12/2026
1.0.1 202 3/31/2026
1.0.0 422 1/14/2026