Aspire.Seq 13.1.1

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

Aspire.Seq Library

Adds OTLP exporters to send logs and traces to a Seq server. Can be configured to persist logs and traces across application restarts.

By default, Seq is not added to the Aspire manifest for deployment.

Getting started

Prerequisites

  • Seq server

Install the package

Install the Aspire Seq library with NuGet:

dotnet add package Aspire.Seq

Usage example

In the Program.cs file of your projects, call the AddSeqEndpoint extension method to register OpenTelemetry Protocol exporters to send logs and traces to Seq. The method takes a connection name parameter.

builder.AddSeqEndpoint("seq");

Logs and traces will then be sent to Seq, in addition to the Aspire dashboard.

Configuration

The Aspire Seq component provides options to configure the connection to Seq.

Use configuration providers

The Aspire Seq component supports Microsoft.Extensions.Configuration. It loads the SeqSettings from configuration by using the Aspire:Seq key. Example appsettings.json that configures some of the options:

{
  "Aspire": {
    "Seq": {
      "DisableHealthChecks": true,
      "ServerUrl": "http://localhost:5341"
    }
  }
}

Use inline delegates

Also you can pass the Action<SeqSettings> configureSettings delegate to set up some or all the options inline, for example to disable health checks from code:

builder.AddSeqEndpoint("seq", settings => {
    settings.DisableHealthChecks = true;
    settings.ServerUrl = "http://localhost:5341";
    settings.Logs.TimeoutMilliseconds = 10000;
});

AppHost extensions

In your AppHost project, install the Aspire.Hosting.Seq library with NuGet:

dotnet add package Aspire.Hosting.Seq

Then, in the AppHost.cs file of AppHost, register a Seq server and propagate its configuration using the following methods (note that you must accept the Seq End User License Agreement for Seq to start):

var seq = builder.AddSeq("seq");

var myService = builder.AddProject<Projects.MyService>()
                       .WithReference(seq);

In the Program.cs file of MyService, logging and tracing to Seq can be configured with:

builder.AddSeqEndpoint("seq");

Persistent logs and traces

To retain Seq's data and configuration across application restarts register Seq with a data directory in your AppHost project.

var seq = builder.AddSeq("seq", seqDataDirectory: "./seqdata");

Note that the directory specified must already exist.

Seq in the Aspire manifest

Seq is not part of the Aspire deployment manifest. It is recommended to set up a secure production Seq server outside of Aspire.

Additional documentation

Feedback & contributing

https://github.com/dotnet/aspire

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 is compatible.  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 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 (1)

Showing the top 1 NuGet packages that depend on Aspire.Seq:

Package Downloads
SimCube.Aspire

Default Service Extensions for Aspire Solution / Any .Net Solution that requires OTLP.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Aspire.Seq:

Repository Stars
NimblePros/eShopOnWeb
Sample ASP.NET Core 10.0 reference application, powered by Microsoft, demonstrating a domain-centric application architecture with monolithic deployment model.
antosubash/abp-microservice
An abp microservice sample
Version Downloads Last Updated
13.1.1 0 2/11/2026
13.1.0 11,037 12/17/2025
13.0.2 5,966 12/4/2025
13.0.1 5,034 11/26/2025 13.0.1 is deprecated because it is no longer maintained.
13.0.0 11,848 11/11/2025 13.0.0 is deprecated because it is no longer maintained.
9.5.2 7,643 10/23/2025 9.5.2 is deprecated because it is no longer maintained.
9.5.1 17,837 10/3/2025 9.5.1 is deprecated because it is no longer maintained.
9.5.0 8,593 9/25/2025 9.5.0 is deprecated because it is no longer maintained.
9.4.2 35,490 9/2/2025 9.4.2 is deprecated because it is no longer maintained.
9.4.1 12,145 8/12/2025 9.4.1 is deprecated because it is no longer maintained.
9.4.0 12,178 7/29/2025 9.4.0 is deprecated because it is no longer maintained.
9.3.1 20,309 6/10/2025 9.3.1 is deprecated because it is no longer maintained.
9.3.0 19,870 5/19/2025 9.3.0 is deprecated because it is no longer maintained.
9.2.1 11,633 4/24/2025 9.2.1 is deprecated because it is no longer maintained.
9.2.0 5,592 4/10/2025 9.2.0 is deprecated because it is no longer maintained.
9.1.0 27,558 2/25/2025 9.1.0 is deprecated because it is no longer maintained.
9.0.0 47,342 11/12/2024 9.0.0 is deprecated because it is no longer maintained.
9.0.0-rc.1.24511.1 1,045 10/15/2024 9.0.0-rc.1.24511.1 is deprecated because it is no longer maintained.
8.2.2 10,192 10/24/2024 8.2.2 is deprecated because it is no longer maintained.
8.2.1 8,706 9/26/2024 8.2.1 is deprecated because it is no longer maintained.
8.2.0 4,934 8/29/2024 8.2.0 is deprecated because it is no longer maintained.
8.1.0 13,136 7/23/2024 8.1.0 is deprecated because it is no longer maintained.
8.0.2 1,354 6/28/2024 8.0.2 is deprecated because it is no longer maintained.
8.0.1 1,447 5/21/2024 8.0.1 is deprecated because it is no longer maintained.
8.0.0 597 5/21/2024 8.0.0 is deprecated because it is no longer maintained.
8.0.0-preview.7.24251.11 281 5/7/2024 8.0.0-preview.7.24251.11 is deprecated because it is no longer maintained.
8.0.0-preview.6.24214.1 716 4/23/2024 8.0.0-preview.6.24214.1 is deprecated because it is no longer maintained.
8.0.0-preview.5.24201.12 280 4/9/2024 8.0.0-preview.5.24201.12 is deprecated because it is no longer maintained.