Dangl.Data.Shared.AspNetCore 2.5.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Dangl.Data.Shared.AspNetCore --version 2.5.0                
NuGet\Install-Package Dangl.Data.Shared.AspNetCore -Version 2.5.0                
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="Dangl.Data.Shared.AspNetCore" Version="2.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dangl.Data.Shared.AspNetCore --version 2.5.0                
#r "nuget: Dangl.Data.Shared.AspNetCore, 2.5.0"                
#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 Dangl.Data.Shared.AspNetCore as a Cake Addin
#addin nuget:?package=Dangl.Data.Shared.AspNetCore&version=2.5.0

// Install Dangl.Data.Shared.AspNetCore as a Cake Tool
#tool nuget:?package=Dangl.Data.Shared.AspNetCore&version=2.5.0                

Dangl.Data.Shared - www.dangl-it.com

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  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

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
2.5.2 83 12/8/2024
2.5.1 171 10/25/2024
2.5.0 1,841 12/26/2023
2.4.0 756 10/16/2023
2.3.0 244 9/25/2023
2.2.0 406 9/13/2023
2.1.1 5,354 7/5/2021
2.1.0 501 6/13/2021
2.0.0 577 5/20/2021
1.9.0 2,933 1/26/2021
1.8.0 364 1/26/2021
1.7.0 636 1/6/2021
1.6.0 814 7/10/2020
1.5.0 500 6/9/2020
1.4.0 634 10/13/2019
1.3.1 558 8/26/2019
1.3.0 562 8/6/2019
1.2.0 602 3/13/2019
1.1.1 672 2/6/2019
1.1.0 718 1/20/2019
1.0.10 871 8/7/2018
1.0.9 954 7/18/2018
1.0.8 972 7/9/2018
1.0.7 974 6/10/2018
1.0.6 859 6/2/2018
1.0.5 909 6/1/2018
1.0.4 912 5/2/2018

## v2.5.0:
- Added an option to enable caching for static files that are returned by the `UseLocalizedSpaStaticFiles` call

## v2.4.0:
- Added `RouteNameExtensions` with two extension methods on strings to allow easier working with route and action names in **Dangl.Data.Shared.AspNetCore**

## v2.3.0:
- The `BiggerThanZeroAttribute` now also supports validating `long` types

## v2.2.0:
- Added a new target for .NET 6, dropped support for .NET Core 3.1
- Removed `netstandard2.0` and `net5.0` targets for **Dangl.Data.Shared.AspNetCore**, and added `net7.0`
- The `UseLocalizedSpaStaticFiles` will now also try to resolve relative paths for requests, meaning e.g. assets placed relative to an SPA subfolder will also be correctly removed now, transparent to the client requesting the file. For example, a client that requests `/assets/picture.jpg` might be served the file internally from `/dist/en/assets/picture.jpg`

## v2.1.1
- Added `CdnNoCacheAttribute : ActionFilterAttribute`, an attribute which sets the `Cache-Control` header to `no-store, no-cache, no-transform`

## v2.1.0:
- The `LocalizedSpaStaticFileExtensions` now make sure that the default entry file for the SPA is never cached and returns `Cache-Control: no-store` when delivered

## v2.0.0:
- Dropped support for `netstandard1.3`. The lowest supported framework is now `netstandard2.0`

## v1.9.0:
- Added a new generic overload `ApiError<TError>`

## v1.8.0:
- Added a new generic overload `RepositoryResult<TResult, TError>`

## v1.7.0:
- The `CamelCaseDefaultValuesContractResolver` was changed to now preserve the casing for keys in dictionaries
- Drop tests for `netcoreapp2.2` and add tests for `netcoreapp2.1`

## v1.6.0:
- Added the `EmptyEnumDeserializer` and the `GuidStringDeserializer`. Both these classes are used to deserialize either Guids or Enums from null values or empty strings and will return the default values for them, e.g. `Guid.Empty`. They are automatically activated when using `ConfigureDefaultJsonSerializerSettings`

## v1.5.0:
- Drop `netcoreapp3.0` target and add `netcoreapp3.1` target

## v1.4.0:
- Add `netstandard2.1` and `netcoreapp3.0` targets

## v1.3.1:
- Add `CamelCaseDefaultValuesContractResolver`

## v1.3.0:
- The generated assemblies now have a strong name. This is a breaking change of the binary API and will require recompilation on all systems that consume this package. The strong name of the generated assembly allows compatibility with other, signed tools. Please note that this does not increase security or provide tamper-proof binaries, as the key is available in the source code per [Microsoft guidelines](https://msdn.microsoft.com/en-us/library/wd40t7ad(v=vs.110).aspx)

## v1.2.0:
- Move JsonExtensions from Dangl.Data.Shared.AspNetCore to Dangl.Data.Shared

## v1.1.1:
- Add `EmptyFormFileValidator` with extensions to support the generation of an invalid `ModelState` if a parameter of type `IFormFile` (or derived) is passed with a `Length` of zero bytes

## v1.1.0:
- The `Dangl.Data.Shared.AspNetCore` package was updated to ASP.NET Core 2.2
- Add `LocalizedSpaStaticFileExtensions` to help serving localized Single Page Applications (SPAs)
- Add `IUserLanguageService` with default implementation

## v1.0.10:
- Add `CompressedRequestMiddleware` to support clients sending compressed request bodies

## v1.0.9:
- Add `HttpHeadRequestMiddleware` to support Http `HEAD` requests to all actions supporting originally only Http `GET`

## v1.0.8:
- Add `IClaimBasedAuthorizationRequirement` and supporting functionality

## v1.0.7:
- Add `JsonOptionsExtensions`

## v1.0.6:
- Rename `FileResult` to `FileResultContainer`

## v1.0.5:
- Add `FileResult`

## v1.0.3:
- Add logging to `ModelStateValidationFilter` if invalid requests get rejected

## v1.0.2:
- Add `RequiredFormFileValidationFilter` to support checking for `[Required]` parameters of type `IFormFile` on controller actions