Skip to content

AspNetCore Hosting 0.4.0

Compare
Choose a tag to compare
@Daniel-Svensson Daniel-Svensson released this 24 Jun 09:52
· 69 commits to main since this release
5ff0fac

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

Full Changelog: v5.4.0-preview.1...aspnetcore-0.4.0