CircleDI.MinimalAPI 1.0.0

dotnet add package CircleDI.MinimalAPI --version 1.0.0                
NuGet\Install-Package CircleDI.MinimalAPI -Version 1.0.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="1.0.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 1.0.0                
#r "nuget: CircleDI.MinimalAPI, 1.0.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=1.0.0

// Install CircleDI.MinimalAPI as a Cake Tool
#tool nuget:?package=CircleDI.MinimalAPI&version=1.0.0                

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 (this package already includes it).

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.

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.

Version Downloads Last updated
1.0.0 99 11/14/2024
0.9.1 108 9/18/2024
0.9.0 112 9/12/2024
0.8.0 88 5/2/2024
0.7.0 202 4/12/2024
0.6.0 153 4/3/2024