BookDinePlay.Shared 1.0.1

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

BookDinePlay.Shared

Request/response contracts and the IBookDinePlayClient abstraction for the BookDinePlay public API.

dotnet add package BookDinePlay.Shared
public interface IBookDinePlayClient
{
    Task<AvailabilityResponse?> GetAvailabilityAsync(
        string venueSlug, DateOnly date, int partySize,
        BookableResourceType resourceType, TimeSpan? duration = null,
        CancellationToken cancellationToken = default);
    // ...venues, menus, resources, reservations, payment intents, and more.
}
var response = new AvailabilityResponse(Slots: []);

Most consumers want BookDinePlay.Sdk instead

This package is the contract layer: DTOs (VenueResponse, AvailabilityResponse, CreateReservationRequest, …) and the IBookDinePlayClient interface they hang off, with no HTTP implementation. BookDinePlay.Sdk implements that interface over HttpClient and is what you want if you're calling the BookDinePlay API from .NET.

Reach for this package directly only if you're writing your own transport — for example an in-memory test double, or a client over a transport other than HTTP.

Compatibility

This package promises source compatibility and JSON compatibility across releases. Recompilation is required across a minor bump: dropping a newer BookDinePlay.Shared.dll next to an assembly compiled against an older one, without rebuilding that assembly, is not supported.

The contracts are positional records and grow by appending trailing optional parameters. Your existing new AdminReservationSummary(…) keeps compiling, and a JSON payload produced by an older version keeps deserializing — members that did not exist yet simply bind to their default. What is not preserved is the emitted constructor: a positional record has exactly one primary constructor and one Deconstruct, so appending parameters replaces the previous ones rather than overloading them. An assembly compiled against the earlier package and not rebuilt would hit a MissingMethodException at run time. Rebuild against the version you reference and you will never meet it.

What we will not do to a released contract: rename a member, change its type, insert a parameter before an existing one, or make an existing member required.

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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BookDinePlay.Shared:

Package Downloads
BookDinePlay.Sdk

Typed .NET client for the BookDinePlay public API.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 11 11/17/2026
1.0.0 45 11/17/2026
0.23.0 82 11/17/2026
0.21.2 177 11/16/2026
0.21.1 87 11/16/2026
0.20.1 116 10/31/2026
0.20.0 109 10/29/2026
0.19.0 103 10/29/2026
0.18.1 107 10/12/2026
0.18.0 102 10/9/2026
0.17.0 102 10/6/2026
0.16.0 117 10/1/2026
0.14.0 105 9/29/2026
0.13.1 96 9/29/2026
0.13.0 101 9/29/2026
0.12.1 124 9/23/2026
0.12.0 115 9/23/2026
0.11.0 124 9/23/2026
0.10.0 114 9/16/2026
0.9.0 124 9/16/2026
Loading failed