Skip to content

AspNetCore 1.5.0 and OpenRia 5.9.0

Latest

Choose a tag to compare

@Daniel-Svensson Daniel-Svensson released this 11 Jun 10:12
· 15 commits to main since this release
585cb6c

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, and QUERY requests (previously GET and POST only)
    • Side-effect operations remain POST-only

Client 5.9.0

  • Added MaxQueryStringLength setting to HttpDomainClientFactory (default 2048)
    • Controls the query string length threshold at which GET requests are automatically promoted to POST or QUERY
    • Previously this threshold was hardcoded
  • Added UseQueryHttpMethod setting to HttpDomainClientFactory (default false)
    • When enabled, GET requests exceeding MaxQueryStringLength are 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)
  • 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