Skip to content
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

Please expand on how Client-side Blazor can support offline scenarios #12599

Closed
gojanpaolo opened this issue May 30, 2019 — with docs.microsoft.com · 4 comments
Closed
Labels
Blazor Source - Docs.ms Docs Customer feedback via GitHub Issue
Milestone

Comments

Copy link

Hello, it would be really helpful if you could please expand on how Client-side Blazor can support offline scenarios. Adding some links or additional resources would be greatly appreciated. Thank you!


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@dotnet-bot dotnet-bot added the Source - Docs.ms Docs Customer feedback via GitHub Issue label May 30, 2019
@guardrex
Copy link
Collaborator

guardrex commented May 30, 2019

Hello @gojanpaolo ...

Thus far, we have a topic coming on calling web APIs (includes CORS): #10743. Authn and authz are in design and in development: dotnet/aspnetcore#4048.

What other offline scenarios would you like to see covered?

@guardrex guardrex added this to the Backlog milestone May 30, 2019
@guardrex guardrex self-assigned this May 30, 2019
@gojanpaolo
Copy link
Author

@guardrex I'm not sure I understand how those topics are related to offline scenarios (maybe I'm just inexperienced with web development).
Any examples or additional resource regarding offline scenarios will help. I don't have anything specific in mind. :)

@guardrex
Copy link
Collaborator

A client-side Blazor app is offline in all respects. It's running out there in the browser all by itself. After it's served, there's no request-response model (unless the app is programmed to do it; e.g., web API calls).

In contrast, a server-side Blazor app does run on the server and SignalR provides communication between the browser and server.

I'm sure that there will be additional client-side offline scenarios, but they'll come along as devs hit a need. Those two that I mentioned are BIG ONES ...

  • A client-side app does need to hit web APIs to get data and do things on servers. Thus far (as you can see on that PR), the HttpClient there is working great. Server-side Blazor is still in-design. That's also mentioned in that comment that I left on the PR.
  • These apps also need authz and authn support, and that likely/usually involves interacting with identity servers. The engineering team is working on that.

... and ... another one is interacting with the browser via JavaScript interop. That's covered fairly well at this point. https://docs.microsoft.com/aspnet/core/blazor/javascript-interop?view=aspnetcore-3.0

Any examples or additional resource regarding offline scenarios will help.

Everything we plan to have right now is either already there, in a docs PR, or in-design in engineering.

If you don't have a specific offline scenario now, then we'll keep an 👂 open as you work with the tech and see what sort of scenarios that you run into with client-side Blazor. Feel free to open an issue to ask about coverage for something.

@gojanpaolo
Copy link
Author

@guardrex Thanks for the explanation! I'll keep reading and will start developing with Blazor. :)

@guardrex guardrex removed their assignment May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blazor Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
None yet
Development

No branches or pull requests

3 participants