lycian
StreamJsonRpc Question:
Short answer is yes. Assuming you're talking about https://github.com/Microsoft/vs-streamjsonrpc
3 replies
Restrict loaded assemblies:
(Sorry, been a hectic 24 hours)
You can provide your own hook when assemblies are loaded and reject them. It sort of solves the problem but like most things it doesn't fully restrict. The best way for that would be to use OS specific restrictions and another process
11 replies
Restrict loaded assemblies:
You'd like have each plugin in it's own ACL with the host providing the communication types https://github.com/dotnet/runtime/issues/96207#issuecomment-1875311453
11 replies
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