Tessellate 1.0.45-preview
dotnet add package Tessellate --version 1.0.45-preview
NuGet\Install-Package Tessellate -Version 1.0.45-preview
<PackageReference Include="Tessellate" Version="1.0.45-preview" />
<PackageVersion Include="Tessellate" Version="1.0.45-preview" />
<PackageReference Include="Tessellate" />
paket add Tessellate --version 1.0.45-preview
#r "nuget: Tessellate, 1.0.45-preview"
#:package Tessellate@1.0.45-preview
#addin nuget:?package=Tessellate&version=1.0.45-preview&prerelease
#tool nuget:?package=Tessellate&version=1.0.45-preview&prerelease
Tessellate.Service
The main entry point for the Tessellate microservice framework.
Installation
dotnet add package Tessellate
dotnet add package Tessellate.Messaging.RabbitMq
Quick start
1. Define your service
public class MyService : ITessellate
{
public void RegisterServices(IServiceCollection services)
{
// Register your custom services here
}
}
2. Bootstrap in Program.cs
await TessellateService<MyService>
.Initialise()
.WithModule<RabbitMqModule>() // Optional, but it's not a microservice without an AMQP transport!
.Run();
That's it. Any IConsumer<T> in the assembly is discovered and wired up automatically.
Sending messages
Inject IPublisher wherever you need to send:
public class MyConsumer(IPublisher publisher) : IConsumer<TriggerReport>
{
public async Task Consume(TriggerReport message)
{
await publisher.Publish(new ReportGenerated(message.ReportId));
}
}
Consuming messages
public class ReportGeneratedConsumer : IConsumer<ReportGenerated>
{
public async Task Consume(ReportGenerated message)
{
// handle the message
}
}
No registration required — the framework discovers it automatically.
Background services
public class HealthCheckService : IRecurringBackgroundService
{
public int IntervalMs => 30_000;
public async Task ExecuteAsync()
{
// runs every 30 seconds
}
}
Register it on the builder:
await TessellateService<MyService>
.Initialise()
.WithModule<RabbitMqModule>()
.AddBackgroundService<HealthCheckService>()
.Run();
Startup hooks
public class MyStartupHook(MyDbContext db) : IStartupHook
{
public async Task OnStartup()
{
await db.Database.MigrateAsync();
}
}
Register in your service module:
services.AddScoped<IStartupHook, MyStartupHook>();
Configuration
Configuration is read from the standard .NET configuration stack (appsettings.json, environment variables, etc). Access it via ISettings:
public class MyConsumer(ISettings settings) : IConsumer<MyMessage>
{
public Task Consume(MyMessage message)
{
var value = settings["MySection:MyKey"];
}
}
Links
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.Hosting (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Http (>= 10.0.5)
- Tessellate.Foundations (>= 1.0.45-preview)
- Tessellate.Messaging (>= 1.0.45-preview)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Tessellate:
| Package | Downloads |
|---|---|
|
Tessellate.Integrations.Stripe
Stripe payment integration module for the Tessellate microservice framework. |
|
|
Tessellate.Integrations.Zapier
Zapier integration for the Tessellate microservice framework — send outgoing webhook payloads and receive incoming Zapier triggers via your normal consumer pipeline. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.45-preview | 65 | 10/14/2026 |
| 1.0.44-preview | 64 | 10/14/2026 |
| 1.0.42-preview | 62 | 10/14/2026 |