Whatever type is registered as the IRazorComponentEndpointInvoker in the app is used to invoke Blazor endpoints by RazorComponentEndpointFactory. If that endpoint Htmxor keeps using the builtin RazorComponentEndpointFactory a custom IRazorComponentEndpointInvoker should probably get the other registered RazorComponentEndpointInvoker and call that when a request is a non HX request.
There may be a need for a custom RazorComponentEndpointInvoker which supports requests initiated by Htmx.
Whatever type is registered as the
IRazorComponentEndpointInvoker
in the app is used to invoke Blazor endpoints by RazorComponentEndpointFactory. If that endpoint Htmxor keeps using the builtinRazorComponentEndpointFactory
a customIRazorComponentEndpointInvoker
should probably get the other registeredRazorComponentEndpointInvoker
and call that when a request is a non HX request.