Bedrockit.AspNetCore
2.4.0
dotnet add package Bedrockit.AspNetCore --version 2.4.0
NuGet\Install-Package Bedrockit.AspNetCore -Version 2.4.0
<PackageReference Include="Bedrockit.AspNetCore" Version="2.4.0" />
<PackageVersion Include="Bedrockit.AspNetCore" Version="2.4.0" />
<PackageReference Include="Bedrockit.AspNetCore" />
paket add Bedrockit.AspNetCore --version 2.4.0
#r "nuget: Bedrockit.AspNetCore, 2.4.0"
#:package Bedrockit.AspNetCore@2.4.0
#addin nuget:?package=Bedrockit.AspNetCore&version=2.4.0
#tool nuget:?package=Bedrockit.AspNetCore&version=2.4.0
Bedrockit.AspNetCore
Bedrockit.AspNetCore is an ASP.NET Core integration library for Bedrockit, a .NET client library for interacting with BiuTech Bedrock.
Installation
You can install the Bedrockit.AspNetCore package via NuGet Package Manager Console:
Install-Package Bedrockit.AspNetCore
Or via .NET CLI:
dotnet add package Bedrockit.AspNetCore
Usage
To use Bedrockit in your ASP.NET Core application, you need to configure it. First, you need to add the Bedrock section in your appsettings.json file:
{
"Bedrock": {
"PublicGateway": "https://xxxx.com",
"AuthServer": "https://xxxx.com",
"ClientId": "CLIENTID",
"ClientSecret": "CLIENTSECRET"
}
}
Then, you can configure Bedrockit in your Startup.cs or Program.cs file:
using Bedrockit.AspNetCore;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddBedrockit(builder.Configuration)
// Bedrockit.AspNetCore specific configurations
.UseWorkflows(workflows =>
{
workflows.AddWorkflowActivity<TestActivity>();
});
Workflow Activities
You can define custom workflow activities by implementing the IWorkflowActivity or ICompensableWorkflowActivity interface. Here's an example:
using Bedrockit.Workflows;
public class TestActivity : IWorkflowActivity
{
public Input<string> InputData { get; set; }
public Output<string> Result { get; set; }
public async Task ExecuteAsync(WorkflowActivityContext context, CancellationToken cancellationToken)
{
// access input data
string input = InputData.Get(context);
// log messages
await context.LogInformationAsync("TestActivity executed successfully.");
// set output if needed
await context.SetAsync(Result, "Success");
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 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. |
-
net9.0
- Bedrockit (>= 2.4.0)
- Bedrockit.Extensions.DependencyInjection (>= 2.4.0)
- Nito.Disposables (>= 2.5.0)
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 |
|---|---|---|
| 2.4.0 | 216 | 1/8/2026 |
| 2.4.0-rc.13 | 82 | 1/8/2026 |
| 2.4.0-rc.12 | 84 | 1/5/2026 |
| 2.4.0-rc.11 | 90 | 1/5/2026 |
| 2.4.0-rc.10 | 80 | 1/5/2026 |
| 2.4.0-rc.9 | 88 | 1/5/2026 |
| 2.4.0-rc.8 | 80 | 1/5/2026 |
| 2.4.0-rc.7 | 83 | 1/5/2026 |
| 2.4.0-rc.6 | 79 | 1/4/2026 |
| 2.4.0-rc.5 | 81 | 12/30/2025 |
| 2.4.0-rc.4 | 134 | 12/26/2025 |
| 2.4.0-rc.3 | 156 | 12/25/2025 |
| 2.4.0-rc.2 | 159 | 12/25/2025 |
| 2.4.0-rc.1 | 162 | 12/24/2025 |
| 2.3.2 | 300 | 12/18/2025 |
| 2.3.1 | 299 | 12/18/2025 |
| 2.2.2 | 308 | 12/17/2025 |