CORS policy with dynamic resolver allowing origins configured at the startup as well as others based on the implementation of the method. This will allow to check CORS policies from eg. database or cache. Leverages short-circuit evaluation and checks the method only in case of the origin missing from the one configured at startup. Based on default Asp .NET Core CORS package.
A lightweight set of extensions and types to integrate ASP.NET Web API's CORS support directly into LightInject
ASP.NET Core library for configuring Cross-Origin Resource Sharing (CORS) via the [AllowCrossOriginResourceSharing] attribute and global CorsConfig configuration.
CORS configuration and middleware setup for Fluens web applications.
Provides an administration interface in Optimizely CMS 13 for managing security response headers.
6.0.0 - Carbon.Audit 3.0.0: audit is published through Carbon.MassTransit [3.11.0,4.0.0) (MassTransit 7) again, so services on MassTransit 7 can take the 5.x features (Consul ACL/encryption, configuration source flags) without migrating. Services already on MassTransit 8 should stay on 5.2.0. A direct reference to Carbon.Audit 2.0.0 or Carbon.MassTransit below 3.11.0 becomes an NU1605 error. 5.2.0 - Consul crypto logic moved to shared Carbon.ConsulSecretEncryptor.Core (used by Console/Web tools). Consul JSON config supports whole-document ("CarbonEncryptedConfig") and field-level ("ENC(...)") encryption via AES-256-GCM+RSA-OAEP/SHA256 envelope, auto-decrypted on load and on reload-on-change. Consul HTTP Basic Auth support via CONSUL_BASIC_AUTH_ENCRYPTED. 5.1.0 - Consul ACL token support via CONSUL_ACL_TOKEN_ENCRYPTED, decrypted using a host cert (CONSUL_ACL_CERT_THUMBPRINT/SUBJECT). Consul watch traffic tunable via CONSUL_RELOAD_ON_CHANGE/CONSUL_POLL_WAIT_TIME_SECONDS. 5.0.1 - Replaced #if DEBUG checks with runtime ASPNETCORE_ENVIRONMENT=Development check in UseCarbonFeatures. 5.0.0 - Carbon.Audit/MassTransit updated to MassTransit 8; StackExchange.Redis 2.10.14; net6.0 logging/config abstractions raised to 8.0.x. 4.8.0 - Configuration sources can be enabled/disabled via flags. 4.7.1 - Exempt god users from token version validation. 4.7.0 - net10.0 target added; uses ASP.NET Core shared framework instead of legacy Mvc 2.2 packages; zipkin4net excluded on net10.0. 4.6.21 - Carbon.Audit: response error info (ApiStatusCode, ErrorCode, Messages) + DurationMs added; HttpStatusCodeFilter added for HTTP audit events. 4.6.15 - Added CustomConfigureAfterAuth hook. 4.6.14 - Prevent 401s when userId claim missing (client tokens). 4.6.13 - Optional OnTokenValidated step checks Redis TokenVersion, rejecting tokens issued before a password change. 4.6.11 - Updated vulnerable packages. 4.6.10 - Defensive parsing for solution IDs in headers. 4.6.7 - Caching added for fetching user roles. 4.6.6 - OwnershipFilter refactored to async/await; improved auth header handling and permission checks. 4.6.2 - .NET 8.0 target added. 4.5.6 - Added overrideMessageAndCode property to CarbonException (default true). Fixed IPageableDto validator for PageSize 0. 4.5.3 - Removed pageSize/pageNumber validation in Carbon.PagedList. 4.5.2 - Carbon.Common: added StringExtensions (ReplaceTurkishChars, ContainsTurkishIgnoreCase). 4.5.0 - Degraded health check now returns custom 218 (This Is Fine) instead of 5XX. 4.4.1 - Cors now runs before authentication/authorization in pipeline. 4.4.0 - Carbon.Common updated; Serilog.Enrichers.Sensitive added for masking sensitive log values. 4.3.0 - OwnershipFilter disregards solution id header during endpoint permission check. 4.2.0 - UnauthorizedOperationException handling added. 4.1.8 - Carbon.Common updated; nested ordering supported. 4.1.3 - Cors Allow Credentials with any origin + wildcard support. 4.1.1 - CarbonException messages take arguments for dynamic messages. 4.1.0 - Fixed directory separator char bug across platforms. 4.0.0 - .NET 6 support (minimal and non-minimal); FluentValidation/Swagger upgraded; BodyRewind/RoleFilteredDto removed; performance improvements.
Collection of essential production-ready middlewares for ASP.NET Core applications. Includes request/response processing time measurement with customizable headers, HTML/CSS/JS minification for optimized bandwidth usage, response compression, security headers implementation, CORS configuration helpers, and request/response logging. Features automatic content optimization with WebMarkupMin integration for smaller payload sizes and faster page loads.
Nuar.Cors - CORS extension for the Nuar API gateway framework
Cross-Origin Resource Sharing (Cors) helper library for .NET applications
Hypertext Transfer Protocol (Http) Cross-Origin Resource Sharing (CORS) extension library built for TinyCLR IoT devices.
A model binder for .NET Web API to support multiple POST parameters in an action method.It is used TO invoke WebAPI Controller action with multiple parameters from client side in CORS Enabled Web Application.
ASP.NET 2.0 Http Module that will help you to introduce CORS for your web application.
Configurable CORS policy management for DotBoil applications. Define allowed origins, headers, and methods through appsettings.json without writing manual middleware setup code.
A free library for ASP.NET Core 6+ Microservices development, with Model, Model Repository, Entity Framework Core and common Web Api features like CORS, Json serialization fixes, Swagger generation, JWT Authentication for simple and objective microservices development
Extensions ASP.NET Core pour le framework Wikandoo incluant les middlewares, contrôleurs, authentification JWT, Swagger, CORS, health checks et compression
A one-call CORS setup for the GM.API stack (AddGMCors / UseGMCors). Part of the GM.API family.
MVC4 Action Filter to support Cors lockdown to a set of allowable domains
Plugins and utility classes for REST API projects using Mono, ServiceStack, MongoDB and RQL
Provides middlewares, filters and utilities for managing .Net Core Web APIs including utilities Cors, Logging, Exceptions, Resources, Security, Startup Pipelines, Swagger, Validations.
Cross-Origin Resource Sharing (CORS) helper library for .NET applications
Initialize CORS Policies by leveraging the IConfiguration framework
Tiny javascript library written to send in-browser http requests either GET, POST or using any other HTTP supported method. It can help in scenarios like auto-login & others. What it actually does (by default) is opens up a new tab (in most cases) for the provided URL with the data parameters as if it was submitted from a form. Written in coffeescript, but precompiled to Javascript for a non-coffee developer (but you better should get on-board with coffee). If you got any suggestions or you can help improve, kindly send me a pull request with your contribution & I promise a consideration.
Optional .NET Static File Server to serve web app files in a localhost environment and to prevent CORS and similar issues.
A flexible and pluggable dynamic CORS provider for ASP.NET Core. Supports tenant-based origin validation, JWT or header-based tenant resolution, and database-driven CORS origin rules with caching and fallback behavior. Ideal for multi-tenant or microservice-based systems needing dynamic CORS logic.
All you need for web projects : ErrorHandlingMiddleware, CORS, Controllers, etc.