Skip to content

openactive/OpenActive.Server.NET

Repository files navigation

OpenActive.Server.NET Nuget OpenActive.Server.NET.Test

The Open Booking SDK for .NET provides components that aid the implementation of the OpenActive specifications, including the Open Booking API.

A readme is available within the OpenActive.Server.NET library project.

Further documentation, including a step-by-step tutorial, can be found at https://tutorials.openactive.io/open-booking-sdk/.

OpenActive Reference Implementation OpenActive Test Suite

BookingSystem.AspNetCore provides an example use of the OpenActive.Server.NET library, as a fully standards compliant reference implementation of the OpenActive specifications, including the Open Booking API.

This is designed to have its code copied-and-pasted to provide a quick working starting point for any implementation.

OpenActive.FakeDatabase.NET Nuget OpenActive.FakeDatabase.NET.Tests

OpenActive.FakeDatabase.NET is an in-memory database that is used by BookingSystem.AspNetCore for illustration purposes. It can be added as a dependency to your project during the initial stages of implementation, to get a conformant test implementation as a starting position.

Env vars to use when running OpenActive.FakeDatabase.NET:

  • SQLITE_DB_PATH: (optional) The path to the SQLite database file. If not provided, a temporary file will be created. Be sure to provide this if you want to persist data between runs.
  • PERSIST_PREVIOUS_DATABASE: (optional - default false) If set to false, the database will be recreated from scratch with each run. If set to true, and the database file already has data in it, this data will be preserved.
  • PERIODICALLY_REFRESH_DATA: (optional - default false) If set to true, the database will be periodically refreshed, deleting past data and replacing it with future data.

About

.NET server library, including an OpenActive Reference Implementation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 9

Languages