{"id":15039585,"url":"https://github.com/autofac/autofac","last_synced_at":"2025-05-13T17:09:56.997Z","repository":{"id":13449777,"uuid":"16139210","full_name":"autofac/Autofac","owner":"autofac","description":"An addictive .NET IoC container","archived":false,"fork":false,"pushed_at":"2025-05-05T13:46:43.000Z","size":91326,"stargazers_count":4564,"open_issues_count":13,"forks_count":842,"subscribers_count":216,"default_branch":"develop","last_synced_at":"2025-05-05T14:50:43.745Z","etag":null,"topics":["autofac","c-sharp","dependency-injection","ioc-container","netcore","netstandard"],"latest_commit_sha":null,"homepage":"https://autofac.org","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autofac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["alistairjevans","tillig"]}},"created_at":"2014-01-22T12:53:28.000Z","updated_at":"2025-05-03T17:30:42.000Z","dependencies_parsed_at":"2023-11-15T16:30:17.651Z","dependency_job_id":"63bcd089-3f28-46fb-9872-8dc5b6e7f1e7","html_url":"https://github.com/autofac/Autofac","commit_stats":{"total_commits":2704,"total_committers":73,"mean_commits":37.04109589041096,"dds":0.7248520710059172,"last_synced_commit":"18085089ee619c1a1d915da8665b3535161fa108"},"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autofac%2FAutofac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autofac%2FAutofac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autofac%2FAutofac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autofac%2FAutofac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autofac","download_url":"https://codeload.github.com/autofac/Autofac/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990468,"owners_count":21995774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autofac","c-sharp","dependency-injection","ioc-container","netcore","netstandard"],"created_at":"2024-09-24T20:43:22.735Z","updated_at":"2025-05-13T17:09:51.984Z","avatar_url":"https://github.com/autofac.png","language":"C#","funding_links":["https://github.com/sponsors/alistairjevans","https://github.com/sponsors/tillig"],"categories":[],"sub_categories":[],"readme":"![Autofac character](https://raw.githubusercontent.com/autofac/autofac.github.com/8737b1213a85ad8157ab7958aeb560c7af5eb494/img/autofac_web-banner_character_fixed_width.svg)\n![Autofac logo](https://raw.githubusercontent.com/autofac/autofac.github.com/8737b1213a85ad8157ab7958aeb560c7af5eb494/img/autofac_logo-type_fixed_height.svg)\n\nAutofac is an [IoC container](http://martinfowler.com/articles/injection.html) for Microsoft .NET. It manages the dependencies between classes so that **applications stay easy to change as they grow** in size and complexity. This is achieved by treating regular .NET classes as *[components](https://autofac.readthedocs.io/en/latest/glossary.html)*.\n\n[![Build status](https://ci.appveyor.com/api/projects/status/s0vgb4m8tv9ar7we?svg=true)](https://ci.appveyor.com/project/Autofac/autofac) [![codecov](https://codecov.io/gh/Autofac/Autofac/branch/develop/graph/badge.svg)](https://codecov.io/gh/Autofac/Autofac) [![NuGet](https://img.shields.io/nuget/v/Autofac.svg)](https://nuget.org/packages/Autofac)\n\n[![Autofac on Stack Overflow](https://img.shields.io/badge/stack%20overflow-autofac-orange.svg)](https://stackoverflow.com/questions/tagged/autofac) [![Join the chat at https://gitter.im/autofac/autofac](https://img.shields.io/gitter/room/autofac/autofac.svg)](https://gitter.im/autofac/autofac)\n\n## Get Packages\n\nYou can get Autofac by [grabbing the latest NuGet package](https://www.nuget.org/packages/Autofac/). There are several [application integration and extended functionality packages to choose from](https://www.nuget.org/profiles/Autofac). If you're feeling adventurous, [continuous integration builds are on MyGet](https://www.myget.org/gallery/autofac).\n\n[Release notes are available on GitHub](https://github.com/autofac/Autofac/releases).\n\n## Get Help\n\n**Need help with Autofac?** We have [a documentation site](https://autofac.readthedocs.io/) as well as [API documentation](https://autofac.org/apidoc/). We're ready to answer your questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/autofac) or check out the [discussion forum](https://groups.google.com/forum/#forum/autofac).\n\n## Get Started\n\nOur [Getting Started](https://autofac.readthedocs.io/en/latest/getting-started/index.html) tutorial walks you through integrating Autofac with a simple application and gives you some starting points for learning more.\n\nSuper-duper quick start:\n\n[Register components with a `ContainerBuilder`](https://autofac.readthedocs.io/en/latest/register/registration.html) and then build the component container.\n\n```csharp\nvar builder = new ContainerBuilder();\n\nbuilder.Register(c =\u003e new TaskController(c.Resolve\u003cITaskRepository\u003e()));\nbuilder.RegisterType\u003cTaskController\u003e();\nbuilder.RegisterInstance(new TaskController());\nbuilder.RegisterAssemblyTypes(controllerAssembly);\n\nvar container = builder.Build();\n```\n\n[Resolve services from a lifetime scope](https://autofac.readthedocs.io/en/latest/resolve/index.html) - either the container or a nested scope:\n\n```csharp\nvar taskController = container.Resolve\u003cTaskController\u003e();\n```\n\nThere is a growing number of [application integration libraries](https://autofac.readthedocs.io/en/latest/integration/index.html) that make using Autofac with your application a snap. Support for several popular frameworks is also available through the \"Extras\" packages.\n\n**[Intrigued? Check out our Getting Started walkthrough!](https://autofac.readthedocs.io/en/latest/getting-started/index.html)**\n\n## Project\n\nAutofac is licensed under the MIT license, so you can comfortably use it in commercial applications (we still love [contributions](https://autofac.readthedocs.io/en/latest/contributors.html) though).\n\n**File issues in the repo with the associated feature/code.**\n\n- [Autofac](https://github.com/autofac/Autofac) - Core dependency resolution and common functions (this repo).\n- [Autofac.AspNetCore.Multitenant](https://github.com/autofac/Autofac.AspNetCore.Multitenant) - Multitenant DI support for ASP.NET Core applications.\n- [Autofac.Configuration](https://github.com/autofac/Autofac.Configuration) - JSON/XML file-based configuration support.\n- [Autofac.Diagnostics.DotGraph](https://github.com/autofac/Autofac.Diagnostics.DotGraph) - Diagnostics support to enable DOT graph visualization of resolve requests.\n- [Autofac.Extensions.DependencyInjection](https://github.com/autofac/Autofac.Extensions.DependencyInjection) - .NET Core integration for Autofac.\n- [Autofac.Extras.AggregateService](https://github.com/autofac/Autofac.Extras.AggregateService) - Dynamic aggregate service implementation generation.\n- [Autofac.Extras.AttributeMetadata](https://github.com/autofac/Autofac.Extras.AttributeMetadata) - Metadata scanning/filtering through attributes.\n- [Autofac.Extras.CommonServiceLocator](https://github.com/autofac/Autofac.Extras.CommonServiceLocator) - Common Service Locator implementation backed by Autofac.\n- [Autofac.Extras.DynamicProxy](https://github.com/autofac/Autofac.Extras.DynamicProxy) - Decorators and interceptors.\n- [Autofac.Extras.FakeItEasy](https://github.com/autofac/Autofac.Extras.FakeItEasy) - FakeItEasy mocking framework integration.\n- [Autofac.Extras.Moq](https://github.com/autofac/Autofac.Extras.Moq) - Moq mocking framework integration.\n- [Autofac.Mef](https://github.com/autofac/Autofac.Mef) - MEF catalog integration.\n- [Autofac.Multitenant](https://github.com/autofac/Autofac.Multitenant) - Multitenant dependency resolution support.\n- [Autofac.Multitenant.Wcf](https://github.com/autofac/Autofac.Multitenant.Wcf) - Multitenant WCF service hosting.\n- [Autofac.Mvc](https://github.com/autofac/Autofac.Mvc) - ASP.NET MVC integration.\n- [Autofac.Mvc.Owin](https://github.com/autofac/Autofac.Mvc.Owin) - OWIN support for ASP.NET MVC.\n- [Autofac.Owin](https://github.com/autofac/Autofac.Owin) - Core OWIN support - shared middleware for request lifetime integration.\n- [Autofac.Pooling](https://github.com/autofac/Autofac.Pooling) - Support for pooled instance lifetime scopes.\n- [Autofac.ServiceFabric](https://github.com/autofac/Autofac.ServiceFabric) - Application integration for Service Fabric services.\n- [Autofac.SignalR](https://github.com/autofac/Autofac.SignalR) - Application integration for SignalR.\n- [Autofac.Wcf](https://github.com/autofac/Autofac.Wcf) - WCF service hosting.\n- [Autofac.Web](https://github.com/autofac/Autofac.Web) - ASP.NET web forms integration.\n- [Autofac.WebApi](https://github.com/autofac/Autofac.WebApi) - Application integration for Web API.\n- [Autofac.WebApi.Owin](https://github.com/autofac/Autofac.WebApi.Owin) - OWIN support for Web API.\n\n## Sponsors\n\nAutofac is supported by AWS. Thanks for your contribution!\n\n## Contributing / Pull Requests\n\nRefer to the [Contributor Guide](https://github.com/autofac/.github/blob/master/CONTRIBUTING.md) for setting up and building Autofac source.\n\nYou can also open this repository right now [in VS Code](https://open.vscode.dev/autofac/Autofac).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautofac%2Fautofac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautofac%2Fautofac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautofac%2Fautofac/lists"}