using Avalonia.Web.Blazor; namespace ControlCatalog.Web; public partial class App { protected override void OnParametersSet() { WebAppBuilder.Configure() .AfterSetup(_ => { ControlCatalog.Pages.EmbedSample.Implementation = new EmbedSampleWeb(); }) //.With(new SkiaOptions { CustomGpuFactory = null }) // uncomment to disable GPU/GL rendering .SetupWithSingleViewLifetime(); base.OnParametersSet(); } }