Build up Security Headers in a (semi) modular way. To use in an ASP.Net Core web project. In startup.cs - add the following private members to the startup class private SecurityHeaders _securityHeaders { get; set; } private List<CspFrame> _cspFrames { get; set; } And the following two private methods (and alter as you need to). These do reference the samples nuget package. private List<CspFrame> AssembleContentSecurityPolicies() { var defCspFrame = new CspFrame().Initialise("default"); defCspFrame.Clauses .AddUpdateClause("script-src", "", "'unsafe-eval'") .AddUpdateClause("style-src", "", "'unsafe-inline'") .AddUpdateClause("img-src", "", "data:") .AddUpdateClause("plugin-types", "", "application/pdf") .AddUpdateClause("frame-ancestors", "", "'none'") .AddUpdateClause("report-uri", "", "/cspreport"); var basicCdnCspFrame = new CspFrame().Initialise("basicCdn"); basicCdnCspFrame.Clauses .AddUpdateClause("default-src", "", "https://maxcdn.bootstrapcdn.com/") .AddUpdateClause("script-src", "", "https://ajax.googleapis.com/ https://code.jquery.com/ https://cdnjs.cloudflare.com/") .AddUpdateClause("style-src", "", "https://fonts.googleapis.com/") .AddUpdateClause("font-src", "", "https://fonts.gstatic.com/") .AddUpdateClause("img-src", "", "https://csi.gstatic.com/"); var googleMapsCspFrame = new CspFrame().GoogleMaps(); var stripeCspFrame = new CspFrame().Stripe(); return new List<CspFrame> { defCspFrame, basicCdnCspFrame, googleMapsCspFrame, stripeCspFrame }; } /// <summary> /// Returns a merged copy of all relevant CspFrames - adding in the Dev CspFrame if required /// </summary> /// <param name="env"></param> /// <returns></returns> private CspFrame BuildContentSecurityPolicy(IHostingEnvironment env) { if (_cspFrames == null || !_cspFrames.Any()) { _cspFrames = AssembleContentSecurityPolicies(); } // Assemble the master CSP var masterCsp = _cspFrames.Merge(); if (env.IsDevelopment()) { var localhostSp = "localhost:56993/"; var stripe = "http://checkout.stripe.com/"; // Note that this dev CSP includes the http versions for Stripe var devCspFrame = new CspFrame().Initialise("dev"); devCspFrame.Clauses.AddUpdateClause("default-src", "", "http://localhost:5000/") .AddUpdateClause("connect-src", "", "http://" + localhostSp + " ws://" + localhostSp + " " + stripe) .AddUpdateClause("script-src", "", "http://" + localhostSp + " " + stripe); masterCsp = masterCsp.Merge(devCspFrame); } return masterCsp; } Finally include the following in the configuration method just before app.UseMvc( ... // Set up the overall Security Headers // This will also assemble the _cspFrames object if required if (_securityHeaders == null) { _securityHeaders = app.BuildSecurityHeaders(BuildContentSecurityPolicy(env)); } else { _securityHeaders.Csp = BuildContentSecurityPolicy(env); } app.UseSecurityHeaders(_securityHeaders);
Provides a cached HTTP client with ngrok API authentication and version headers.
websocket-sharp provides the WebSocket protocol client and server. It supports: - RFC 6455 - WebSocket Client and Server - Per-message Compression extension - Secure Connection - HTTP Authentication (Basic/Digest) - Query String, Origin header and Cookies - Connecting through the HTTP Proxy server - .NET 3.5 or later (includes compatible) -CustomHeaders
An Orchard Core MVC module to automatically configure secure HTTP-Headers.
Winnovative Next HTML to PDF Converter for .NET (Linux x64) is a core component of the Winnovative PDF Next Library for .NET, using an advanced and reliable Chromium-based rendering engine that processes modern HTML, CSS and JavaScript content to the latest standards. The converter targets .NET Standard 2.0 and can be used in .NET Core and .NET Framework applications deployed on Windows, Linux and macOS, including Azure, AWS, Google Cloud, Docker and Kubernetes. This package installs only the Linux x64 runtime. For Linux ARM64, the package Winnovative.Pdf.Next.HtmlToPdf.Linux.Arm64 can be referenced on its own or alongside this package. Separate packages are available for Windows, macOS or multi-platform runtimes. Compatibility: * Linux (x64) - Debian 11+, Ubuntu 20.04+ or equivalent * .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0 * Azure, AWS and Google Cloud for Linux * Linux Virtual Machines * Docker containers and Kubernetes for Linux * Web, Console and Desktop applications Main Features: * Convert HTML with CSS, web fonts and JavaScript to PDF * Support modern web standards and technologies * Generate PDF/UA and PDF/A compliant documents * Add HTML with page numbers in headers, footers and stamps * Repeat HTML table headers and footers in PDF pages * Control PDF page breaks with CSS in HTML * Create outlines and tables of contents from heading tags * Convert HTML forms to interactive PDF forms * Convert or exclude specific HTML regions * Retrieve HTML element positions in the PDF * Trigger conversion automatically or manually * Render for screen or print media * Set PDF security, viewer settings and signatures * Set HTTP headers and cookies * Use GET and POST requests * Convert HTML to images * Convert SVG to PDF * Asynchronous methods for async/await Documentation and code samples: https://www.winnovative-software.com/winnovative-pdf-next-html-to-pdf-dotnet
Adds/removes conservative set of security minded HTTP headers and redirects HTTP requests to HTTPS while maintaining keep alive functionality. Now supports Application Insights. For full details see readme.md on project site.
Helpers to work with HTTP, such as parsing RFC 8288 Link header values
An assembly for extending calls in Http-related classes.
Adds support to AppCore.Extensins.Http.Authenticaton.OAuth for deriving token client configuration from ASP.NET Core authentication schemes.
HttpResponseManager is a portable library. Using this library application can call and get Web API response using GET and PUT methods. User can also include the Headers while calling APIs.
Shaver is lightweight F# library for Suave.io web server built on the top of the Razor Engine and provides some extra features like template composing, setting custom return codes, localization resources support or server thread auto-localization by client Accept-Language header.
Helpers for ASP.NET Core middleware pipeline diagnostics and default response cache-control headers
Tungsten.Net.RPC is a client/server solution for invoking methods on a server. Communications are made over the port you specify. RPC methods on the server are created by attributing classes and methods with the [RPCClass] and [RPCMethod] attributes. Clients make calls by passing in the method name ("MyNameSpace.MyClass.Method1") and any parameters to the Call method. The result of this call is an RPCHandle which can be used to wait for a response (WaitForResponse and WaitForResponse<TResponseType>).
ASP.NET Core integration for Compendium Framework: Health checks (PostgreSQL/Redis), middleware, web API utilities, security headers, CORS, multi-tenancy HTTP resolution.
A free to use library as wrapper around the HttpClient to use as a download manager or as easy producer consumer implementation. All Requests will be handled by an PriorityQueue in a parallel state to have a simple and efficient way to handle many Requests. Tested with more than 1000 HttpRequests. Also includes retry, priority and cancel function. Classes: • StatusRequest: Calls a Head request and returns a response message with the headers. • OwnRequest: Wrapper around your own requests. Easy to self-expand function. • SiteRequest: Scans a website for all references. • LoadRequest: To download the response into a file. o This is a HTTP file downloader with pause and resuming function. Returns an IProgress to get the download progress.
Nuget package containing Sitecore integration items for 'uxbee-sitecore-headless-sxa-http-headers' NPM package.
WebApi.Pagination allows you to easily add Range Header-based pagination to existing WebAPI endpoints that operate on IQueryable data sources.
Intelligent HTTP response caching for Reliable.HttpClient with comprehensive custom headers support. Features two distinct approaches: Generic type-safe caching (CachedHttpClient<T>) for specific response types and Universal caching (HttpClientWithCache) for multi-type scenarios. Includes DefaultHeaders configuration, per-request header support, intelligent cache key generation with header isolation, preset-based configuration, automatic memory management, and zero-setup convenience methods.
Dependency-free Lyo primitives: enums, scalar and string extensions, identifier generators (LyoGuid, Ksuid, Ulid, NanoId, Snowflake), desktop User-Agent strings, cryptographic randomness, HTTP header and content-disposition constants, type conversion, path helpers, and temp-file spooling.
A wrapper around a singleton HttpClient and Polly to implement Http retry with exponential backoff.
Simple HTTP client that stitches together requests by adding X-Request-Id and X-Session-Id into the header of requests
OpenTelemetry logs, metrics and traces, trace id response header, log/trace enrichment, health checks, service discovery and http resilience for ASP.NET Core in a few lines.
Removes custom HTTP Response headers for Azure App Service web applications including Server, X-Powered-By, X-AspNet-Version and X-AspNetMvc-Version
This package is part of the Nano Library, a set of reusable .NET libraries for building microservice applications. Nano addresses common non-business concerns such as logging, persistence, messaging, validation, and documentation, while remaining fully configurable and extensible, so applications can stay focused on business logic. See https://github.com/Nano-Core/Nano.Library for details.
A SQLitePCL.raw plugin can be used to instruct SQLitePCL.raw to reference a different implementation of the native SQLite library than it normally would use. Install this package in your app project and call SQLite3Plugin.Init(). This particular plugin package contains no native code, so you will need to add one of the SQLitePCL.native.* packages.
A SQLitePCL.raw plugin can be used to instruct SQLitePCL.raw to reference a different implementation of the native SQLite library than it normally would use. Install this package in your app project and call SQLite3Plugin.Init(). This particular plugin package contains no native code, so you will need to add one of the SQLitePCL.native.* packages.
Winnovative Next HTML to PDF Converter for .NET (Multi-platform) uses a highly accurate and reliable Chromium-based rendering engine to process modern and complex HTML, CSS and JavaScript content to the latest standards. The converter targets .NET Standard 2.0 and can be used in .NET Core and .NET Framework applications deployed on Windows, Linux and macOS, including Azure, AWS, Google Cloud, Docker and Kubernetes. This multi-platform metapackage installs the Windows x64 and Linux x64 runtimes. For Windows ARM64, Linux ARM64 and macOS ARM64, the additional packages Winnovative.Pdf.Next.HtmlToPdf.Windows.Arm64, Winnovative.Pdf.Next.HtmlToPdf.Linux.Arm64 and Winnovative.Pdf.Next.HtmlToPdf.MacOS can be referenced on their own or alongside this package. Compatibility: * Windows 10, 11 and Windows Server 2016 to 2025 (x64) * Linux (x64) - Debian 11+, Ubuntu 20.04+ or equivalent * Windows, Linux and macOS (ARM64) - via additional packages * .NET 11.0, 10.0, 9.0, 8.0, 7.0, 6.0 and .NET Standard 2.0 * .NET Framework 4.6.2 to 4.8.1 * Azure, AWS and Google Cloud * Virtual Machines * Docker containers and Kubernetes * Web, Console and Desktop applications Main Features: * Convert HTML with CSS, web fonts and JavaScript to PDF * Support modern web standards and technologies * Generate PDF/UA and PDF/A compliant documents * Add HTML with page numbers in headers, footers and stamps * Repeat HTML table headers and footers in PDF pages * Control PDF page breaks with CSS in HTML * Create outlines and tables of contents from heading tags * Convert HTML forms to interactive PDF forms * Convert or exclude specific HTML regions * Retrieve HTML element positions in the PDF * Trigger conversion automatically or manually * Render for screen or print media * Set PDF security, viewer settings and signatures * Set HTTP headers and cookies * Use GET and POST requests * Convert HTML to images * Convert SVG to PDF * Asynchronous methods for async/await
An implementation of http://email-invoice-format.org/ for .NET
Provides a programming interface for HTTP applications, including components for parsing HTTP headers.
Structure for HTTP Basic Authentication header credentials
Exira.VersionHeader.Owin is an OWIN middleware to add assembly version information to HTTP headers
WebApi.LinkHeader allows you to easily add HTTP Link headers to existing WebAPI endpoints.
Sidio.Web.Security provides the core functionality to secure web applications. It is useful to use this package if .NET Framework is still in use. Otherwise, use Sidio.Web.Security.AspNetCore.
HTTP Link Header (http-link-header) binding library for Bridge.NET projects.
A collection of helpful IHeaderDictionary extension methods
Winnovative PDF Chromium for .NET on Windows converts HTML to PDF, HTML to Image and Word DOCX to PDF. Supports .NET Standard, .NET Core and .NET Framework. Compatible with Windows 64-bit and Docker. The HTML to PDF converter component of the library uses a rendering engine based on Chromium, which can render all modern HTML, CSS and JavaScript content in conformance with the latest standards. The .NET library in this package targets .NET Standard 2.0 and can be used in any .NET Core or .NET Framework application compatible with this standard. The native runtime is compatible with Windows 64-bit platforms. This package is fully compatible with Azure App Service and Azure Functions applications for the Windows platform. There is also a separate similar package for Linux platforms containing the same .NET library but with a different native Chromium runtime. The compatibility list of this package includes the following platforms: * Windows 10, Windows Server 2016 64-bit and above * .NET Core 9.0, 8.0, 7.0, 6.0, 5.0, .NET Standard 2.0 * .NET Framework 4.6.2 to 4.8.1 * Azure App Service and Azure Functions for Windows * Azure Windows Cloud Services and Virtual Machines * Web, Console, Desktop, Docker Main Features: * Convert HTML with CSS, Web Fonts and JavaScript to PDF * Support modern web standards and technologies * Add page numbering in PDF headers and footers from HTML * Repeat HTML table headers and footers in PDF pages * Control PDF page breaks with CSS in HTML * Create outlines and tables of contents from heading tags * Convert specific HTML regions * Retrieve HTML element positions in the PDF * Create tagged PDFs for accessibility * Trigger conversion automatically or manually * Render for screen or print media types * Set PDF security, viewer settings and signatures * Set HTTP headers and cookies * Use GET and POST requests * Convert HTML to JPEG, PNG and WEBP images * Convert Word DOCX to PDF
First-party .NET HTTP client for the FlexForms API (GovUK.Dfe.FlexForms.Api). Includes NSwag-generated typed clients and DTOs for applications, templates, users, roles, tenant admin, files, notifications, and token exchange, plus ASP.NET Core handlers for DfE Sign-In / Entra token exchange, Azure bearer tokens, header forwarding (tenant, template, application), and DI registration. Targets net10.0. This package is specific and dedicated to the FlexForms service and is not intended for use by any other service.
24.8.10.9-HiNetCoreAssembly-MD5【ccGYXzH/vUyhHrban5QTyg==】
Generate and overwrite default/predefined trace identifiers in the HTTP context. Value of 'HttpContext.TraceIdentifier' is changed and also add new header variable in 'HttpContext.Response.Headers' named 'X-Trace-Id' to trace requests in trace logs.
ITenantContext basado en headers HTTP confiables para servicios ASP.NET Core en Cosmos.
This package is part of the Nano Library, a set of reusable .NET libraries for building microservice applications. Nano addresses common non-business concerns such as logging, persistence, messaging, validation, and documentation, while remaining fully configurable and extensible, so applications can stay focused on business logic. See https://github.com/Nano-Core/Nano.Library for details.
Resolver de tenant compuesto para apps con HTTP y daemon de Wolverine (inbox/outbox). Lee del header HTTP cuando hay HttpContext y cae a IMessageContext.TenantId en handlers ejecutados por el daemon.
ActionResult that supports HTTP Range bytes Header.