Found 4 packages
This package can be used to intercept attribute param values during serialization/deserialization process. NOTES: It's thread safe. IMPORTANT: Use this tool when no other option left. Avoid using it, as it drastically hits the performance due to heavy use of reflection behind the scene. Never use it in combo with NewtonsoftJson, as the memory allocated for dynamically generated types will never get cleaned up, because of NewtonsoftJson holding the references to those types in his internal cache for faster contract-resolve operations. You can use any serializer which does not implement any caching or the caching can be disabled. For more information, go to GitHub wiki page: https://github.com/Dorin-Mocan/SerializationInterceptor/wiki. LIMITATIONS: - Fields not supported. Only public non-static props are serialized/deserialized; - Root type and types of the props must be public(not declared in any non-public types either) and have a default parameterless constructor; - Only param values of attributes attached to types and properties can be intercepted; - Not all enumerables supported. Allowed only arrays of any number of dimensions supported by CLR and types from System.Collections.Generic that implement generic ICollection interface; - Inheritance supported partially. If you have a prop of type X and assign to that prop a value of type Y and Y is a subclass of X, then only props of type X will be serialized/deserialized, those of type Y which are not in X will be ignored;
A lightweight, minimal API endpoint framework for ASP.NET Core inspired by FastEndpoints. Supports .NET 9 and .NET 10 with natural IResult-based response handling, automatic multipart/form-data and file upload support, optional global authorization, full API versioning support, and record primary constructor binding. Optimized for performance with reflection caching and smart instance creation.
4.6.14 - Prevent 401 unauthorized errors when the userId claim is missing(for client tokens). 4.6.13 - Added an optional OnTokenValidated step to JWT validation that checks the TokenVersion stored in Redis, ensuring tokens issued before a password change are rejected with 401. 4.6.12 - Undo the change made in 4.6.11 regarding the vulnerable packages for security issues. 4.6.11 - Updated vulnerable packages for security issues 4.6.10 - Add defensive parsing for solution IDs in headers 4.6.9 - Carbon.Common version update 4.6.8 - Carbon.HttpClient.Auth version update 4.6.7 - While fetching the user’s roles, caching was added. 4.6.6 - Refactored OwnershipFilter to use async/await for external service calls; improved Authorization header handling and permission checks. 4.6.5 - Microsoft.Extensions.Logging package added 4.6.4 - HybridModelBinding updated to 0.17.0 on net8.0 target framework 4.6.3 - Dotnet 8.0 target framework added for minimal api 4.6.2 - Dotnet 8.0 target framework added 4.5.6 - Added a property named overrideMessageAndCode to the CarbonException class. The default value of this property is set to true. In the constructor of CarbonException, check this property to determine whether the message and code are overridden or not. - Update IPageableDto validator for assign PageSize 0. When PageSize 0 the datas returns without pagination with development in version 4.5.3. 4.5.3 - Upgrade Carbon.PagedList (Remove pageSize and pageNumber validation check) 4.5.2 - Updated Carbon.Common nuget package (Added StringExtensions class with ReplaceTurkishChars and ContainsTurkishIgnoreCase methods) 4.5.0 - Degraded health check HTTP status code changed as custom 218 (This Is Fine) status code. Because even if system is degraed it should be working normally, so returning 5XX status code is not right for degraded state. 4.4.1 - Cors should come first before authentication and authorization in startup pipeline 4.4.0 - Carbon.Common updated and Serilog.Enrichers.Sensitive Enricher added for masking sensitive values within logs. 4.3.0 - OwnershipFilter check now disregards solution id header during endpoint permission check 4.2.1 - UnauthorizedOperationException response body is fixed 4.2.0 - UnauthorizedOperationException handling is added 4.1.9 - Carbon.Common updated and IQueryable OrderBy extension method bug fixed 4.1.8 - Carbon.Common updated and nested ordering achieved 4.1.7 - Add CorrelationId to log OnException 4.1.6 - Cors Policy changes(Location parameter is added to WithExposedHeaders) 4.1.5 - ApiPagedResponse is added for PagedListOk. 4.1.4 - Some dependencies updated. 4.1.3 - Cors Allow Credentials support added with any origin accepted - Cors Wildcards accepted 4.1.1 - CarbonException messages are take arguments for dynamic exception messages 4.1.0 - Critical bug fixed for Directory separator char to specific platform (Windows,Linux) 4.0.0 - Carbon now supports Dotnet 6 in terms of both minimal and not minimal - Fluent Validation Upgraded - Swagger Upgraded - BodyRewind deprecated, thus RoleFilteredDto is now unsupported as it is unnecessary just after repository-level validation introduced - Some Performance Improvements
Legacy reupload for .NET Framework 2.0. The Unity Application Block (Unity) is a lightweight extensible dependency injection container with support for constructor, property, and method call injection. Unity addresses the issues faced by developers engaged in component-based software engineering. Modern business applications consist of custom business objects and components that perform specific or generic tasks within the application, in addition to components that individually address cross cutting concerns such as logging, authentication, authorization, caching, and exception handling.