{"id":18724464,"url":"https://github.com/sefacan/scrutor.aspnetcore","last_synced_at":"2025-04-12T15:31:54.817Z","repository":{"id":41172608,"uuid":"240772446","full_name":"sefacan/Scrutor.AspNetCore","owner":"sefacan","description":"ASP.NET Core Scrutor extension for automatic registration of classes inherited from IScopedLifetime, ISelfScopedLifetime, ITransientLifetime, ISelfTransientLifetime, ISingletonLifetime, ISelfSingletonLifetime","archived":false,"fork":false,"pushed_at":"2022-06-30T10:33:57.000Z","size":29,"stargazers_count":17,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T11:42:03.518Z","etag":null,"topics":["aspnet","aspnet-core","aspnetcore","assembly-scanning","best-practices","c-sharp","csharp","dependency-injection","dotnet","dotnet-core","framework","scrutor"],"latest_commit_sha":null,"homepage":"","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/sefacan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-15T19:05:07.000Z","updated_at":"2023-09-10T15:41:59.000Z","dependencies_parsed_at":"2022-08-25T15:10:55.227Z","dependency_job_id":null,"html_url":"https://github.com/sefacan/Scrutor.AspNetCore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefacan%2FScrutor.AspNetCore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefacan%2FScrutor.AspNetCore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefacan%2FScrutor.AspNetCore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sefacan%2FScrutor.AspNetCore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sefacan","download_url":"https://codeload.github.com/sefacan/Scrutor.AspNetCore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248589708,"owners_count":21129668,"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":["aspnet","aspnet-core","aspnetcore","assembly-scanning","best-practices","c-sharp","csharp","dependency-injection","dotnet","dotnet-core","framework","scrutor"],"created_at":"2024-11-07T14:06:43.405Z","updated_at":"2025-04-12T15:31:54.028Z","avatar_url":"https://github.com/sefacan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Scrutor.AspNetCore\n\n ASP.NET Core [Scrutor](https://github.com/khellang/Scrutor) extension for automatic registration of classes inherited from IScopedLifetime, ISelfScopedLifetime, ITransientLifetime, ISelfTransientLifetime, ISingletonLifetime, ISelfSingletonLifetime\n\n### Build Status\n| Build server    | Platform       | Status      |\n|-----------------|----------------|-------------|\n| Azure CI Pipelines  | All            |![](https://dev.azure.com/fsefacan/Scrutor.AspNetCore/_apis/build/status/sefacan.Scrutor.AspNetCore?branchName=master) |\n| Github Actions  | All            |![](https://github.com/sefacan/Scrutor.AspNetCore/workflows/.NET%20Core%20CI/badge.svg) |\n| Travis CI       | Linux  |![](https://travis-ci.com/sefacan/Scrutor.AspNetCore.svg?branch=master) |\n\n## Installation\n\nInstall the [Scrutor.AspNetCore NuGet Package](https://www.nuget.org/packages/Scrutor.AspNetCore).\n\n### Package Manager Console\n\n```\nInstall-Package Scrutor.AspNetCore\n```\n\n### .NET Core CLI\n\n```\ndotnet add package Scrutor.AspNetCore\n```\n\n## Usage\n\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n    //add to the end of the method\n    services.AddAdvancedDependencyInjection();\n}\n\npublic void Configure(IApplicationBuilder app, IWebHostEnvironment env)\n{\n    //add to the end of the method\n    app.UseAdvancedDependencyInjection();\n}\n\n//usage without constructor classes\nvar service = ServiceLocator.Context.GetService\u003cMyClass\u003e();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsefacan%2Fscrutor.aspnetcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsefacan%2Fscrutor.aspnetcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsefacan%2Fscrutor.aspnetcore/lists"}