Lumarin.Notify.Hosting.Embedded.PostgreSQL 0.8.0-preview.115

This is a prerelease version of Lumarin.Notify.Hosting.Embedded.PostgreSQL.
dotnet add package Lumarin.Notify.Hosting.Embedded.PostgreSQL --version 0.8.0-preview.115
                    
NuGet\Install-Package Lumarin.Notify.Hosting.Embedded.PostgreSQL -Version 0.8.0-preview.115
                    
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="Lumarin.Notify.Hosting.Embedded.PostgreSQL" Version="0.8.0-preview.115" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lumarin.Notify.Hosting.Embedded.PostgreSQL" Version="0.8.0-preview.115" />
                    
Directory.Packages.props
<PackageReference Include="Lumarin.Notify.Hosting.Embedded.PostgreSQL" />
                    
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 Lumarin.Notify.Hosting.Embedded.PostgreSQL --version 0.8.0-preview.115
                    
#r "nuget: Lumarin.Notify.Hosting.Embedded.PostgreSQL, 0.8.0-preview.115"
                    
#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 Lumarin.Notify.Hosting.Embedded.PostgreSQL@0.8.0-preview.115
                    
#: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=Lumarin.Notify.Hosting.Embedded.PostgreSQL&version=0.8.0-preview.115&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Lumarin.Notify.Hosting.Embedded.PostgreSQL&version=0.8.0-preview.115&prerelease
                    
Install as a Cake Tool

Lumarin.Notify.Hosting.Embedded.PostgreSQL

Lumarin.Notify.Hosting.Embedded.PostgreSQL is an optional convenience package for the common embedded-hosting profile:

  • Lumarin.Notify.Core
  • Lumarin.Notify.EntityFrameworkCore
  • Lumarin.Notify.EntityFrameworkCore.PostgreSQL
  • Lumarin.Notify.AspNetCore
  • Lumarin.Notify.Admin
  • Lumarin.Notify.Admin.EntityFrameworkCore

It keeps composition explicit while reducing setup boilerplate for hosts that want to run Lumarin.Notify inside an existing ASP.NET Core application backed by PostgreSQL.

builder.Services.AddLumarinNotifyEmbeddedPostgreSql(options =>
{
    options.ConfigureLumarinNotify = notify =>
    {
        notify.UseDatabase(connectionString, "postgresql");
        notify.Delivery.EnableBackgroundWorkers = false;
    };

    options.ConfigureAspNetCore = hosted =>
    {
        hosted.ScopeType = "account";
        hosted.Features.EnableTemplates = true;
        hosted.Features.EnableTracking = true;
    };

    options.ConfigureAdmin = admin =>
    {
        admin.RoutePrefix = "/ops/admin";
    };
});

For runtime startup migrations on the embedded profile, prefer the package-owned helper:

await app.Services.MigrateLumarinNotifyEmbeddedPostgreSqlAsync();

MigrateLumarinNotifyEmbeddedPostgreSqlAsync() applies the active base profile first:

  • durable profile ⇒ durable schema
  • outbox profile ⇒ outbox schema

Then it applies the optional admin control-plane schema when AddLumarinNotifyAdminEntityFrameworkCore() is present. This keeps embedded hosts out of Lumarin.Notify's internal EF Core migration ordering and provider composition rules.

The embedded helper composes the existing public migration APIs:

  • MigrateLumarinNotifyAsync() for the durable base profile
  • MigrateLumarinNotifyOutboxAsync() for the outbox base profile
  • MigrateLumarinNotifyAdminAsync() for the optional admin control plane

For schema-per-tenant or database-per-tenant hosts, use the tenant-aware overloads instead of the no-arg helper:

await app.Services.MigrateLumarinNotifyEmbeddedPostgreSqlAsync(tenantId);
await app.Services.MigrateLumarinNotifyEmbeddedPostgreSqlAsync(tenantStore);

If you enable outbox mode, keep the normal explicit registration:

builder.Services.UseLumarinNotifyOutbox(outbox =>
{
    outbox.BatchSize = 50;
});
builder.Services.AddLumarinNotifyOutboxEntityFrameworkCore();

The package does not own authentication or authorization. Register your app's ILumarinNotifyIdentityResolver, ILumarinNotifyAuthorizationPolicy, and IAdminAuthorizationPolicy explicitly.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0-preview.115 60 4/18/2026
0.8.0-preview.114 57 4/18/2026
0.8.0-preview.113 60 4/17/2026
0.8.0-preview.112 55 4/17/2026
0.8.0-preview.111 61 4/17/2026
0.8.0-preview.110 64 4/16/2026