-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
Comments
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 I'm not sure I understand how those topics are related to offline scenarios (maybe I'm just inexperienced with web development). |
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 ...
... 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
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. |
@guardrex Thanks for the explanation! I'll keep reading and will start developing with Blazor. :) |
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.
The text was updated successfully, but these errors were encountered: