You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to see the available options to combine/concatenate multiple rendered SSR Blazor components to be used as a response in a minimal API endpoint. So far, I learned can use RazorComponentResult to deliver rendered components as response, but unfortunately this response only accept 1 component as argument. The other option that I tried with some success was using the html render + Result.Content, which work ok except by the fact the renderer seems not to work with forms as has dependency in a concern related to navigation from ASP.Net (forgive me, but I don't recall the exact dependency, as I tried this a while ago)
Since I am trying to avoid creating components that wrap the components will be sent as part of the response, is there any other option to combine and render multiple SSR razor components to be delivered as an API response? Bear in mind, I am not interested at all to use Blazor interactive components (pretty sure is not going to work in the scenario anyway)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am looking to see the available options to combine/concatenate multiple rendered SSR Blazor components to be used as a response in a minimal API endpoint. So far, I learned can use RazorComponentResult to deliver rendered components as response, but unfortunately this response only accept 1 component as argument. The other option that I tried with some success was using the html render + Result.Content, which work ok except by the fact the renderer seems not to work with forms as has dependency in a concern related to navigation from ASP.Net (forgive me, but I don't recall the exact dependency, as I tried this a while ago)
Since I am trying to avoid creating components that wrap the components will be sent as part of the response, is there any other option to combine and render multiple SSR razor components to be delivered as an API response? Bear in mind, I am not interested at all to use Blazor interactive components (pretty sure is not going to work in the scenario anyway)
Beta Was this translation helpful? Give feedback.
All reactions