The Wayback Machine - https://web.archive.org/web/20220120145700/https://github.com/dotnet/aspnetcore/issues/39653
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

Standalone (installable) BLAZOR WASM Golden Experience #39653

Open
1 task done
Xyncgas opened this issue Jan 20, 2022 · 1 comment
Open
1 task done

Standalone (installable) BLAZOR WASM Golden Experience #39653

Xyncgas opened this issue Jan 20, 2022 · 1 comment

Comments

@Xyncgas
Copy link

@Xyncgas Xyncgas commented Jan 20, 2022

Is there an existing issue for this?

  • I have searched the existing issues

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

We can publish blazor webassembly applications and put it on a server.
But...

  1. Server cost money.
  2. Server management cost developer's money & effort.
  3. Server needs to handle people's request (10k/sec/cpu ?)
  4. Server can corrupt
  5. Server might be the invisible & forgotten part that cause problems in the last mile for application

Describe the solution you'd like

Since blazor-webassembly was working when I was debugging (aka making) the application, I want my product to be able to be delivered as a single file people can download, and then install.

Since there is nothing 'serving' the application after installation, people can now use my product without internet connection, and there won't be a web server and instead I will focus on building database aside from the app.

It doesn't matter if it's done through electron, webview @Eilon, or even ship the webserver and then when people open the app they are opening their default browser to visit a place at localhost, of course showing people localhost might be scuff but we can also hide the address bar in something like electron if we are shipping .NET + webserver + browser, and I much prefer this way making my app in blazor-webassembly then being able to publish as a single installation then people just click and open my web no more loading no more latency until the app stores something in the database by talking to some api and of course that requires internet and the latency is user-opt in it's part of the product's feature that's optional

Additional context

Because I already know I can build applications using blazor-webassembly and technically just need a server to serve all the files with the http headers set correctly for better performance (basically it's a static website --but the content can be dynamic & controlled via c#), it's appealing & encouraging for me to say this can be a new feature for blazor-wasm

with this technology, people can download once and run as many times as they want, there wouldn't be a problem for scaling (10k/sec requests becomes 10k/downloads persec which is way easier), and I might even have native filesystems on the root directory where my installation is. Meanwhile webassembly can optimize for speed instead of for size (turning on AOT)

@Xyncgas Xyncgas changed the title Standalone app experience for blazor wasm Standalone (installable) BLAZOR WASM experience Jan 20, 2022
@Xyncgas Xyncgas changed the title Standalone (installable) BLAZOR WASM experience Standalone (installable) BLAZOR WASM Golden Experience Jan 20, 2022
@javiercn
Copy link
Contributor

@javiercn javiercn commented Jan 20, 2022

@Xyncgas thanks for contacting us.

You are describing a Progressive Web App, we already have support for this via the standard mechanisms the web platforms offers to do so. You can create a standalone Blazor webassembly application and add support for PWA, that will make the app installable with no need to download files from the server.

We don't plan to create any custom experience around installing Blazor webassembly applications since PWAs are the standard functionality the web platforms offers to achieve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants