Getting Started - DMBCookbook

Add the package to an ASP.NET Core host, configure its database path, and expose the runtime routes.

1. Reference the package

Use the NuGet package in published hosts or a project reference while developing inside the framework solution.

<PackageReference Include="DMBCookbook" Version="0.13.0" />

2. Configure the database

Point the module at the cookbook SQLite file owned by the host website.

"DMBCookbook": {
  "DatabasePath": "Cookbook/dmbcookbook.db"
}

3. Register services

Load common configuration before building the app.

CookbookConfiguration.LoadCommonConfig(builder);

4. Use runtime routes

Enable static assets and open the cookbook route from the host navigation.

CookbookConfiguration.UseApp(app);
Open Cookbook