Additional Details

NEwer v exist

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SystemLibrary.Common.Web --version
NuGet\Install-Package SystemLibrary.Common.Web -Version
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="SystemLibrary.Common.Web" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SystemLibrary.Common.Web --version
#r "nuget: SystemLibrary.Common.Web,"
#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 SystemLibrary.Common.Web as a Cake Addin
#addin nuget:?package=SystemLibrary.Common.Web&version=

// Install SystemLibrary.Common.Web as a Cake Tool
#tool nuget:?package=SystemLibrary.Common.Web&version=

SystemLibrary Common Web


Library with classes and methods for every >= .NET 7 web application

  • Setup IApplicationBuilder and IServiceCollection in one line
    • services.CommonWebApplicationServices();
      • Registers services for compression, MVC, routing requests to controllers and more...
    • app.CommonWebApplicationBuilder();
      • Enables serving static file types (css, js, png, jpg, ...)
      • Enables compression
      • Maps requests to controllers
      • Enables Authorization and Authentication attributes
  • HttpBaseClient
    • Reuses the underlying TCP connection for 2 minutes, saving 10's of milliseconds on subsequent requests
    • Retries once if a request fails, by recreating the TCP connection, and trying again with a short (10s) timeout
  • Cache
    • Auto-generating cache keys based on variables in "function scope"
    • A 3 minute default cache duration
  • HttpContextInstance
    • Current
  • ActionContextInstance
    • Current


  • >= .NET 7
  • Microsoft.AspNetCore.App Framework

Latest Version

  • Updated deps
  • HttpBaseClient deserialization of string to object passed in as Generic, now uses SystemLibrary.Common.Net's default json options for Enum, Long, Type and DateTime conversions
Version history
  • View git history of this file if interested





Suggestions and feedback


  • Free
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SystemLibrary.Common.Web:

Package Downloads

Library with classes, methods and dijits for every .NET >= 7 episerver web application Installation Documentation with sample code

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 190 4/11/2024 114 3/14/2024 224 10/18/2023 531 6/26/2022