File: BrowserLaunchConfiguration.cs
Web Access
Project: src\src\Aspire.Hosting.JavaScript\Aspire.Hosting.JavaScript.csproj (Aspire.Hosting.JavaScript)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Text.Json.Serialization;
using Aspire.Hosting.Dcp.Model;
 
namespace Aspire.Hosting.JavaScript;
 
internal sealed class BrowserLaunchConfiguration() : ExecutableLaunchConfiguration("browser")
{
    [JsonPropertyName("url")]
    public string Url { get; set; } = string.Empty;
 
    [JsonPropertyName("web_root")]
    public string WebRoot { get; set; } = string.Empty;
 
    [JsonPropertyName("browser")]
    public string Browser { get; set; } = "msedge";
}