KamiSama.Extensions.DependencyInjection
10.0.10.2
dotnet add package KamiSama.Extensions.DependencyInjection --version 10.0.10.2
NuGet\Install-Package KamiSama.Extensions.DependencyInjection -Version 10.0.10.2
<PackageReference Include="KamiSama.Extensions.DependencyInjection" Version="10.0.10.2" />
<PackageVersion Include="KamiSama.Extensions.DependencyInjection" Version="10.0.10.2" />
<PackageReference Include="KamiSama.Extensions.DependencyInjection" />
paket add KamiSama.Extensions.DependencyInjection --version 10.0.10.2
#r "nuget: KamiSama.Extensions.DependencyInjection, 10.0.10.2"
#:package KamiSama.Extensions.DependencyInjection@10.0.10.2
#addin nuget:?package=KamiSama.Extensions.DependencyInjection&version=10.0.10.2
#tool nuget:?package=KamiSama.Extensions.DependencyInjection&version=10.0.10.2
KamiSama.Extensions
KamiSama.Extensions is a reusable .NET and ASP.NET Core package family for building modular applications. It includes core extension methods, dependency-injection helpers, JSON/XML serialization utilities, repository implementations, HTTP exception handling, ProblemDetails integration, web modules, external service integrations, and ready-made bounded-context modules such as Identity, Localization, Locations, and Ticketing.
Use these packages when you want shared infrastructure, feature-layer building blocks, and module wiring patterns across multiple services without copying the same plumbing into every project.
Current documented version: 10.0.10
Documentation
Build the documentation locally from the docs folder:
python -m mkdocs build --strict
Package Areas
| Area | What it provides |
|---|---|
| Core extensions | Byte, string, date, hash, stream, collection, conversion, and paging helpers. |
| Dependency injection | Attribute-based service registration and assembly scanning. |
| Serialization | JSON and XML helpers for strings, streams, bytes, files, and repositories. |
| Repositories | In-memory, JSON, XML, EF, and EF Core repository patterns and paging support. |
| Chassis | Base classes and contracts for CRUD-style feature services and HTTP-aware errors. |
| Web modules | Modular ASP.NET Core service and middleware registration. |
| External services | Email and SMS abstractions plus SMTP, Kavenegar, and NeoZarin integrations. |
| Application modules | Identity, Localization, Locations, and Ticketing bounded contexts. |
Packages
| Package | What it provides | Install |
|---|---|---|
| KamiSama.Extensions.Core | Core extension methods and paging models for common .NET tasks. | dotnet add package KamiSama.Extensions.Core --version 10.0.10 |
| KamiSama.Extensions.DependencyInjection | Attribute-based dependency injection helpers for automatic service registration. | dotnet add package KamiSama.Extensions.DependencyInjection --version 10.0.10 |
| KamiSama.Extensions.Json | JSON serialization and deserialization helpers. | dotnet add package KamiSama.Extensions.Json --version 10.0.10 |
| KamiSama.Extensions.Xml | XML serialization and deserialization helpers. | dotnet add package KamiSama.Extensions.Xml --version 10.0.10 |
| KamiSama.Extensions.WebModules | Modular ASP.NET Core service and middleware registration. | dotnet add package KamiSama.Extensions.WebModules --version 10.0.10 |
| KamiSama.Chassis.Commons | Reusable feature and repository base classes for CRUD-style application flows. | dotnet add package KamiSama.Chassis.Commons --version 10.0.10 |
| KamiSama.Chassis.Commons.Abstractions | Feature and repository contracts for chassis-based application services. | dotnet add package KamiSama.Chassis.Commons.Abstractions --version 10.0.10 |
| KamiSama.Chassis.HttpExceptions | HTTP-aware exception types with status codes and localization metadata. | dotnet add package KamiSama.Chassis.HttpExceptions --version 10.0.10 |
| KamiSama.Chassis.ProblemDetails | ASP.NET Core ProblemDetails integration for KamiSama exceptions. | dotnet add package KamiSama.Chassis.ProblemDetails --version 10.0.10 |
| KamiSama.Repositories.Core | Core repository interfaces, in-memory repository, and initialization contracts. | dotnet add package KamiSama.Repositories.Core --version 10.0.10 |
| KamiSama.Repositories.EntityFramework | Repository implementation and paging helpers for classic Entity Framework. | dotnet add package KamiSama.Repositories.EntityFramework --version 10.0.10 |
| KamiSama.Repositories.EntityFrameworkCore | EF Core repositories, paging, initialization, and multi-provider DbContext setup. | dotnet add package KamiSama.Repositories.EntityFrameworkCore --version 10.0.10 |
| KamiSama.Repositories.Json | JSON-backed file repository implementation. | dotnet add package KamiSama.Repositories.Json --version 10.0.10 |
| KamiSama.Repositories.Xml | XML-backed file and directory repository implementations. | dotnet add package KamiSama.Repositories.Xml --version 10.0.10 |
| KamiSama.ExternalServices.Email.Core | Core email service registration and behavior. | dotnet add package KamiSama.ExternalServices.Email.Core --version 10.0.10 |
| KamiSama.ExternalServices.Email.Smtp | SMTP email service implementation. | dotnet add package KamiSama.ExternalServices.Email.Smtp --version 10.0.10 |
| KamiSama.ExternalServices.Sms.Core | Core SMS service registration and behavior. | dotnet add package KamiSama.ExternalServices.Sms.Core --version 10.0.10 |
| KamiSama.ExternalServices.Sms.Kavenegar | Kavenegar SMS provider implementation. | dotnet add package KamiSama.ExternalServices.Sms.Kavenegar --version 10.0.10 |
| KamiSama.ExternalServices.Sms.NeoZarin | NeoZarin SMS provider implementation. | dotnet add package KamiSama.ExternalServices.Sms.NeoZarin --version 10.0.10 |
| KamiSama.Modules.Identity.Core | ASP.NET Core Identity module implementation. | dotnet add package KamiSama.Modules.Identity.Core --version 10.0.10 |
| KamiSama.Modules.Localization.Core | Localization module implementation. | dotnet add package KamiSama.Modules.Localization.Core --version 10.0.10 |
| KamiSama.Modules.Locations.Core | Locations module implementation for provinces and cities. | dotnet add package KamiSama.Modules.Locations.Core --version 10.0.10 |
| KamiSama.Modules.Ticketing.Core | Ticketing module implementation for tickets, comments, categories, and attachments. | dotnet add package KamiSama.Modules.Ticketing.Core --version 10.0.10 |
| KamiSama.Extensions.NLog | NLog integration helpers. | dotnet add package KamiSama.Extensions.NLog --version 10.0.10 |
| KamiSama.Extensions.RestSharp | RestSharp registration and request helpers. | dotnet add package KamiSama.Extensions.RestSharp --version 10.0.10 |
| KamiSama.IranSystem | Iran System encoding conversion helpers for legacy Persian systems. | dotnet add package KamiSama.IranSystem --version 10.0.10 |
| KamiSama.Testing.NSubstitute | DI-first testing helpers that auto-create NSubstitute mocks. | dotnet add package KamiSama.Testing.NSubstitute --version 10.0.10 |
Provider-specific packages for PostgreSQL and SQLite, plus abstraction-only packages for modules and external services, are listed in the full package index.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
NuGet packages (27)
Showing the top 5 NuGet packages that depend on KamiSama.Extensions.DependencyInjection:
| Package | Downloads |
|---|---|
|
Polareum.Commons.RestSharp
Package Description |
|
|
Polareum.Otp.Core
Package Description |
|
|
Polareum.Externals.Sms.Core
Package Description |
|
|
Polareum.Externals.Email.Core
Package Description |
|
|
Polareum.Contents.Core
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.10.2 | 81 | 8/4/2026 |
| 10.0.10.1 | 93 | 7/31/2026 |
| 10.0.10 | 414 | 7/30/2026 |
| 10.0.9 | 270 | 6/20/2026 |
| 10.0.7 | 1,574 | 5/1/2026 |
| 10.0.6 | 504 | 4/16/2026 |
| 10.0.1 | 539 | 11/26/2025 |
| 10.0.0 | 267 | 11/22/2025 |
| 3.1.6 | 267 | 11/7/2025 |
| 3.1.5 | 254 | 11/6/2025 |
| 3.1.4 | 253 | 10/1/2025 |
| 3.1.3 | 268 | 7/7/2025 |
| 3.1.2 | 240 | 7/7/2025 |
| 3.1.1 | 249 | 7/6/2025 |
| 3.1.0 | 248 | 7/6/2025 |
| 3.0.11 | 283 | 6/3/2025 |
| 3.0.11-preview | 220 | 5/26/2025 |
| 3.0.10 | 318 | 5/16/2025 |
| 3.0.9 | 332 | 5/16/2025 |
| 3.0.8 | 218 | 5/9/2025 |
v2.2.7
- InjectAttribute is added.
v2.0.0
- Refactored from old KamiSama.Extenders.DependencyInjection library