-
Notifications
You must be signed in to change notification settings - Fork 18
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
How can i implement this in server side blazor? #3
Comments
Hi, Any update on this for server side implementation? Tried adding this on a server side project but it cant find
|
Humm... What does mean to "server-side loading bar"? The loading bar indicate during fetching data from client-side to server-side. However, server-side Blazor apps doesn't happen fetching data from client-side to server-side, never. In the server-side Blazor app scenario, there is no business logic in client-side, All of the work is in server-side. Could you tell me more detail of the scenario that you want to use loading bar on server-side Blazor? |
What I'm saying is a loading bar at the top should also works on Server Side Blazor when fetching data rather than showing "Loading..." text. ALso when redirecting redirecting pages, say a login, which usually takes time due to database calls on the server, a loading bar will help to inform user that a processing is on going.
Currently it only works
in client side type blazor app (Web Assembly) but doesnt work on Server Side Type Blazor. For example,
app. app.UseLoadingBar(); does not work if you add it on Server-Side Blazor App because the app parameter in Server Side Blazor is IApplicationBuilder app, whereas in CLlent-Side Blazor (WebAssembly), its Configure(IComponentsApplicationBuilder app)
So I guess we need a version for Server Side Blazor as well.
Thanks
…On Tue, 27 Aug 2019 at 7:24 AM, jsakamoto ***@***.***> wrote:
Humm...
What does mean to "server-side loading bar"?
The loading bar indicate during fetching data from client-side to
server-side.
However, server-side Blazor apps doesn't happen fetching data from
client-side to server-side, never.
In the server-side Blazor app scenario, there is no business logic in
client-side, All of the work is in server-side.
Client-side is responsible only accepting inputs and rendering view, via
SignalR connection with server-side.
Could you tell me more detail of the scenario that you want to use loading
bar on server-side Blazor?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AARWASTERPF2Q2NAH6FDE43QGRQ25A5CNFSM4H53NLG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5F7HEQ#issuecomment-525071250>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARWASROGHNQUUH5KKFSK3TQGRQ25ANCNFSM4H53NLGQ>
.
|
Blazor server-side apps can also use |
No description provided.
The text was updated successfully, but these errors were encountered: