{"id":15785338,"url":"https://github.com/kant2002/storekeeper.samples","last_synced_at":"2025-03-31T17:27:20.720Z","repository":{"id":69641577,"uuid":"504425547","full_name":"kant2002/StoreKeeper.Samples","owner":"kant2002","description":"Samples for StoreKeeper DI augmentation lib","archived":false,"fork":false,"pushed_at":"2022-06-17T06:52:11.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-11T20:48:37.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/kant2002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-06-17T06:52:07.000Z","updated_at":"2022-06-17T06:52:14.000Z","dependencies_parsed_at":"2023-05-22T04:15:46.518Z","dependency_job_id":null,"html_url":"https://github.com/kant2002/StoreKeeper.Samples","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"e3917f9b137f17294a7a05e19574ebe30d8d6e2e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2FStoreKeeper.Samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2FStoreKeeper.Samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2FStoreKeeper.Samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2FStoreKeeper.Samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kant2002","download_url":"https://codeload.github.com/kant2002/StoreKeeper.Samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246507726,"owners_count":20788879,"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":[],"created_at":"2024-10-04T20:22:15.502Z","updated_at":"2025-03-31T17:27:20.698Z","avatar_url":"https://github.com/kant2002.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"StoreKeeper Samples\n===================\n\nThis is samples for the [StoreKeeper](https://github.com/kant2002/storekeeper) which augments your DI container to make it work in Reflection-free mode.\n\nYou add Nuget package.\n\n```sh\ndotnet add package StoreKeeper\n```\n\nThen you add custom Nuget feed for latest NativeAOT compiler with fixes.\n```sh\ndotnet new nugetoconfig\n```\n\nAdd `dotnet7` feed to nuget.config\n```xml\n\u003cadd key=\"dotnet7\" value=\"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json\" /\u003e\n```\n\nAnd that's it unless you are using open generics as service registration.\n```csharp\n// Build your DI container as usual.\nvar serviceCollection = new ServiceCollection();\nserviceCollection.AddScoped\u003cConsoleWrapper\u003e();\nvar provider = serviceCollection.BuildServiceProvider();\n\n// Use your service provider as usual.\nvar wrapper = provider.GetRequiredService\u003cConsoleWrapper\u003e();\nwrapper.WriteLine(\"Bye Bye Reflection!\");\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkant2002%2Fstorekeeper.samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkant2002%2Fstorekeeper.samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkant2002%2Fstorekeeper.samples/lists"}