CircleDI.MinimalAPI
0.9.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CircleDI.MinimalAPI --version 0.9.0
NuGet\Install-Package CircleDI.MinimalAPI -Version 0.9.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="CircleDI.MinimalAPI" Version="0.9.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CircleDI.MinimalAPI --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CircleDI.MinimalAPI, 0.9.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.
// Install CircleDI.MinimalAPI as a Cake Addin #addin nuget:?package=CircleDI.MinimalAPI&version=0.9.0 // Install CircleDI.MinimalAPI as a Cake Tool #tool nuget:?package=CircleDI.MinimalAPI&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CircleDI.MinimalAPI
The world only full-power circular Service Provider wired up with ASP.NET Core minimal API.
- Resolves Circular Dependencies
- Optimal Performance
- Compile Time Safety
- No Runtime Dependencies
- AOT friendly
- Beautiful Code Generation
- Non-Generic
- Non-Lazy Instantiation
- Object Oriented
- Customizable
- Easy to Use
Extra MinimalAPI features are
- EndpointAttribute to register methods as minimal API endpoint.
This package is not compatible with CircleDI.
Requirements
- Language Version C#12 (default of .NET 8)
- if you are using an older TargetFramework:
- .NET ⇒ just set the language version to at least C#12.
- .NET Standard 2.1 ⇒ together with the LangVersion requirement you also need some polyfills, I recommend using PolySharp.
- .NET Framework, UWP, .NET Standard 2.0 ⇒ LangVersion C#12 or newer, polyfills (PolySharp) and disable DisposeAsync generation.
- if you are using an older TargetFramework:
For documentation or sourcecode see github.com/BlackWhiteYoshi/CircleDI.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.