1 write to _options
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
28
_options
= options.Value;
15 references to _options
Microsoft.AspNetCore.SpaProxy (15)
SpaProxyLaunchManager.cs (15)
47
_logger.LogInformation($"No SPA development server running at {
_options
.ServerUrl} found.");
81
var response = await httpClient.GetAsync(
_options
.ServerUrl, cancellationTokenSource.Token);
112
var response = await httpClient.GetAsync(
_options
.ServerUrl, cancellationTokenSource.Token);
145
maxTimeoutReached = sw.Elapsed >=
_options
.MaxTimeout;
153
_logger.LogError($"Couldn't start the SPA development server with command '{
_options
.LaunchCommand}'.");
160
_logger.LogError($"Unable to connect to the SPA development server at '{
_options
.ServerUrl}'.");
165
_logger.LogInformation($"SPA development server running at '{
_options
.ServerUrl}'");
175
var space =
_options
.LaunchCommand.IndexOf(' ');
176
var command =
_options
.LaunchCommand[0..space];
177
var arguments =
_options
.LaunchCommand[++space..];
197
WorkingDirectory = Path.Combine(AppContext.BaseDirectory,
_options
.WorkingDirectory)
200
if (_spaProcess != null && !_spaProcess.HasExited && !
_options
.KeepRunning)
214
_logger.LogError(exception, $"Failed to launch the SPA development server '{
_options
.LaunchCommand}'.");
243
WorkingDirectory = Path.Combine(AppContext.BaseDirectory,
_options
.WorkingDirectory)
305
WorkingDirectory = Path.Combine(AppContext.BaseDirectory,
_options
.WorkingDirectory)