AspNetCore Hosting 0.4.0
Daniel-Svensson
released this
24 Jun 09:52
·
69 commits
to main
since this release
AspNetCore 0.4.0
* Copies "All" attributes to endpoint metadata
* Some attributes sucha as Validation, Authorization and other attributes specific to OpenRiaServices are not copied
* `AddDomainService()` methods inside `MapOpenRiaServices` now returns `IEndpointConventionBuilder` allowing conventions to be specified per `DomainService`
```C#
app.MapOpenRiaServices(builder =>
{
builder.AddDomainService<Cities.CityDomainService>()
.WithGroupName("Cities");
});
```
* Updated README.md and added Sample project
* Make it compatible with more middleware such as OutputCache middleware by "Completing" responses
* CHANGES:
* `services.AddOpenRiaServices<T>()` now requires T to derive from DomainServce
* `services.AddOpenRiaServices<T>()` has different return type
What's Changed
- AspNetCore: Fix OutputCache middleware support and update README by @Daniel-Svensson in #426
Full Changelog: v5.4.0-preview.1...aspnetcore-0.4.0