Hyperbee.Extensions.Lamar
2.0.1-develop.250218162736
This is a prerelease version of Hyperbee.Extensions.Lamar.
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 Hyperbee.Extensions.Lamar --version 2.0.1-develop.250218162736
NuGet\Install-Package Hyperbee.Extensions.Lamar -Version 2.0.1-develop.250218162736
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="Hyperbee.Extensions.Lamar" Version="2.0.1-develop.250218162736" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hyperbee.Extensions.Lamar --version 2.0.1-develop.250218162736
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hyperbee.Extensions.Lamar, 2.0.1-develop.250218162736"
#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 Hyperbee.Extensions.Lamar as a Cake Addin #addin nuget:?package=Hyperbee.Extensions.Lamar&version=2.0.1-develop.250218162736&prerelease // Install Hyperbee.Extensions.Lamar as a Cake Tool #tool nuget:?package=Hyperbee.Extensions.Lamar&version=2.0.1-develop.250218162736&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Hyperbee Extensions Lamar
The Hyperbee Extensions Lamar contains Lamar service registration helpers for dependency injection. Lamar maximizes compliance with the underlying IoC behavior assumed by ASP.Net Core.
Example
Program File
var host = Host.CreateDefaultBuilder( args )
.UseLamar()
.ConfigureWebHostDefaults( builder =>
{
builder
.UseStartup<Startup>();
} )
.Build();
// run
await host.RunAsync();
Startup File
public void ConfigureContainer( ServiceRegistry services )
{
// auto-registrations by convention
services.Scan( _ =>
{
_.TheCallingAssembly();
_.WithDefaultConventions();
_.ConnectImplementationsToTypesClosing( typeof( IValidator<> ), ServiceLifetime.Transient );
} );
services.AddHttpContextAccessor();
// additional registrations here
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Lamar (>= 14.0.1)
- Lamar.Microsoft.DependencyInjection (>= 14.0.1)
- System.Text.Json (>= 9.0.2)
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 |
---|---|---|
2.0.1 | 86 | 2/14/2025 |
2.0.1-develop.250218162736 | 52 | 2/18/2025 |
2.0.1-develop.250218160337 | 59 | 2/18/2025 |
2.0.1-develop.250218155559 | 53 | 2/18/2025 |
2.0.1-develop.250218154754 | 64 | 2/18/2025 |
2.0.1-develop.250214203202 | 46 | 2/14/2025 |
2.0.0 | 101 | 1/2/2025 |
2.0.0-develop.241119123450 | 48 | 11/19/2024 |