AspNetCore 1.3.0 (#518)
- New Http status codes returned
- 401 unauthorized, 403 forbidden and 422 Unprocessable Entity (for validation failure)
- IMPORTANT: POSSIBLE BREAKING CHANGE: this will not work with the obsolete wcf based domain client
- New Methods on
IServiceCollection
for Setup and registration of DomainServices- AddOpenRiaServices now accept a callback for configuring Options
AddOpenRiaServices(Action<OpenRiaServicesOptions> configure)
- New helper methods for registering DomainServices
AddDomainService<TDomainService>()
AddDomainService(typeof(DomainService))
AddDomainServices(params IEnumerable<Assembly>)
- AddOpenRiaServices now accept a callback for configuring Options
- Simplified
MapOpenRiaServices
- Add
AddRegisteredDomainServices()
to "map" (add endpoints) for all registered domain services - Added new overloads of
MapOpenRiaServices()
which do not require a callback, it will map app registered domain services MapOpenRiaServices
now throws if there are no domain services registered
- Add
- Added new OpenRiaServicesOptions for configuration openria services
- Se Readme for a description of the settings
- The
StatusCodes
property on exception will now be 403 when authorization fails but the user is logged in as an authenticated user (it was 401 before) - Add more nullability annotations to AspNetCore hosting
5.6.0
This is proably the last version with for WCF based hosting
BREAKING CHANGES:
- Drops support for .NET6 and .netstandard2.0
- Stop shipping WCF based domainclient as part of OpenRiaServices.Client.Core nuget
The WebDomainClient has been depreciated since 2023- code gen
- NOTE: WCF based hosting is considered depreciated and will be removed in the near future
Client Improvements
- Handle exceptions when Exception StatusCode is 403 (Required for AspNetCore 1.3.0)
- Set Accept header to "application/msbin1" (#521) for BinarHttpDomainClient
- Client nugets no longer have a dependency on
System.ServiceModel
General Improvements
-
Update nuget package dependencies
-
Update to latest version of Mono.Cecil
-
Updated integration test to run on .NET 8 instead of .NET Framework
-
Updated E2E integration tests no longer use WCF based client
-
Added some trimming annotations
-
What's Changed
-
Update nugets and Add some trimming annotations by @Daniel-Svensson in #517
-
Update azure-pipelines.yml for Azure Pipelines by @Daniel-Svensson in #519
-
Use sonarcloudv3 in azure-pipelines.yml by @Daniel-Svensson in #520
-
Set accept header for binary endpoint by @Daniel-Svensson in #521
-
AspNetCore: Add Options and improve Setup by @Daniel-Svensson in #518
-
Drop support for .NET 6, target .NET8 as minimum and update nuget dependencies by @Daniel-Svensson in #523
Full Changelog: v5.5.0...v5.6.0