KevinDockx
NuGet publisher profile
Packages (7)
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.
Marvin.StreamExtensions
A set of helper extension methods (on Stream) for working with streams. Particularly useful for interaction with an API through HttpClient.
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.
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.
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.
Marvin.Cache.Headers.DistributedStore.Redis
Provides an implementation of the IValidatorValueStore for use with the Marvin.Cache.Headers NuGet package that supports Redis.
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.