Share via


WebApplication.Run(String) Method

Definition

Runs an application and blocks the calling thread until host shutdown.

public void Run(string? url = default);
member this.Run : string -> unit
Public Sub Run (Optional url As String = Nothing)

Parameters

url
String

The URL to listen to if the server hasn't been configured directly.

Applies to