Version 0.22
-
#289 Add endpoint routing for remote services.
-
Add extension methods
IServiceCollection.AddBoleroRemoting()
inBolero.Server
, with the same overloads as the existingAddRemoting()
, to register remote services for endpoint routing. -
Add extension method
IEndpointRouteBuilder.MapBoleroRemoting(?buildEndpoint)
that sets up endpoint routing for all registered services.
The functionbuildEndpoint
configures the endpoint for a given method.
The returnedIEndpointConventionBuilder
configures all the endpoints. -
Add typed version of
IEndpointRouteBuilder.MapBoleroRemoting<_>(?buildEndpoint)
to set up a specific remote service. -
Make
IServiceCollection.AddRemoting()
andIApplicationBuilder.UseRemoting()
obsolete, and addIServiceCollection.AddBoleroRemoting()
inBolero.Client
as equivalent ofAddRemoting()
.
-
-
#280 Add typed version of
IServiceCollection.AddBoleroRemoting<_>()
inBolero.Client
to configure the HttpClient and serialization of a given remote service separately. -
#296 Add CSS isolation for Bolero components.
Files ending in.bolero.css
are treated as component-specific styles which can be applied to a component type with the following property:override _.CssScope = CssScopes.MyApp
where
CssScopes
is a compiler-generated module andMyApp
is the name of the style file without.bolero.css
extension.The MSBuild item
BoleroScopedCss
can be used to add component-specific CSS files.
Its metadataScopeName
determines the name of the corresponding value in theCssScopes
module. -
#290 Add support for HTML element references in HTML templates.
In a template, an attributeref="MyRef"
will generate a method.MyRef()
taking anHtmlRef
as argument. -
#269 Add a Zero method to the HTML builders to allow raising exceptions in the body.