lycian
Maui.Graphics, using a razor file instead of a .xaml.cs file
No idea what beam graphics is but you can definitely have a
Beam.razor.cs
or put code in an @code
block (I suggest the former). Then you'll just need to use an html canvas instead of a GraphicsView
. There's a package https://github.com/BlazorExtensions/Canvas to help make it easier to use in blazor3 replies
Custom JsonConverter to apply to interface or abstract class, anyone ?
I think the easiest way if you have an abstract base is to have either an int or enum for representing the type id and doing something like this https://stackoverflow.com/questions/20995865/deserializing-json-to-abstract-class
14 replies
MSBuild Condition for Design-Time and Compile-Time
This sounds like a very odd use case but if you need to do something in design time only follow https://github.com/dotnet/project-system/blob/main/docs/design-time-builds.md#determining-whether-a-target-is-running-in-a-design-time-build
7 replies
Azure Static Web App (Blazor) problem with CORS
this was with a slight modification to the template https://github.com/ryzngard/WASM_Static
16 replies