abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.92k stars 3.44k forks source link

Blazor App (United) .net 8 option to abp´s Blazor offerings #16156

Closed sturlath closed 11 months ago

sturlath commented 1 year ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

Like many of us using the current versions of Blazor WASM/server (abp.io or others) we are not happy about the various the limitations it offers. Either its slow to startup/download or it can disconnect needing the user to refresh the page.

But we still love it for all the lovely things it brings to the table

Now that Blazor United is planned for .net 8 can we ask that abp.io watches this development and will at least try come out with a version and upgrade path in the very first versions of abp.io that ships with .net8? It would not be a great strategy to wait until its released and then start thinking about it.

I´m sure you have thought about this and are as excited as me, but we just can´t afford to just go by faith this time 😉

omer-repo commented 1 year ago

Blazor United is very good solution to solve Blazor's biggest issues (Latency in Blazor Server and slow load in Blazor Wasm)

Many features will come with .Net 8 and Blazor United: Server-side rendering, streaming rendering, enhanced navigations & form handling, add client interactivity per page or component, and determining the client render mode at runtime. (https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-3/comment-page-2/#comment-17958) And it's very likely that WASM and Server templates will be merged into United only.

So we can see what a great opportunity and facility it is for us Blazor developers to be able to use this template/method in APB projects.

sturlath commented 1 year ago

I can see that there is no mention of Blazor App (the name got changed from United) in the 8.0 version https://github.com/abpframework/abp/milestone/88

Can we get a working timeframe of when you think you will implemnt this @hikalkan ? This is a major feature that everybody that has current implementations of Blazor wants to move to and nobody wants to greate a new solution without so I hope you have this in scope.

Here is a start of a upgrade docs for the Blazor Server https://github.com/dotnet/AspNetCore.Docs/issues/29505 but as I understand the WASM one is not clear atm

nebula2 commented 1 year ago

Just a little informational update:

To avoid confusion, the term Blazor United is not used anymore. See here where they are referring it to Full stack web UI with Blazor.

IMHO this is even more confusing - but who am I to judge 😅

I found this issue. I think that the progress on this effort is tracked there:

https://github.com/dotnet/aspnetcore/issues/46636

EDIT: The issues here are interesting to keep track of.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

omer-repo commented 1 year ago

As Jon Hilton says, there are different render modes in .Net 8. And the default render mode will be SSR(Server side rendering). So it should be implemented in ABP Framework also. https://jonhilton.net/blazor-auto-render-mode/

hikalkan commented 1 year ago

We will evaluate that in the next version. Thanks 👍

sturlath commented 1 year ago

I would recommend reading this here about updating (Oqtane) to Blazor SSR (Static Server Rendering) it talks about the

"new non-interactive Blazor approach"

As you can see the SSR version is not interactive

I don´t know what this means for Blazorise but

if you are using a specific UI component library throughout your application which only supports interactive scenarios, it means your application will not be able to get the benefits of the non-interactive approach.

For me the SSR is the most interesting one (super quick rendering and no SignalR). The Spark.net is will be using HTMX in their .net 8.0 version. Take a look at some of the stuff they are doing here

But this will be the hottest version of Blazor and I surely hope abp.io will focus on it as soon as possible.

bxjg1987 commented 11 months ago

blazor web app (auto) template is greate

hikalkan commented 11 months ago

Thanks to everyone for your comments. This is moved to https://github.com/abpframework/abp/issues/18289 I can't promise that it will be completed in v8.1, but we will be working on.