KamiSama.Modules.Locations.Abstractions 10.0.14

dotnet add package KamiSama.Modules.Locations.Abstractions --version 10.0.14
                    
NuGet\Install-Package KamiSama.Modules.Locations.Abstractions -Version 10.0.14
                    
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="KamiSama.Modules.Locations.Abstractions" Version="10.0.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.Modules.Locations.Abstractions" Version="10.0.14" />
                    
Directory.Packages.props
<PackageReference Include="KamiSama.Modules.Locations.Abstractions" />
                    
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 KamiSama.Modules.Locations.Abstractions --version 10.0.14
                    
#r "nuget: KamiSama.Modules.Locations.Abstractions, 10.0.14"
                    
#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 KamiSama.Modules.Locations.Abstractions@10.0.14
                    
#: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=KamiSama.Modules.Locations.Abstractions&version=10.0.14
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.Modules.Locations.Abstractions&version=10.0.14
                    
Install as a Cake Tool

KamiSama.Modules.Locations.Abstractions

Back to package index

Version: 10.0.0

Description

Provider-neutral province and city feature contracts, requests, DTOs, and paging search models. Reference this package from callers or alternative implementations that should not depend on EF Core, ASP.NET Core module setup, or a database provider.

How to use

dotnet add package KamiSama.Modules.Locations.Abstractions --version 10.0.0

Publication mismatch: 10.0.0 in the required install command is the current workspace/root documentation version. NuGet exposed 10.0.11 as the latest package when this surface was reviewed; 10.0.0 itself was not available.

Inject the feature contracts into application services or controllers after a concrete implementation, normally Locations Core, has registered them:

using KamiSama.Extensions.Paging;
using KamiSama.Modules.Locations.Features;

public sealed class LocationsController(IListCities cities, IAddProvince addProvince)
{
    public Task<PagedResult<CityDto>> ListCitiesAsync(Guid provinceId, CancellationToken token)
        => cities.ListAsync(new CitySearchModel(1, 20, provinceId, null, null, "province"), token);

    public Task<ProvinceDto> AddProvinceAsync(string name, CancellationToken token)
        => addProvince.AddAsync(new AddProvinceRequest(name), token);
}

This package contains contracts and data shapes only: it registers no services, controllers, endpoints, persistence, validation pipeline, authentication, or authorization. Core's city queries can filter by city-name substring, exact province id, or province-name substring; OrderBy = "province" sorts by province then city, while every other value sorts by city. Province queries always sort by name regardless of OrderBy. The contracts do not promise those implementation details for alternative providers.

Namespaces

Types

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 KamiSama.Modules.Locations.Abstractions:

Package Downloads
KamiSama.Modules.Locations.Core

ASP.NET Core Locations implementation with EF Core province and city persistence, scoped feature services, modular registration, and startup database initialization.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.14 47 11/8/2026
10.0.13.1 118 10/22/2026
10.0.13 121 10/22/2026
10.0.11.9 173 8/24/2026
10.0.11.8 159 8/22/2026
10.0.11.7 154 8/21/2026
10.0.11.6 166 8/19/2026
10.0.11.5 155 8/18/2026
10.0.11.4 154 8/18/2026
10.0.11.3 148 8/18/2026
10.0.11.2 163 8/18/2026
10.0.11.1 158 8/15/2026
10.0.11 158 8/11/2026
10.0.10.2 164 8/4/2026