Lyo.Api.Export
2.0.0
dotnet add package Lyo.Api.Export --version 2.0.0
NuGet\Install-Package Lyo.Api.Export -Version 2.0.0
<PackageReference Include="Lyo.Api.Export" Version="2.0.0" />
<PackageVersion Include="Lyo.Api.Export" Version="2.0.0" />
<PackageReference Include="Lyo.Api.Export" />
paket add Lyo.Api.Export --version 2.0.0
#r "nuget: Lyo.Api.Export, 2.0.0"
#:package Lyo.Api.Export@2.0.0
#addin nuget:?package=Lyo.Api.Export&version=2.0.0
#tool nuget:?package=Lyo.Api.Export&version=2.0.0
Lyo.Api.Export
Optional export add-on for Lyo.Api. Registers the Export CRUD endpoint together with IExportService<TContext>.
Examples
Registration
builder.Services.AddLyoCrudServices<MyDbContext>();
builder.Services.AddLyoApiExport<MyDbContext>();
builder.Services.AddCsvExport(); // Lyo.Api.Export.Csv
builder.Services.AddXlsxExport(); // Lyo.Api.Export.Xlsx
Turn on via the builder
.WithCrud(ApiFeatureSet.DefaultCrud + ExportApiFeature.Instance, config)
// or
.WithCrud(crud => crud.WithFlags(ApiFeatureSet.DefaultCrud + ExportApiFeature.Instance))
Registration
Pass ExportApiFeature.Instance on endpoint builders to enable export. JSON export is already built into Lyo.Api through AddBuiltInExportFormatHandlers() (invoked from AddLyoCrudServices). CSV and XLSX each need their format addon package.
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Api(direct, lyo)Lyo.Api.Models(transitive, lyo)Lyo.Cache(transitive, lyo)Lyo.Common.Core(transitive, lyo)Lyo.Common.Json(transitive, lyo)Lyo.Common.Metadata(transitive, lyo)Lyo.Compression(transitive, lyo)Lyo.Configuration(transitive, lyo)Lyo.DateAndTime(transitive, lyo)Lyo.Diagnostic(transitive, lyo)Lyo.Diagnostic.AspNetCore(transitive, lyo)Lyo.Diff(transitive, lyo)Lyo.Encryption(transitive, lyo)Lyo.Exceptions(transitive, lyo)Lyo.Formatter(transitive, lyo)Lyo.Hashing(transitive, lyo)Lyo.Health(transitive, lyo)Lyo.KeyStore(transitive, lyo)Lyo.Metrics(transitive, lyo)Lyo.PackageMetadata(transitive, lyo)Lyo.Parameters(transitive, lyo)Lyo.Query(transitive, lyo)Lyo.Query.Evaluation(transitive, lyo)Lyo.Query.Models(transitive, lyo)Lyo.Result(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.EntityFrameworkCore.Analyzers10.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.Logging.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Options.ConfigurationExtensions10.0.5(transitive, microsoft)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.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. |
-
net10.0
- Lyo.Api (>= 2.0.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Lyo.Api.Export:
| Package | Downloads |
|---|---|
|
Lyo.Job.Postgres
PostgreSQL persistence for Lyo job management with EF Core, optional auto-migrations, and RabbitMQ event publishing. |
|
|
Lyo.Config.Postgres
PostgreSQL implementation of Lyo.Config using Entity Framework Core and jsonb-backed typed values. |
|
|
Lyo.Config.Api
Central HTTP API exposing Lyo.Config PostgreSQL-backed IConfigStore for microservices (polling-friendly ETags). Embed via AddConfigApi / MapConfigApiEndpoints. |
|
|
Lyo.Api.Reporting
HTTP API surface for Lyo Reporting: authenticated definition CRUD, read-only generations, and Generate. |
|
|
Lyo.Reporting.Api
HTTP API surface for Lyo Reporting: authenticated definition CRUD, read-only generations, and Generate. |
GitHub repositories
This package is not used by any popular GitHub repositories.