Schemata.Authorization.Foundation 1.0.0-preview.24207.11

This is a prerelease version of Schemata.Authorization.Foundation.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Schemata.Authorization.Foundation --version 1.0.0-preview.24207.11
NuGet\Install-Package Schemata.Authorization.Foundation -Version 1.0.0-preview.24207.11
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="Schemata.Authorization.Foundation" Version="1.0.0-preview.24207.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Schemata.Authorization.Foundation --version 1.0.0-preview.24207.11
#r "nuget: Schemata.Authorization.Foundation, 1.0.0-preview.24207.11"
#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 Schemata.Authorization.Foundation as a Cake Addin
#addin nuget:?package=Schemata.Authorization.Foundation&version=1.0.0-preview.24207.11&prerelease

// Install Schemata.Authorization.Foundation as a Cake Tool
#tool nuget:?package=Schemata.Authorization.Foundation&version=1.0.0-preview.24207.11&prerelease

Schemata

Application Framework aims on modular business applications.

GitHub Workflow Status Codecov license

Quick Start

dotnet new web
dotnet add package --prerelease Schemata.Application.Complex.Targets
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;

var builder = WebApplication.CreateBuilder(args)
                            .UseSchemata(schema => {
                                 schema.UseLogging();

                                 schema.UseDeveloperExceptionPage();
                                 schema.UseForwardedHeaders();
                                 schema.UseHttps();
                                 schema.UseCookiePolicy();
                                 schema.UseRouting();
                                 schema.UseCors();
                                 schema.UseAuthentication(authenticate => {
                                     authenticate.AddCookie();
                                 });

                                 schema.ConfigureServices(services => {
                                     services.AddDistributedMemoryCache();
                                 });
                                 schema.UseSession();

                                 schema.UseControllers();

                                 schema.UseModular();

                                 schema.UseAuthorization(options => {
                                            options.AddEphemeralEncryptionKey()
                                                   .AddEphemeralSigningKey();
                                        })
                                       .UseCodeFlow()
                                       .UseRefreshTokenFlow()
                                       .UseIntrospection();

                                 schema.UseWorkflow();
                             });

var app = builder.Build();

app.Run();

Fields

Features

Features are components that can be added to the application startup.

All features must implement the ISimpleFeature interface.

Features have Order and Priority, which are Int32 values. The Order is used to determine the order to ConfigureServices methods are called. The Priority is used to determine the order to Configure<Application|Endpoints> methods are called.

Order and Priority between [0, 1_000_000_000) are reserved for built-in and Schemata extensions.

Built-in Features

A built-in feature can be activated by calling the Use method on the SchemataBuilder instance, they may have additional configuration methods.

Priority Feature Description
100_110_000 Logging Asp.Net Logging Middleware
100_120_000 HttpLogging Asp.Net HTTP Logging Middleware
100_130_000 W3CLogging Asp.Net W3C Logging Middleware
110_000_000 DeveloperExceptionPage Asp.Net Developer Exception Page Middleware
110_100_000 ForwardedHeaders Asp.Net Forwarded Headers Middleware
120_000_000 Https Asp.Net HTTPS & HTTPS Redirection Middlewares
130_000_000 CookiePolicy Asp.Net Cookie Policy Middleware
140_000_000 Routing Asp.Net Routing Middleware
141_100_000 Quota Asp.Net Rate Limiter Middleware
150_000_000 Cors Asp.Net CORS Middleware
160_000_000 Authentication Asp.Net Authentication & Authorization Middlewares
170_000_000 Session Asp.Net Session Middleware
210_000_000 Controllers Asp.Net MVC Middlewares, without Views

Extension Features

An extension feature can be activated like a built-in feature.

Priority Package Feature Description
310_000_000 Schemata.Identity.Foundation Identity Schemata Identity Foundation
320_000_000 Schemata.Authorization.Foundation Authorization Schemata Authorization Foundation
330_000_000 Schemata.Workflow.Foundation Workflow Schemata Workflow Foundation
Product 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 is compatible.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Schemata.Authorization.Foundation:

Package Downloads
Schemata.Application.Complex.Targets

