egil / Htmxor

Supercharges Blazor static server side rendering (SSR) by seamlessly integrating the Htmx.org frontend library.
MIT License
118 stars 11 forks source link

Hx endpoints and custom pipeline #4

Closed egil closed 4 months ago

egil commented 8 months ago

Replace or extend all aspects of the default Blazor SSR endpoints router, renderer and services.

It seems that the Blazor in .NET 8 leverages asp.net cores existing Endpoint discovery and registration base tyes/primitives, so while the Blazor-specific one is not documented outside of the source code, there should be info generally available about Endpoint discovery and registration in general.

Routing

When multiple pages/components have routes that match a request, the most specific match should be used. The HxRoute attributes allow the user to specify HX headers that should match a specific value. If these are used, the route precedes the regular Route attribute.

egil commented 4 months ago

Done