New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor Full-Stack Web App UI Option #18289
Comments
feature will also include authentication razor pages (login, forgot password etc.) into blazor project ? |
We think to reuse the account module. So, it includes all these. |
It seems that the blazer web app can replace the previous mvc/blazer server/assembly. Should those templates still be retained. |
Can you try to stick with SSR as much as possible and try out something like HTMX instead of doing interactive server rendering mode (needing socket/SignalR)? Fast and scalable should be the goal. |
I started to study this new feature today. |
Would you consider the coexistence of server and auto rendering modes. In this way, within the same project, some pages or components are allowed to run in server rendering mode, while others run in auto mode. Reference: |
@maliming I made an initial attempt at doing this to see what it might look like, starting from the Blazor Server template then modifying it to a Blazor web app per the Microsoft upgrade instructions. My use case is to use SSR for the initial load, then switch to WASM for most components once that runtime is loaded. I only got part-way so far but here is what I learned, in case it helps you:
Apart from the above, so far, it seems to work - although it is just a basic test. Happy to provide more information if it helps at all. |
Thank you very much @gdunit |
@gdunit thanks for sharing your approach. Do you have any working examples? |
@johnnypea I'll find some time to pull out what I've done and put up a repo. It's messy and not fully working, but hopefully gives a starting point. |
@johnnypea So here you go: Repo link I did a lot of experimenting so please expect things to be quite untidy. It is by no means finished, I stopped work as I know there is an officially supported version coming in 8.2. On the home page, you will see a link to the counter component. This initialises using SSR but then moves to WASM, there is an element in the UI that shows the transition. Issues:
Interested to hear any thoughts or feedback. |
Hi guys! Thanks for all your work on this and congratulations for this progress! @johnnypea @hikalkan @maliming |
hi
Yes. |
We will work on this in this milestone to see if we can create an option on new solution creation.
The text was updated successfully, but these errors were encountered: