Schemata.Abstractions 1.0.0-preview.24207.14

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

// Install Schemata.Abstractions as a Cake Tool
#tool nuget:?package=Schemata.Abstractions&version=1.0.0-preview.24207.14&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 net5.0 was computed.  net5.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Schemata.Abstractions:

Package Downloads
Schemata.Module.Complex.Targets

Schemata Application Framework - Comprehensive Module Project Targets

Schemata.Business.Complex.Targets

Schemata Application Framework - Comprehensive Business Project Targets

Schemata.Core

Schemata Application Framework

Schemata.Module.Targets

Schemata Application Framework - Module Project Targets

Schemata.Business.Targets

Schemata Application Framework - Business Project Targets

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-preview.24370.42 67 7/20/2024
1.0.0-preview.24305.58 58 6/5/2024
1.0.0-preview.24259.22 61 5/9/2024
1.0.0-preview.24230.15 54 4/30/2024
1.0.0-preview.24227.10 68 4/27/2024
1.0.0-preview.24226.92 64 4/26/2024
1.0.0-preview.24226.39 58 4/26/2024
1.0.0-preview.24225.65 68 4/25/2024
1.0.0-preview.24225.61 65 4/25/2024
1.0.0-preview.24225.33 48 4/25/2024
1.0.0-preview.24224.26 62 4/24/2024
1.0.0-preview.24223.62 54 4/23/2024
1.0.0-preview.24223.23 54 4/23/2024
1.0.0-preview.24222.70 57 4/22/2024
1.0.0-preview.24222.23 51 4/22/2024
1.0.0-preview.24222.21 55 4/22/2024
1.0.0-preview.24222.20 54 4/22/2024
1.0.0-preview.24221.62 53 4/21/2024
1.0.0-preview.24221.60 47 4/21/2024
1.0.0-preview.24219.37 49 4/19/2024
1.0.0-preview.24219.35 49 4/19/2024
1.0.0-preview.24218.65 45 4/18/2024
1.0.0-preview.24217.50 70 4/17/2024
1.0.0-preview.24217.16 55 4/17/2024
1.0.0-preview.24217.15 56 4/17/2024
1.0.0-preview.24217.9 48 4/17/2024
1.0.0-preview.24216.60 62 4/16/2024
1.0.0-preview.24216.55 50 4/16/2024
1.0.0-preview.24215.70 54 4/15/2024
1.0.0-preview.24213.26 56 4/13/2024
1.0.0-preview.24213.25 49 4/13/2024
1.0.0-preview.24213.21 54 4/13/2024
1.0.0-preview.24213.20 46 4/13/2024
1.0.0-preview.24213.11 121 4/13/2024
1.0.0-preview.24213.8 53 4/13/2024
1.0.0-preview.24213.5 50 4/13/2024
1.0.0-preview.24212.62 46 4/12/2024
1.0.0-preview.24212.52 45 4/12/2024
1.0.0-preview.24212.51 44 4/12/2024
1.0.0-preview.24212.43 47 4/12/2024
1.0.0-preview.24212.37 52 4/12/2024
1.0.0-preview.24212.36 50 4/12/2024
1.0.0-preview.24212.29 49 4/12/2024
1.0.0-preview.24212.24 48 4/12/2024
1.0.0-preview.24212.17 50 4/12/2024
1.0.0-preview.24211.59 51 4/11/2024
1.0.0-preview.24211.57 44 4/11/2024
1.0.0-preview.24211.54 42 4/11/2024
1.0.0-preview.24211.51 42 4/11/2024
1.0.0-preview.24211.50 45 4/11/2024
1.0.0-preview.24211.49 43 4/11/2024
1.0.0-preview.24211.47 44 4/11/2024
1.0.0-preview.24211.24 52 4/11/2024
1.0.0-preview.24211.23 52 4/11/2024
1.0.0-preview.24211.21 50 4/11/2024
1.0.0-preview.24211.18 50 4/11/2024
1.0.0-preview.24210.56 48 4/10/2024
1.0.0-preview.24210.52 47 4/10/2024
1.0.0-preview.24210.51 47 4/10/2024
1.0.0-preview.24210.49 48 4/10/2024
1.0.0-preview.24210.43 53 4/10/2024
1.0.0-preview.24210.42 44 4/10/2024
1.0.0-preview.24210.34 43 4/10/2024
1.0.0-preview.24210.31 47 4/10/2024
1.0.0-preview.24210.30 46 4/10/2024
1.0.0-preview.24209.57 49 4/9/2024
1.0.0-preview.24209.56 71 4/9/2024
1.0.0-preview.24209.35 48 4/9/2024
1.0.0-preview.24209.19 45 4/9/2024
1.0.0-preview.24209.9 55 4/9/2024
1.0.0-preview.24208.59 55 4/8/2024
1.0.0-preview.24207.28 57 4/7/2024
1.0.0-preview.24207.14 58 4/7/2024
1.0.0-preview.24207.11 53 4/7/2024
1.0.0-preview.24207.8 55 4/7/2024
1.0.0-preview.24206.54 48 4/6/2024
1.0.0-preview.24204.4 67 4/4/2024
1.0.0-preview.24204.3 50 4/4/2024
1.0.0-preview.24204.2 46 4/4/2024
1.0.0-preview.24203.51 57 4/3/2024
1.0.0-preview.24202.68 58 4/2/2024
1.0.0-preview.24181.28 58 3/31/2024
1.0.0-preview.24181.19 46 3/31/2024
1.0.0-preview.24181.18 64 3/31/2024
1.0.0-preview.24181.10 50 3/31/2024
1.0.0-preview.24180.84 48 3/30/2024
1.0.0-preview.24180.78 54 3/30/2024
1.0.0-preview.24180.70 55 3/30/2024
1.0.0-preview.24180.68 51 3/30/2024
1.0.0-preview.24180.66 53 3/30/2024
1.0.0-preview.24180.39 56 3/30/2024
1.0.0-preview.24179.42 45 3/29/2024
1.0.0-preview.24179.41 52 3/29/2024
1.0.0-preview.24179.39 52 3/29/2024
1.0.0-preview.24179.36 51 3/29/2024
1.0.0-preview.24179.18 55 3/29/2024
1.0.0-preview.24178.52 53 3/28/2024
1.0.0-preview.24177.13 57 3/27/2024
1.0.0-preview.24176.57 52 3/26/2024
1.0.0-preview.24176.43 42 3/26/2024
1.0.0-preview.24176.38 61 3/26/2024
1.0.0-preview.24175.48 59 3/25/2024
1.0.0-preview.24175.44 56 3/25/2024
1.0.0-preview.24175.38 57 3/25/2024
1.0.0-preview.24175.32 56 3/25/2024
1.0.0-preview.24175.24 59 3/25/2024
1.0.0-preview.24174.7 61 3/24/2024
1.0.0-preview.24173.57 55 3/23/2024
1.0.0-preview.24173.48 49 3/23/2024
1.0.0-preview.24173.37 56 3/23/2024
1.0.0-preview.24173.34 54 3/23/2024
1.0.0-preview.24172.52 54 3/22/2024
1.0.0-preview.24172.51 54 3/22/2024
1.0.0-preview.24172.50 51 3/22/2024
1.0.0-preview.24172.48 59 3/22/2024
1.0.0-preview.24172.33 66 3/22/2024
1.0.0-preview.24169.56 72 3/19/2024
1.0.0-preview.24169.44 55 3/19/2024