Lyo.Recipe.Api
3.0.0
dotnet add package Lyo.Recipe.Api --version 3.0.0
NuGet\Install-Package Lyo.Recipe.Api -Version 3.0.0
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="Lyo.Recipe.Api" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lyo.Recipe.Api" Version="3.0.0" />
<PackageReference Include="Lyo.Recipe.Api" />
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 Lyo.Recipe.Api --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lyo.Recipe.Api, 3.0.0"
#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 Lyo.Recipe.Api@3.0.0
#: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=Lyo.Recipe.Api&version=3.0.0
#tool nuget:?package=Lyo.Recipe.Api&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Lyo.Recipe.Api
Maps Recipe Req/Res CRUD via Lyo.Api CreateBuilder (categories, ingredients, recipes, attachments) plus ingredient-line and step GET/PUT, nested notes/tags, and optional
multipart upload when IRecipeAttachmentFiles is registered. Register with AddRecipeApiFromConfiguration, then call BuildRecipeGroup. Example host: Lyo.Recipe.Api.Example.
Features
BuildRecipeGroupmaps Req/Res CRUD for categories, ingredients, recipes, and attachments.- Ingredient lines and steps under
Recipe/Recipes/{id}/IngredientLinesand…/Steps(GET list, PUT replace, ids preserved).GET/PUT/DELETE Recipe/UnitsandGET Recipe/Ingredients/{id}/Usage. - Nested
NotesandTagson categories, ingredients, and recipes; delete cascades those rows. POST Recipe/Attachments/uploadaccepts any file role (Document,Scan,Card,Image,Other) and returns 501 when the FileStorage helper is missing.AddRecipeApiFromConfigurationregisters the Postgres store, Note/Tag stores on the same connection, and CRUD services.
Examples
Map the Recipe API
services.AddLocalCache();
services.AddLyoQueryServices();
services.AddRecipeApiFromConfiguration(configuration);
var app = builder.Build();
app.BuildRecipeGroup();
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Api(direct, lyo)Lyo.Common.Core(direct, lyo)Lyo.Exceptions(direct, lyo)Lyo.Note(direct, lyo)Lyo.Note.Postgres(direct, lyo)Lyo.Recipe(direct, lyo)Lyo.Recipe.FileStorage(direct, lyo)Lyo.Recipe.Models(direct, lyo)Lyo.Recipe.Postgres(direct, lyo)Lyo.Tag(direct, lyo)Lyo.Tag.Postgres(direct, lyo)Lyo.Api.Models(transitive, lyo)Lyo.Cache(transitive, lyo)Lyo.Common.Metadata(transitive, lyo)Lyo.Compression(transitive, lyo)Lyo.DateAndTime(transitive, lyo)Lyo.Diagnostic(transitive, lyo)Lyo.Diagnostic.AspNetCore(transitive, lyo)Lyo.Diff(transitive, lyo)Lyo.Encryption(transitive, lyo)Lyo.EntityReference.Models(transitive, lyo)Lyo.EntityReference.Postgres(transitive, lyo)Lyo.FileMetadataStore(transitive, lyo)Lyo.FileStorage(transitive, lyo)Lyo.Formatter(transitive, lyo)Lyo.Hashing(transitive, lyo)Lyo.Health(transitive, lyo)Lyo.IO.FileSystem(transitive, lyo)Lyo.IO.Temp(transitive, lyo)Lyo.Json(transitive, lyo)Lyo.KeyStore(transitive, lyo)Lyo.Metrics(transitive, lyo)Lyo.PackageMetadata(transitive, lyo)Lyo.Parameters(transitive, lyo)Lyo.Postgres(transitive, lyo)Lyo.Query(transitive, lyo)Lyo.Query.Evaluation(transitive, lyo)Lyo.Query.Models(transitive, lyo)Lyo.Query.Sql(transitive, lyo)Lyo.Result(transitive, lyo)Lyo.Search.Postgres(transitive, lyo)Lyo.Streams(transitive, lyo)Lyo.Validation(transitive, lyo)Lyo.Validation.Models(transitive, lyo)BouncyCastle.Cryptography2.6.2(transitive, third-party, netstandard2.0)DynamicExpresso.Core2.19.3(transitive, third-party)EasyCompressor2.1.0(transitive, third-party)Konscious.Security.Cryptography.Argon21.3.1(transitive, third-party)Microsoft.AspNetCore.OpenApi10.0.5(transitive, microsoft)Microsoft.Bcl.AsyncInterfaces10.0.5(transitive, microsoft, netstandard2.0)Microsoft.EntityFrameworkCore10.0.5(transitive, microsoft)Microsoft.EntityFrameworkCore.Analyzers10.0.5(transitive, microsoft)Microsoft.EntityFrameworkCore.Design10.0.5(transitive, microsoft)Microsoft.EntityFrameworkCore.Relational10.0.5(transitive, microsoft)Microsoft.Extensions.Caching.Memory10.0.5(transitive, microsoft)Microsoft.Extensions.Configuration.Binder10.0.5(transitive, microsoft)Microsoft.Extensions.DependencyInjection10.0.5(transitive, microsoft)Microsoft.Extensions.DependencyInjection.Abstractions10.0.5(transitive, microsoft, net10.0, netstandard2.0)Microsoft.Extensions.Hosting.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Logging.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Options10.0.5(transitive, microsoft)Microsoft.Extensions.Options.ConfigurationExtensions10.0.5(transitive, microsoft)Microsoft.Extensions.Options.DataAnnotations10.0.5(transitive, microsoft)Npgsql.EntityFrameworkCore.PostgreSQL10.0.3(transitive, third-party)SmartFormat.NET3.6.1(transitive, third-party)System.Buffers4.6.1(transitive, microsoft, netstandard2.0)System.ComponentModel.Annotations5.0.0(transitive, microsoft)System.IO.Hashing10.0.5(transitive, microsoft, net10.0)System.Memory4.6.3(transitive, microsoft, netstandard2.0)System.Text.Encoding.CodePages10.0.5(transitive, microsoft)System.Text.Json10.0.5(transitive, microsoft, netstandard2.0)System.Threading.Tasks.Extensions4.6.3(transitive, microsoft, netstandard2.0)
| Product | Versions 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
- Lyo.Api (>= 3.0.0)
- Lyo.Common.Core (>= 3.0.0)
- Lyo.Exceptions (>= 3.0.0)
- Lyo.Note (>= 3.0.0)
- Lyo.Note.Postgres (>= 3.0.0)
- Lyo.Recipe (>= 3.0.0)
- Lyo.Recipe.FileStorage (>= 3.0.0)
- Lyo.Recipe.Models (>= 3.0.0)
- Lyo.Recipe.Postgres (>= 3.0.0)
- Lyo.Tag (>= 3.0.0)
- Lyo.Tag.Postgres (>= 3.0.0)
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 |
|---|---|---|
| 3.0.0 | 77 | 10/23/2026 |