Schemata Application Framework - Comprehensive Application Project Targets

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-preview.24259.22 40 5/9/2024
1.0.0-preview.24230.15 44 4/30/2024
1.0.0-preview.24227.10 51 4/27/2024
1.0.0-preview.24226.92 50 4/26/2024
1.0.0-preview.24226.39 46 4/26/2024
1.0.0-preview.24225.65 46 4/25/2024
1.0.0-preview.24225.61 43 4/25/2024
1.0.0-preview.24225.33 31 4/25/2024
1.0.0-preview.24224.26 47 4/24/2024
1.0.0-preview.24223.62 40 4/23/2024
1.0.0-preview.24223.23 41 4/23/2024
1.0.0-preview.24222.70 44 4/22/2024
1.0.0-preview.24222.23 41 4/22/2024
1.0.0-preview.24222.21 46 4/22/2024
1.0.0-preview.24222.20 45 4/22/2024
1.0.0-preview.24221.62 49 4/21/2024
1.0.0-preview.24221.60 38 4/21/2024
1.0.0-preview.24219.37 44 4/19/2024
1.0.0-preview.24219.35 37 4/19/2024
1.0.0-preview.24218.65 37 4/18/2024
1.0.0-preview.24217.50 65 4/17/2024
1.0.0-preview.24217.16 44 4/17/2024
1.0.0-preview.24217.15 39 4/17/2024
1.0.0-preview.24217.9 39 4/17/2024
1.0.0-preview.24216.60 50 4/16/2024
1.0.0-preview.24216.55 43 4/16/2024
1.0.0-preview.24215.70 38 4/15/2024
1.0.0-preview.24213.26 52 4/13/2024
1.0.0-preview.24213.25 42 4/13/2024
1.0.0-preview.24213.21 47 4/13/2024
1.0.0-preview.24213.20 41 4/13/2024
1.0.0-preview.24213.11 50 4/13/2024
1.0.0-preview.24213.8 40 4/13/2024
1.0.0-preview.24213.5 40 4/13/2024
1.0.0-preview.24212.62 41 4/12/2024
1.0.0-preview.24212.52 40 4/12/2024
1.0.0-preview.24212.51 38 4/12/2024
1.0.0-preview.24212.43 38 4/12/2024
1.0.0-preview.24212.37 45 4/12/2024
1.0.0-preview.24212.36 39 4/12/2024
1.0.0-preview.24212.29 45 4/12/2024
1.0.0-preview.24212.24 43 4/12/2024
1.0.0-preview.24212.17 43 4/12/2024
1.0.0-preview.24211.59 41 4/11/2024
1.0.0-preview.24211.57 35 4/11/2024
1.0.0-preview.24211.54 34 4/11/2024
1.0.0-preview.24211.51 41 4/11/2024
1.0.0-preview.24211.50 39 4/11/2024
1.0.0-preview.24211.49 36 4/11/2024
1.0.0-preview.24211.47 39 4/11/2024
1.0.0-preview.24211.24 49 4/11/2024
1.0.0-preview.24211.23 47 4/11/2024
1.0.0-preview.24211.21 45 4/11/2024
1.0.0-preview.24211.18 46 4/11/2024
1.0.0-preview.24210.56 40 4/10/2024
1.0.0-preview.24210.52 39 4/10/2024
1.0.0-preview.24210.51 38 4/10/2024
1.0.0-preview.24210.49 41 4/10/2024
1.0.0-preview.24210.43 43 4/10/2024
1.0.0-preview.24210.42 36 4/10/2024
1.0.0-preview.24210.34 39 4/10/2024
1.0.0-preview.24210.31 37 4/10/2024
1.0.0-preview.24210.30 38 4/10/2024
1.0.0-preview.24209.57 43 4/9/2024
1.0.0-preview.24209.56 50 4/9/2024
1.0.0-preview.24209.35 46 4/9/2024
1.0.0-preview.24209.19 39 4/9/2024
1.0.0-preview.24209.9 46 4/9/2024
1.0.0-preview.24208.59 42 4/8/2024
1.0.0-preview.24207.28 49 4/7/2024
1.0.0-preview.24207.14 45 4/7/2024
1.0.0-preview.24207.11 44 4/7/2024
1.0.0-preview.24207.8 46 4/7/2024
1.0.0-preview.24206.54 40 4/6/2024
1.0.0-preview.24204.4 57 4/4/2024
1.0.0-preview.24204.3 45 4/4/2024
1.0.0-preview.24204.2 42 4/4/2024
1.0.0-preview.24203.51 45 4/3/2024
1.0.0-preview.24202.68 47 4/2/2024
1.0.0-preview.24181.28 50 3/31/2024
1.0.0-preview.24181.19 47 3/31/2024
1.0.0-preview.24181.18 43 3/31/2024
1.0.0-preview.24181.10 41 3/31/2024
1.0.0-preview.24180.84 42 3/30/2024
1.0.0-preview.24180.78 47 3/30/2024
1.0.0-preview.24180.70 47 3/30/2024
1.0.0-preview.24180.68 42 3/30/2024
1.0.0-preview.24180.66 43 3/30/2024
1.0.0-preview.24180.39 45 3/30/2024
1.0.0-preview.24179.42 52 3/29/2024
1.0.0-preview.24179.41 44 3/29/2024
1.0.0-preview.24179.39 48 3/29/2024
1.0.0-preview.24179.36 48 3/29/2024
1.0.0-preview.24179.18 48 3/29/2024
1.0.0-preview.24178.52 49 3/28/2024
1.0.0-preview.24177.13 52 3/27/2024
1.0.0-preview.24176.57 32 3/26/2024