SlightlyTango
SlightlyTango
CC#
Created by SlightlyTango on 2/19/2025 in #help
Blazor windows forms server
(which might not be possible, when I am reading the manual now, since it seems like it's fundamentally not how it works)
4 replies
CC#
Created by SlightlyTango on 2/19/2025 in #help
Blazor windows forms server
var services = new ServiceCollection();
services.AddWindowsFormsBlazorWebView();
blazorWebView1.HostPage = "wwwroot\\index.html";
blazorWebView1.Services = services.BuildServiceProvider();
blazorWebView1.RootComponents.Add<Counter>("#app");
var services = new ServiceCollection();
services.AddWindowsFormsBlazorWebView();
blazorWebView1.HostPage = "wwwroot\\index.html";
blazorWebView1.Services = services.BuildServiceProvider();
blazorWebView1.RootComponents.Add<Counter>("#app");
I am trying to expose it not just inside of the desktop app, but also as a simple webserver.
4 replies