Fluens.Web.Cors
0.7.9
See the version list below for details.
dotnet add package Fluens.Web.Cors --version 0.7.9
NuGet\Install-Package Fluens.Web.Cors -Version 0.7.9
<PackageReference Include="Fluens.Web.Cors" Version="0.7.9" />
<PackageVersion Include="Fluens.Web.Cors" Version="0.7.9" />
<PackageReference Include="Fluens.Web.Cors" />
paket add Fluens.Web.Cors --version 0.7.9
#r "nuget: Fluens.Web.Cors, 0.7.9"
#:package Fluens.Web.Cors@0.7.9
#addin nuget:?package=Fluens.Web.Cors&version=0.7.9
#tool nuget:?package=Fluens.Web.Cors&version=0.7.9
Fluens.Web.Cors
CORS configuration and middleware setup for Fluens web applications.
Installation
dotnet add package Fluens.Web.Cors
Usage
fluensBuilder.AddCors();
app.UseFluensCors();
AddCors() accepts an optional Action<CorsOptions>? configure callback; a callback-only call — with
no matching Fluens:Cors configuration section present — is still honoured and validated.
UseFluensCors() is a no-op - adds no middleware - when AddCors() was never called or was disabled
(Enabled = false, via config or callback), so a host that calls it unconditionally starts cleanly
either way; when enabled, it mounts the callback- or config-configured PolicyName.
Configuration section: Fluens:Cors:
{
"Fluens": {
"Cors": {
"PolicyName": "Default",
"AllowedOrigins": ["https://myapp.example.com"],
"AllowedMethods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
"AllowedHeaders": ["Content-Type", "Authorization"],
"ExposedHeaders": [],
"AllowCredentials": false,
"MaxAge": 3600
}
}
}
License
This project is licensed under the MIT License.
| 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
- Fluens.Web (>= 0.7.9)
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 |
|---|---|---|
| 0.9.3 | 240 | 11/17/2026 |
| 0.9.2 | 141 | 10/21/2026 |
| 0.9.1 | 471 | 10/13/2026 |
| 0.9.0 | 111 | 10/13/2026 |
| 0.8.7 | 252 | 10/12/2026 |
| 0.8.6 | 115 | 10/12/2026 |
| 0.8.5 | 120 | 10/7/2026 |
| 0.8.4 | 93 | 10/6/2026 |
| 0.8.3 | 111 | 10/6/2026 |
| 0.8.2 | 173 | 10/5/2026 |
| 0.8.1 | 163 | 9/15/2026 |
| 0.8.0 | 127 | 9/15/2026 |
| 0.7.11 | 121 | 9/15/2026 |
| 0.7.10 | 124 | 9/13/2026 |
| 0.7.9 | 128 | 9/11/2026 |
| 0.7.8 | 123 | 9/10/2026 |
| 0.7.7 | 144 | 9/10/2026 |
| 0.7.6 | 186 | 7/1/2026 |
| 0.7.5 | 157 | 6/22/2026 |
| 0.7.4 | 170 | 6/18/2026 |