R.FastEndpoints.Generators
0.1.1-alpha.0.2
dotnet add package R.FastEndpoints.Generators --version 0.1.1-alpha.0.2
NuGet\Install-Package R.FastEndpoints.Generators -Version 0.1.1-alpha.0.2
<PackageReference Include="R.FastEndpoints.Generators" Version="0.1.1-alpha.0.2" />
<PackageVersion Include="R.FastEndpoints.Generators" Version="0.1.1-alpha.0.2" />
<PackageReference Include="R.FastEndpoints.Generators" />
paket add R.FastEndpoints.Generators --version 0.1.1-alpha.0.2
#r "nuget: R.FastEndpoints.Generators, 0.1.1-alpha.0.2"
#:package R.FastEndpoints.Generators@0.1.1-alpha.0.2
#addin nuget:?package=R.FastEndpoints.Generators&version=0.1.1-alpha.0.2&prerelease
#tool nuget:?package=R.FastEndpoints.Generators&version=0.1.1-alpha.0.2&prerelease
R.FastEndpoints Extensions
Usage
Add R.FastEndpoints
and R.FastEndpoints.Generators
from NuGet.
What
A (hopefully expanding) set of tools for some additional functionality in FastEndpoints.
Implicit Error Sending Support
When an endpoint calls SendErrorsAsync
, ThrowError
or ThrowIfAnyErrors
(up to 2 levels deep to allow for
extensions or other methods), this configures Swagger to have the requisite information.
When calling UseFastEndpoints, call the ConfigureImplicitErrorSending
method in your Configurator
, passing in the
appropriate generated types from each assembly where you have Endpoints.
app.UseFastEndpoints(c => {
c.Endpoints.Configurator = ep => {
// .. some other config
ep.ConfigureImplicitErrorSending(ImplicitErrorSenders.Endpoints, /* more assemblies */);
};
});
MessagePack Support
Add Rudi.Dev.FastEndpoints.MessagePack
from NuGet.
To add support for input bindings globally, you need to call .AddMessagePackBinding()
before .AddFastEndpoints()
, and add .ConfigureInboundMessagePack()
to a global configurator within FastEndpoints.
For example:
builder.Services
.AddMessagePackBinding()
.AddFastEndpoints();
// ...
app.UseFastEndpoints(c => {
c.Endpoints.Configurator = ep => {
// .. some other config
ep.ConfigureInboundMessagePack();
};
});
For more documentation, see R.FastEndpoints.MessagePack readme.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.13.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 |
---|---|---|
0.1.1-alpha.0.2 | 47 | 5/3/2025 |
0.1.0 | 78 | 5/3/2025 |