OpenServiceBroker.Template 0.3.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet new install OpenServiceBroker.Template::0.3.0.1                
This package contains a .NET Template Package you can call from the shell/command line.

This template helps you implement a Service Broker according to the Open Service Broker API.
It uses the OpenServiceBroker.Server library.

Using the template

Make sure you have the .NET Core SDK installed your machine. Then install the template by running the following:

dotnet new --install OpenServiceBroker.Template::*

To use the template to create a new project:

dotnet new osb --name MyServiceBroker
cd MyServiceBroker

Next steps

The startup logic in the template registers the following services for dependency injection:

  • CatalogService as an implementation of ICatalogService.
  • ServiceInstanceService as an implementation of IServiceInstanceBlocking.

The catalog of available services is read from the file catalog.json.

Provisioned services are stored in a database using Entity Framework and SQLite. The data structures are described by DbContext and ServiceInstanceEntity.

You may wish to:

  • Add your own services to catalog.json or modify CatalogService fetch service-information from elsewhere.
  • Implement the actual provisioning of services in ServiceInstanceServic, potentially removing the database storage.
  • Add implementations for IServiceInstanceDeferred, IServiceBindingBlocking and/or IServiceBindingDeferred

See the API documentation for more details.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.0 672 3/6/2024
0.4.6 886 3/12/2023
0.4.5 629 1/13/2022
0.4.4 1,251 11/29/2021
0.4.3 505 9/5/2021
0.4.2 2,330 4/7/2021
0.4.0 648 9/20/2020
0.3.1 515 8/26/2020
0.3.0.1 555 7/30/2020