blazor-wasm-maui-winforms-wpf-template
dotnet-combine
blazor-wasm-maui-winforms-wpf-template | dotnet-combine | |
---|---|---|
3 | 1 | |
28 | 28 | |
- | - | |
0.0 | 7.4 | |
almost 4 years ago | about 1 year ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
blazor-wasm-maui-winforms-wpf-template
-
Making a Blazor app run on Web browser, Windows, Linux, Android, iOS and macOS
Next I decided to make a Windows desktop version using WebView. I also made a template https://github.com/Jinjinov/blazor-wasm-maui-winforms-wpf-template that is now somewhat obsolete. The biggest problem is loading the data from IndexedDB before the app starts. Blazor WASM allows you to use JsInterop right from the moment you register your services in dependency injection, so you can access IndexedDB immediately, load the user settings and then start the app. WebView doesn't allow you to use JsInterop before Blazor is initialized. This means that if the user chooses a dark UI theme and you save that choice in IndexedDB, the app will load with the default light UI theme, you will read the IndexedDB on the first render and then apply the dark UI theme. The app will flicker for a second.
-
I made a Blazor app that runs on 6 platforms
I made a template for a cross platform Blazor project: https://github.com/Jinjinov/blazor-wasm-maui-winforms-wpf-template But it is a bit outdated now.
- Minimal Blazor template with WASM, MAUI, WinForms and WPF
dotnet-combine
-
What is everyone using for code minification?
Yea, I'm already taking advantage of a few of the new .net 6 features like implicit using statements defined in the csproj file and not declaring namespaces anywhere in any of my code files. I've got my setup to the point where I can hit build in vscode and it runs dotnet-combine to merge all of my code into a single file then runs sed to strip out the Program class declaration and the closing brace so that I can just copy and paste the generated code into the programmable block.
What are some alternatives?
MudBlazor - Blazor Component Library based on Material design. The goal is to do more with Blazor, utilizing CSS and keeping Javascript to a bare minimum. [Moved to: https://github.com/MudBlazor/MudBlazor]
CSharpMinifier - .NET Standard Library & Tool for C# source code minification
TheLastTime - C# .NET 5 Blazor WebAssembly Progressive Web Application that tracks when was the last time you did something
azure-cost-cli - CLI tool to perform cost analysis on your Azure subscription
LiveCharts2 - Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
AOEMods.Essence - C# library and tools for working with Age of Empire 4's Essence engine (.sga, .rrtex, .rrgeom, .rgd currently)