Lyo.Api.Export
1.0.1
dotnet add package Lyo.Api.Export --version 1.0.1
NuGet\Install-Package Lyo.Api.Export -Version 1.0.1
<PackageReference Include="Lyo.Api.Export" Version="1.0.1" />
<PackageVersion Include="Lyo.Api.Export" Version="1.0.1" />
<PackageReference Include="Lyo.Api.Export" />
paket add Lyo.Api.Export --version 1.0.1
#r "nuget: Lyo.Api.Export, 1.0.1"
#:package Lyo.Api.Export@1.0.1
#addin nuget:?package=Lyo.Api.Export&version=1.0.1
#tool nuget:?package=Lyo.Api.Export&version=1.0.1
Lyo.Api.Export
Optional export feature for Lyo.Api. Registers the Export CRUD endpoint and IExportService<TContext>.
Examples
Setup
builder.Services.AddLyoCrudServices<MyDbContext>();
builder.Services.AddLyoApiExport<MyDbContext>();
builder.Services.AddCsvExport(); // Lyo.Api.Export.Csv
builder.Services.AddXlsxExport(); // Lyo.Api.Export.Xlsx
Setup (2)
.WithCrud(ApiFeatureSet.DefaultCrud + ExportApiFeature.Instance, config)
// or
.WithCrud(crud => crud.WithFlags(ApiFeatureSet.DefaultCrud + ExportApiFeature.Instance))
Setup
Enable export on endpoint builders with ExportApiFeature.Instance: JSON export is built into Lyo.Api via AddBuiltInExportFormatHandlers() (called from AddLyoCrudServices). CSV and XLSX require the respective format addon packages.
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— (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.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.Query— (transitive, lyo)Lyo.Query.Models— (transitive, lyo)Lyo.Result— (transitive, lyo)Lyo.Streams— (transitive, lyo)Lyo.Validation— (transitive, lyo)BouncyCastle.Cryptography2.6.2— (transitive, third-party, netstandard2.0)EasyCompressor2.1.0— (transitive, third-party)Konscious.Security.Cryptography.Argon21.3.1— (transitive, third-party)Microsoft.AspNetCore.Authorization10.0.5— (transitive, microsoft)Microsoft.AspNetCore.Http.Abstractions2.*— (transitive, microsoft)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.Hosting.Abstractions10.0.5— (transitive, microsoft)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 (>= 1.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Lyo.Api.Export:
| Package | Downloads |
|---|---|
|
Lyo.Api.Reporting
HTTP API surface for Lyo Reporting: authenticated definition CRUD, read-only generations, and Generate. |
|
|
Lyo.Job.Postgres
PostgreSQL job management data layer with EF Core, optional auto-migrations, and API endpoints for scheduling, running, and monitoring background jobs with RabbitMQ support. |
GitHub repositories
This package is not used by any popular GitHub repositories.