Arcturus.Extensions.Patchable.AspNetCore is a .NET library that enables efficient partial updates of resources in ASP.NET Core applications using JSON Patch. It provides extension methods and utilities for applying RFC 6902-compliant patch operations to your models, simplifying the implementation of PATCH endpoints and improving API flexibility.
Install the package via NuGet Package Manager or the .NET CLI:
dotnet add package Arcturus.Extensions.Patchable.AspNetCoreOr, using the Package Manager Console:
Install-Package Arcturus.Extensions.Patchable.AspNetCore- .NET SDK 8 or later
- JSON Patch Support: Apply RFC 6902-compliant JSON Patch operations to your ASP.NET Core models.
- Extension Methods for Controllers: Simplifies PATCH endpoint implementation with controller extensions for patching resources.
- Model Validation Integration: Automatically validates patched models and integrates with ASP.NET Core's model validation pipeline.
- Error Handling: Provides clear error responses for invalid patch documents or failed patch operations.
- Flexible Patch Application: Supports patching of complex object graphs and nested properties.
- Seamless Integration: Designed to work with ASP.NET Core's dependency injection and middleware pipeline.
- Documentation and Examples: Includes usage documentation and code samples for quick adoption.
For detailed documentation, visit Arcturus Wiki.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter issues or have questions, please file an issue on the GitHub Issues page.