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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Muslim.GenericService.Interface" Version="10.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Muslim.GenericService.Interface" Version="10.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Muslim.GenericService.Interface" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Muslim.GenericService.Interface --version 10.0.1
                    
#r "nuget: Muslim.GenericService.Interface, 10.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Muslim.GenericService.Interface@10.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Muslim.GenericService.Interface&version=10.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Muslim.GenericService.Interface&version=10.0.1
                    
Install as a Cake Tool

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.

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.