SystemLibrary.Common.Web
7.6.0.17
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SystemLibrary.Common.Web --version 7.6.0.17
NuGet\Install-Package SystemLibrary.Common.Web -Version 7.6.0.17
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="7.6.0.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SystemLibrary.Common.Web" Version="7.6.0.17" />
<PackageReference Include="SystemLibrary.Common.Web" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SystemLibrary.Common.Web --version 7.6.0.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SystemLibrary.Common.Web, 7.6.0.17"
#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.
#:package SystemLibrary.Common.Web@7.6.0.17
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SystemLibrary.Common.Web&version=7.6.0.17
#tool nuget:?package=SystemLibrary.Common.Web&version=7.6.0.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SystemLibrary Common Web
Description
Library with classes and methods for every >= .NET 7 web application
Features
- Setup IApplicationBuilder and IServiceCollection in one line
- services.AddCommonWebServices();
- 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
- services.AddCommonWebServices();
Modules
- 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
- Services.Get
- the "service locator"
Requirements
- >= .NET 7
- Microsoft.AspNetCore.App Framework
Latest Version
- 7.6.0.17
- Removed debug messags (fix)
Version history
- View git history of this file if interested
Installation
- Simply install the nuget package
- Installation guide
Documentation
Nuget
Source
Suggestions and feedback
License
- Free
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (>= 7.0.20)
- Microsoft.Extensions.FileProviders.Physical (>= 7.0.0)
- SystemLibrary.Common.Net (>= 7.6.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.