Hi, is it possible to make a Blazor application frameless?

Socks93

Active member
Joined
Oct 22, 2021
Messages
29
Programming Experience
Beginner
I'm looking to build a toolbar application using Blazor and i was wondering if it would be possible to make the app frameless ( removing the minimize/maximize and close buttons).

Can this be done or no?

Thanks!
 
In any browser that may happen to run your app, or for a specific browser?
 
In any browser that may happen to run your app, or for a specific browser?
Thanks for the prompt reply! it would be In any browser.

Ideally i would like to create a desktop toolbar app using.Net MAUI and Blazor. Would i be able to make this frameless and dock the toolbar at the top of the screen so it sits above all browsers and applications?
 
Last edited:
Using just straight on Blazor only, I doubt that you'll be able to get a frameless window to float outside the browser. Using Blazor and some JavaScript, I think that you'll be able to create a frameless window that is owned by the browser, but the JavaScript will likely have to be browser specific. Now if you are using .NET MAUI, you can create any kind of window that is supported by MAUI, and then within that window, you can host your Blazor web assembly app, or host a browser that talks to your Blazor server code.
 
Back
Top Bottom