LinKit.Engine.Microservice 4.1.0

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

LinKit.Engine.Microservice

LinKit.Engine.Microservice is a dependency bundle: it contains no types of its own. It is LinKit.Engine.Monolith plus LinKit.Grpc - exactly one difference - so a service can install the whole stack, including generated gRPC adapters, with one reference.

dotnet add package LinKit.Engine.Microservice

What it installs

Package Purpose
LinKit.Core CQRS contracts/mediator, generated DI/endpoints/jobs/mapping, messaging contracts.
LinKit.Data ADO.NET repositories, schema synchronization, migrations, LINQ/fluent query APIs.
LinKit.Json Allocation-conscious JSON path navigation and typed value accessors.
LinKit.Caching In-memory and Native AOT hybrid Redis cache provider.
LinKit.Resilience Explicit retry, timeout, and circuit-breaker pipeline.
LinKit.Tenancy Async-flow tenant context and explicit message-header helpers.
LinKit.Outbox Outbox/Inbox contracts, in-memory stores, publisher and retry options.
LinKit.Outbox.Data Durable provider-neutral ADO.NET outbox/inbox stores.
LinKit.Sagas Saga step coordination and repository abstraction.
LinKit.Grpc Source-generated gRPC server and client adapters for LinKit CQRS requests.

The source generators ship inside LinKit.Core, LinKit.Data and LinKit.Grpc under analyzers/dotnet/cs, with buildTransitive targets that keep them running for consumers who reference the generators indirectly. Installing this bundle therefore gives you the same code generation as referencing the individual packages.

LinKit.Grpc brings Grpc.AspNetCore transitively, which pulls Grpc.Tools and Google.Protobuf. That is why this bundle is not the default choice for a process that never speaks gRPC - see below.

When to use it, and when not to

Use it for a service that owns its own data and cache, exposes or consumes gRPC, and needs outbox/saga coordination.

Use the individual packages instead when:

  • The process publishes to Kafka or RabbitMQ. Broker clients are deliberately not part of this bundle. Add LinKit.Messaging.Kafka or LinKit.Messaging.RabbitMQ explicitly, so the choice stays visible in the project file where a reviewer can see which broker a service is coupled to.
  • The process is a worker with no inbound gRPC. LinKit.Engine.Monolith gives the same stack without the gRPC toolchain.
  • The service only needs a client to one remote API. Referencing LinKit.Grpc alone is enough.

Do not mix with individual LinKit packages

Pick one source of versions per project. If the project references LinKit.Engine.Microservice, it should not also reference LinKit.Grpc, LinKit.Data and friends directly: a direct reference wins over the version the bundle supplies, so a lower pin produces an NU1605 package downgrade error somewhere else in the solution, and a higher pin silently runs a release the bundle does not describe.

The package ships a buildTransitive guard for exactly this. When both kinds of reference are present the build emits:

warning LINKITENGINE001: This project references LinKit.Engine.Microservice and also these LinKit packages directly: LinKit.Grpc. A direct reference overrides the version the bundle supplies...

It is a warning rather than an error because deliberately taking one child package ahead of the next release line is legitimate. When that is what you mean, set LinKitEngineGuardEnabled=false (or suppress LINKITENGINE001) and keep the override documented in the project file.

An NU1605 message such as A -> B -> LinKit.Caching (>= 1.5.1) next to A -> LinKit.Caching (>= 1.3.1) is the same conflict seen from the other side: one project is on a newer release line than the other. Aligning both on the same bundle, or on the same version, is the fix; suppressing NU1605 is not.

Do not reference code from this package

This package has no public API, and it never will. Add the bundle to get the dependency graph, then write code against the types in LinKit.Core, LinKit.Grpc and the rest. The empty assembly exists only because a package with no build output would drop its XML documentation from lib/<tfm>/, which is what the packaging checks verify.

Versions

The bundle's version is always equal to the version of LinKit.Core in the same release, so LinKit.Engine.Microservice 4.1.0 names exactly one release line. Dependencies are pinned at pack time to each package's own version; the bundle is never edited by hand when a child package is bumped.

License

MIT. See the repository license.

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

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
4.1.0 73 11/21/2026

v4.1.0: first release. Dependency bundle only - it adds no types of its own and exists so a service can install the whole LinKit stack in one reference. It is LinKit.Engine.Monolith plus LinKit.Grpc, and it ships the LINKITENGINE001 build guard, which warns when the bundle is mixed with individual LinKit packages because a direct reference overrides the version the bundle supplies. LinKit.Messaging.Kafka and LinKit.Messaging.RabbitMQ are deliberately excluded: add the one your service actually publishes to. Full documentation & release notes: https://quoclinh.id.vn/docs/linkit