Muslim.GenericService.Interface
10.0.1
dotnet add package Muslim.GenericService.Interface --version 10.0.1
NuGet\Install-Package Muslim.GenericService.Interface -Version 10.0.1
<PackageReference Include="Muslim.GenericService.Interface" Version="10.0.1" />
<PackageVersion Include="Muslim.GenericService.Interface" Version="10.0.1" />
<PackageReference Include="Muslim.GenericService.Interface" />
paket add Muslim.GenericService.Interface --version 10.0.1
#r "nuget: Muslim.GenericService.Interface, 10.0.1"
#:package Muslim.GenericService.Interface@10.0.1
#addin nuget:?package=Muslim.GenericService.Interface&version=10.0.1
#tool nuget:?package=Muslim.GenericService.Interface&version=10.0.1
Muslim.GenericService.Interface
The contract of Muslim.GenericService:
IService<TEntity> and the twelve interfaces it combines. Every method returns a
Muslim.Result Result<T> (or a plain count) instead
of throwing.
dotnet add package Muslim.GenericService.Interface
Reference this package alone from projects that only call services (controllers, other
libraries, tests with fakes). The project that builds the services references
Muslim.GenericService, which brings this package with it.
Namespaces
| Type | Namespace |
|---|---|
IService<TEntity> |
Muslim.GenericService |
IGetByIdService<T>, IGetAllService<T>, IFindService<T>, IFirstOrDefaultService<T>, ISingleOrDefaultService<T>, ICreateService<T>, IUpdateService<T>, IDeleteService<T>, ISoftDeleteService<T>, IAnyService<T>, ICountService<T>, IExecuteSqlService<T> |
Muslim.GenericService.Interfaces |
These are the same namespaces the types had when they were part of Muslim.GenericService, so
moving to this package changes no using lines.
A service interface per entity
using Muslim.GenericService;
public interface INoteService : IService<Note>
{
Task<int> CountArchivedAsync();
}
The implementation (NoteService : Service<Note>, INoteService) lives in the project that
references Muslim.GenericService; see its README for setup, validation and paging rules.
Related packages
| Package | Use it for |
|---|---|
| Muslim.GenericService | The implementation, Service<TEntity> |
| Muslim.Result | Result<T> |
| Muslim.Filter | Filters for Find |
| Muslim.EntityAndDto | Base entity and DTO classes |
License
See LICENSE.txt.
| 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
- Muslim.EntityAndDto (>= 10.0.1)
- Muslim.Filter (>= 10.0.1)
- Muslim.Inject (>= 10.0.1)
- Muslim.Result (>= 10.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Muslim.GenericService.Interface:
| Package | Downloads |
|---|---|
|
Muslim.GenericService
Generic CRUD service over Muslim.GenericRepository.Interface: Service<TEntity> implements IService<TEntity> (Muslim.GenericService.Interface) and wraps every repository read, write, soft delete, bulk operation and count, validate DTOs with Muslim.Validator, and return Muslim.Result Result<T> instead of throwing. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.1 | 131 | 10/15/2026 |
First release. IService<TEntity> and its twelve part interfaces moved here from Muslim.GenericService 10.0.1 with the same namespaces; Muslim.GenericService forwards them, so existing code and binaries keep working. See CHANGELOG.md.