Autofac.Owin
7.1.0
Prefix Reserved
dotnet add package Autofac.Owin --version 7.1.0
NuGet\Install-Package Autofac.Owin -Version 7.1.0
<PackageReference Include="Autofac.Owin" Version="7.1.0" />
paket add Autofac.Owin --version 7.1.0
#r "nuget: Autofac.Owin, 7.1.0"
// Install Autofac.Owin as a Cake Addin #addin nuget:?package=Autofac.Owin&version=7.1.0 // Install Autofac.Owin as a Cake Tool #tool nuget:?package=Autofac.Owin&version=7.1.0
Autofac.Owin
ASP.NET OWIN integration for Autofac.
Please file issues and pull requests for this package in this repository rather than in the Autofac core repo.
Quick Start
To take advantage of Autofac in your OWIN pipeline:
- Reference the
Autofac.Owin
package from NuGet. - Build your Autofac container.
- Register the Autofac middleware with OWIN and pass it the container.
public class Startup
{
public void Configuration(IAppBuilder app)
{
var builder = new ContainerBuilder();
// Register dependencies, then...
var container = builder.Build();
// Register the Autofac middleware FIRST. This also adds
// Autofac-injected middleware registered with the container.
app.UseAutofacMiddleware(container);
// ...then register your other middleware not registered
// with Autofac.
}
}
Check out the Autofac OWIN integration documentation for more information.
Get Help
Need help with Autofac? We have a documentation site as well as API documentation. We're ready to answer your questions on Stack Overflow or check out the discussion forum.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Autofac (>= 6.5.0)
- Microsoft.Owin (>= 3.0.0 && < 5.0.0)
NuGet packages (22)
Showing the top 5 NuGet packages that depend on Autofac.Owin:
Package | Downloads |
---|---|
Autofac.WebApi2.Owin
ASP.NET Web API OWIN integration for Autofac. |
|
Autofac.Mvc5.Owin
OWIN support for the ASP.NET MVC 5 integration for Autofac. |
|
Bit.Server.Owin
Bit.Server.Owin |
|
Dywham.Middleware.Endpoints.WebApi
Description |
|
Bit.Owin
Bit.Owin |
GitHub repositories (11)
Showing the top 5 popular GitHub repositories that depend on Autofac.Owin:
Repository | Stars |
---|---|
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
|
|
ashmind/SharpLab
.NET language playground
|
|
NuGet/NuGetGallery
NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
|
|
ivaylokenov/MyTested.WebApi
Fluent testing framework for ASP.NET Web API 2.
|
|
autofac/Examples
Example projects that consume and demonstrate Autofac IoC functionality and integration
|
Version | Downloads | Last updated |
---|---|---|
7.1.0 | 408,537 | 4/6/2023 |
7.0.0 | 384,977 | 8/1/2022 |
6.0.1 | 1,283,277 | 12/3/2020 |
6.0.0 | 496,233 | 10/4/2020 |
5.0.1 | 1,348,013 | 1/31/2020 |
5.0.0 | 4,790 | 1/30/2020 |
4.2.0 | 5,173,443 | 2/16/2018 |
4.1.0 | 1,026,438 | 7/10/2017 |
4.0.0 | 2,530,673 | 6/29/2016 |
4.0.0-beta7-223 | 11,233 | 9/23/2015 |
4.0.0-beta7-222 | 1,547 | 9/21/2015 |
3.1.0 | 1,211,610 | 8/21/2014 |
3.0.1 | 11,179 | 6/20/2014 |
3.0.0 | 4,269 | 6/20/2014 |
3.0.0-alpha4 | 1,588 | 5/9/2014 |
3.0.0-alpha3 | 2,871 | 3/27/2014 |
3.0.0-alpha2 | 1,580 | 3/26/2014 |
3.0.0-alpha | 1,700 | 2/17/2014 |
Release notes are at https://github.com/autofac/Autofac.Owin/releases