Volo.Abp.Studio.General.Client.AspNetCore
3.1.3
Prefix Reserved
dotnet add package Volo.Abp.Studio.General.Client.AspNetCore --version 3.1.3
NuGet\Install-Package Volo.Abp.Studio.General.Client.AspNetCore -Version 3.1.3
<PackageReference Include="Volo.Abp.Studio.General.Client.AspNetCore" Version="3.1.3" />
<PackageVersion Include="Volo.Abp.Studio.General.Client.AspNetCore" Version="3.1.3" />
<PackageReference Include="Volo.Abp.Studio.General.Client.AspNetCore" />
paket add Volo.Abp.Studio.General.Client.AspNetCore --version 3.1.3
#r "nuget: Volo.Abp.Studio.General.Client.AspNetCore, 3.1.3"
#:package Volo.Abp.Studio.General.Client.AspNetCore@3.1.3
#addin nuget:?package=Volo.Abp.Studio.General.Client.AspNetCore&version=3.1.3
#tool nuget:?package=Volo.Abp.Studio.General.Client.AspNetCore&version=3.1.3
ℹ️ Description
ASP.NET Core integration for the ABP Studio monitoring client for plain .NET applications.
Add the package and call AddGeneralStudioClient() / UseGeneralStudioLink() in Program.cs to stream logs, HTTP requests, and exceptions to ABP Studio Solution Runner.
No ABP Framework dependencies are required.
Supported frameworks
- .NET 8 (ASP.NET Core 8)
- .NET 9 (ASP.NET Core 9)
- .NET 10 (ASP.NET Core 10)
Usage
using Volo.Abp.Studio.General.Configuration;
GeneralStudioEnvironmentVariableLoader.Load();
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddGeneralStudioClient(builder.Configuration);
builder.Logging.AddGeneralStudioClient();
var app = builder.Build();
app.UseGeneralStudioLink();
await app.RunAsync();
When the application is started from ABP Studio Solution Runner, the run profile application name is passed via the ABPSTUDIO_APPLICATION_NAME environment variable so monitoring tabs match automatically.
Serilog
If the project uses Serilog (UseSerilog), do not call builder.Logging.AddGeneralStudioClient(). Register services first, then use the 3-parameter UseSerilog callback and pass its IServiceProvider to the sink:
builder.Services.AddGeneralStudioClient(builder.Configuration);
builder.Host.UseSerilog((context, services, loggerConfiguration) =>
loggerConfiguration
.WriteTo.Console()
.WriteTo.GeneralStudio(services)); // IServiceProvider — not builder.Services
Optional configuration in appsettings.json:
{
"GeneralStudioClient": {
"ApplicationName": "MyCompany.MyApp"
}
}
Resolution order: ABPSTUDIO_APPLICATION_NAME environment variable → GeneralStudioClient:ApplicationName → entry assembly name.
| Product | Versions 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. |
-
net10.0
- Volo.Abp.Studio.General.Client (>= 3.1.3)
-
net8.0
- Volo.Abp.Studio.General.Client (>= 3.1.3)
-
net9.0
- Volo.Abp.Studio.General.Client (>= 3.1.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.