AspNetCore 1.5.0
-
Allow configuring Serializer security settings
You can configure reader quotas to limit resource consumption and mitigate denial-of-service (DoS) attacks.
By default all quotas are set to their maximum values to preserve backward compatibility.See AspNetCore README for more details and sample code.
-
Added QUERY HTTP method support for non-side-effect operations (Query and non-mutating Invoke)
- Non-side-effect operations now accept
GET,POST, andQUERYrequests (previouslyGETandPOSTonly) - Side-effect operations remain
POST-only
- Non-side-effect operations now accept
Client 5.9.0
- Added
MaxQueryStringLengthsetting toHttpDomainClientFactory(default2048)- Controls the query string length threshold at which GET requests are automatically promoted to POST or QUERY
- Previously this threshold was hardcoded
- Added
UseQueryHttpMethodsetting toHttpDomainClientFactory(defaultfalse)- When enabled, GET requests exceeding
MaxQueryStringLengthare promoted to QUERY instead of POST - QUERY is a safe, idempotent HTTP method that carries a request body — suitable for read operations with large query parameters
- Requires the server to support the QUERY method (i.e. using compatible
OpenRiaServices.Hosting.AspNetCore)
- When enabled, GET requests exceeding
- EntityCollection IList indexer now throws instead of returning null when out of range @Copilot in #581
DomainContext.DomainClientFactory = new BinaryHttpDomainClientFactory(baseUri, handler)
{
MaxQueryStringLength = 4096, // allow longer query strings before falling back
UseQueryHttpMethod = true, // use QUERY instead of POST on fallback
};What's Changed
- EntityCollection fixes: IList indexer should not return null, update INotifyCollectionChanged index calculation by @Copilot in #581
- Add SerializationOptions for reader quotas and compression dictionary by @Copilot in #578
- Add MaxQueryStringLength and UseQueryHttpMethod settings to HttpDomainClientFactory by @Copilot in #582
- Refactor DataContractHttpDomainClient by extracting transport logic into HttpDomainClient by @Copilot in #583
- Configure Copilot cloud agent to run on Windows (
windows-latest) by @Copilot in #584 - Document changelog and README update expectations for contributors and agents by @Copilot in #586
- run code generation tests on net10 by @Daniel-Svensson in #588
Full Changelog: v5.8.0...v5.9.0