Ignis.Extensions.DependencyInjection.WebApi
0.0.1-0-2-0-beta-1.1
This is a prerelease version of Ignis.Extensions.DependencyInjection.WebApi.
This package has a SemVer 2.0.0 package version: 0.0.1-0-2-0-beta-1.1+19.
dotnet add package Ignis.Extensions.DependencyInjection.WebApi --version 0.0.1-0-2-0-beta-1.1
NuGet\Install-Package Ignis.Extensions.DependencyInjection.WebApi -Version 0.0.1-0-2-0-beta-1.1
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="Ignis.Extensions.DependencyInjection.WebApi" Version="0.0.1-0-2-0-beta-1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ignis.Extensions.DependencyInjection.WebApi --version 0.0.1-0-2-0-beta-1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ignis.Extensions.DependencyInjection.WebApi, 0.0.1-0-2-0-beta-1.1"
#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 Ignis.Extensions.DependencyInjection.WebApi as a Cake Addin #addin nuget:?package=Ignis.Extensions.DependencyInjection.WebApi&version=0.0.1-0-2-0-beta-1.1&prerelease // Install Ignis.Extensions.DependencyInjection.WebApi as a Cake Tool #tool nuget:?package=Ignis.Extensions.DependencyInjection.WebApi&version=0.0.1-0-2-0-beta-1.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Microsoft.Extensions.DependencyInjection Adapter for ASP.NET Web API
$ dotnet package add Ignis.Extensions.DependencyInjection.WebApi
class Startup
{
public void Configuration(IAppBuilder builder)
{
var config = new HttpConfiguration();
var services = new ServiceCollection();
services.AddScoped<IMyService, MyServiceImpl>();
// API controllers that use DI must be explicitly registered.
services.AddScoped<MyController>();
config.UseDependencyInjection(services.BuildServiceProvider());
// config.Routes.MapHttpRoute(...);
builder.UseWebApi(config);
}
}
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 is compatible. net472 was computed. net48 was computed. net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.2
- Microsoft.AspNet.WebApi.Core (>= 5.3.0)
- Microsoft.Extensions.DependencyInjection (>= 2.1.1)
-
.NETFramework 4.7.1
- Microsoft.AspNet.WebApi.Core (>= 5.3.0)
- Microsoft.Extensions.DependencyInjection (>= 2.1.1)
-
.NETFramework 4.8.1
- Microsoft.AspNet.WebApi.Core (>= 5.3.0)
- Microsoft.Extensions.DependencyInjection (>= 2.1.1)
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.0.1-0-2-0-beta-1.1 | 49 | 12/17/2024 |