AutoLayouts.Redis
0.5.0-preview
This is a prerelease version of AutoLayouts.Redis.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package AutoLayouts.Redis --version 0.5.0-preview
NuGet\Install-Package AutoLayouts.Redis -Version 0.5.0-preview
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="AutoLayouts.Redis" Version="0.5.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoLayouts.Redis --version 0.5.0-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoLayouts.Redis, 0.5.0-preview"
#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.
// Install AutoLayouts.Redis as a Cake Addin
#addin nuget:?package=AutoLayouts.Redis&version=0.5.0-preview&prerelease
// Install AutoLayouts.Redis as a Cake Tool
#tool nuget:?package=AutoLayouts.Redis&version=0.5.0-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Overview
AutoLayouts is ASP.NET Core based framework for rapid WebAPI development
Main features:
- Automatic creating endpoints for database entities
- Access verification. Allow to control access to specific endpoints
- Validation support. Allow to validate post body requests.
Supported databases:
Supported platforms:
- .NET 6
- .NET 7
- .NET 8
Example
var builder = WebApplication.CreateBuilder(args);
// register redis layouts
builder.Services.AddRedisLayouts("localhost:6379");
var app = builder.Build();
// map get endpoint
app.MapGetLayout<RedisTestModel>("{id}")
.UseRedis(context => context.GetStringRouteValue("id"));
// map post endpoint with validation
app.MapPostLayout<RedisTestModel>("{id}")
.Validate(StatusCodes.Status400BadRequest, (context, model) => model.Y > 3)
.UseRedis((context, body) => context.GetStringRouteValue("id"));
await app.RunAsync();
More info: https://github.com/Romfos/AutoLayouts
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- AutoLayouts (>= 0.5.0-preview)
- StackExchange.Redis (>= 2.7.4)
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 |
---|