Schemata.Application.Modular.Targets
1.0.0-preview.24176.38
See the version list below for details.
dotnet add package Schemata.Application.Modular.Targets --version 1.0.0-preview.24176.38
NuGet\Install-Package Schemata.Application.Modular.Targets -Version 1.0.0-preview.24176.38
<PackageReference Include="Schemata.Application.Modular.Targets" Version="1.0.0-preview.24176.38" />
paket add Schemata.Application.Modular.Targets --version 1.0.0-preview.24176.38
#r "nuget: Schemata.Application.Modular.Targets, 1.0.0-preview.24176.38"
// Install Schemata.Application.Modular.Targets as a Cake Addin #addin nuget:?package=Schemata.Application.Modular.Targets&version=1.0.0-preview.24176.38&prerelease // Install Schemata.Application.Modular.Targets as a Cake Tool #tool nuget:?package=Schemata.Application.Modular.Targets&version=1.0.0-preview.24176.38&prerelease
Schemata
Application Framework aims on modular business applications.
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.UseHttpLogging();
schema.UseW3CLogging();
schema.UseDeveloperExceptionPage();
schema.UseHttps();
schema.UseStaticFiles();
schema.UseCookiePolicy();
schema.UseRouting();
schema.UseCors();
schema.UseAuthentication(authenticate => {
authenticate.AddCookie();
});
schema.ConfigureServices(services => {
services.AddDistributedMemoryCache();
});
schema.UseSession();
schema.UseControllers();
schema.UseModular();
});
var app = builder.Build();
app.Run();
Fields
Features
Features are pluginable components that can be added to the application startup.
All features have an order and priority. 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 below 1_000_000_000 are reserved for built-in and Schemata extensions.
Built-in Features
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 |
120_000_000 | Https | Asp.Net HTTPS & HTTPS Redirection Middlewares |
130_000_000 | StaticFiles | Asp.Net Static Files Middleware |
140_000_000 | CookiePolicy | Asp.Net Cookie Policy Middleware |
150_000_000 | Routing | Asp.Net Routing Middleware |
151_100_000 | Quota | Asp.Net Rate Limiter Middleware |
160_000_000 | Cors | Asp.Net CORS Middleware |
170_000_000 | Authentication | Asp.Net Authentication & Authorization Middlewares |
180_000_000 | Session | Asp.Net Session Middleware |
210_000_000 | Controllers | Asp.Net MVC Middlewares, without Views |
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Schemata.Core (>= 1.0.0-preview.24176.38)
- Schemata.Modular (>= 1.0.0-preview.24176.38)
-
net8.0
- Schemata.Core (>= 1.0.0-preview.24176.38)
- Schemata.Modular (>= 1.0.0-preview.24176.38)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.