Skip to main content
KevinDockx avatar

KevinDockx

NuGet publisher profile

Packages
7
Total Downloads
11.9M
11,937,462

Packages (7)

Marvin.JsonPatch package icon

Marvin.JsonPatch

JSON Patch (https://tools.ietf.org/html/rfc6902) defines a JSON document structure for expressing a sequence of operations to apply to a JavaScript Object Notation (JSON) document; it is suitable for use with the HTTP PATCH method. The "application/json-patch+json" media type is used to identify such patch documents. One of the things this can be used for is partial updates for REST-ful API's, or, to quote the IETF: "This format is also potentially useful in other cases in which it is necessary to make partial updates to a JSON document or to a data structure that has similar constraints (i.e., they can be serialized as an object or an array using the JSON grammar)." That's what this package is all about. Web API supports the HttpPatch method, but there's currently no implementation of the JsonPatchDocument in .NET, making it hard to pass in a set of changes that have to be applied - especially if you're working cross-platform and standardization of your API is essential. Have a look at the project site for the current status of this package and to learn how to get started.

10.4M
downloads
Marvin.StreamExtensions package icon

Marvin.StreamExtensions

A set of helper extension methods (on Stream) for working with streams. Particularly useful for interaction with an API through HttpClient.

649.6K
downloads
Marvin.Cache.Headers package icon

Marvin.Cache.Headers

ASP.NET Core middleware that adds HttpCache headers to responses (Cache-Control, Expires, ETag, Last-Modified), and implements cache expiration & validation models.

616.1K
downloads
Marvin.JsonPatch.Dynamic package icon

Marvin.JsonPatch.Dynamic

Marvin.JsonPatch.Dynamic adds support for dynamically typed objects to Marvin.JsonPatch. Marvin.JsonPatch was built to work on staticly typed objects, which is great for most cases. Yet sometimes you'll want to create a patch document without having a static type to start from (for example: when integrating with a backend that's out of your control), or you'll want to apply a JsonPatchDocument to a dynamic object, or an object that has a property which isn't statically typed. That's what this component takes care of. It extends Marvin.JsonPatch with new methods on JsonPatchDocument, and it allows you to apply the JsonPatchDocument to dynamically typed objects.

220.9K
downloads
Marvin.Cache.Headers.DistributedStore package icon

Marvin.Cache.Headers.DistributedStore

Provides an implementation of the IValidatorValueStore for use with the Marvin.Cache.Headers NuGet package that allows ValidatorValue instances to be stored in a distributed cache.

11.2K
downloads
Marvin.Cache.Headers.DistributedStore.Redis package icon

Marvin.Cache.Headers.DistributedStore.Redis

Provides an implementation of the IValidatorValueStore for use with the Marvin.Cache.Headers NuGet package that supports Redis.

8.2K
downloads
Marvin.HttpCache package icon

Marvin.HttpCache

Marvin.HttpCache is a complete implementation of the RFC2616 Http Caching standard for use with HttpClient, for all .NET Framework platforms (Windows Store, Windows Phone, WPF, WinForms, Console apps). Make sure to check the project site for the current status and to learn how to get started.

5.3K
downloads