Bolero without Razor
See original GitHub issueCurrently building a proof of concept with Blazor Server Side and Bolero.
Everything works as expected - all I want to do now is get rid of the _Host.cshtml
file and replace it with just code.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Blazor without Razor?
It's not C#, but the F# Bolero project allows you to write views with either F# and/or HTML templates. Could be fun learning...
Read more >Hosting models - Bolero: F# in WebAssembly
Note that prerendering is not possible in plain WebAssembly mode. ... It can also be used with an F# application with Razor runtime...
Read more >Bolero Beverly Hills Charcoal + Bamboo Men's Shave & ...
Shop Amazon for Bolero Beverly Hills Charcoal + Bamboo Men's Shave & After Shave Lotion Cream 2 Pack Set ... Non-returnable due to...
Read more >Using Blazor features - Bolero: F# in WebAssembly
This section documents how to use a Blazor Component, either referenced from a C# Razor project, or created in F# by inheriting from...
Read more >BOLERO Beverly hills Mens Shave set 4 pcs(Cedar wood ...
Amazon.com: BOLERO Beverly hills Mens Shave set 4 pcs(Cedar wood + eucalyptus and Charcoal+ Bamboo) : Beauty ... Non-returnable due to hazmat safety...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @Tarmil !
I have a non hacky version! It also uses the Bolero DSL to generate the root serving/host page which makes it nicely coherent.
Would be nice if this could be simplified to not need a container & context. (maybe we could provide a host base class that provides methods to enable that, …)
This code just works but still needs some polishing:
Yeah, rendering the bootstrapping document wasn’t that straightforward. Wasn’t sure if rendering it as a static component would just work - but really like how it turned out.
Ahh ok.
So I guess we can nuke the
_Host.cshtml
file finally 🥳