Skip to main content

Remote Application

Configuration

When creating a new Hybrid Client application, an online application can be specified with the config.StartupUrl member.

Startup.cs
public static MauiApp Main()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()

.UseWisejHybrid((config) =>
{
// Provide the startup URL for the Hybrid WebView.
config.StartupUrl = "https://demo.wisej.com/Hybrid";
});

return builder.Build();
}

In the example above the client application registers an online app, hosted at demo.wisej.com. When the application starts up for the first time, it will navigate to this page.