1 write to _socketPath
Aspire.Hosting.RemoteHost (1)
JsonRpcServer.cs (1)
61
_socketPath
= socketPath;
11 references to _socketPath
Aspire.Hosting.RemoteHost (11)
JsonRpcServer.cs (11)
112
_logger.LogInformation("Starting RemoteAppHost JsonRpc Server on {SocketPath}...",
_socketPath
);
141
_logger.LogInformation("Starting JsonRpc server on named pipe: {SocketPath}",
_socketPath
);
161
_socketPath
,
198
_logger.LogInformation("Starting JsonRpc server on Unix domain socket: {SocketPath}",
_socketPath
);
200
SocketPermissionHelper.CreateDirectory(Path.GetDirectoryName(
_socketPath
)!, repairExisting: _useDefaultSocketPath);
203
if (File.Exists(
_socketPath
))
205
File.Delete(
_socketPath
);
209
SocketPermissionHelper.Bind(_listenSocket,
_socketPath
);
375
if (_listenSocket is not null && File.Exists(
_socketPath
))
379
File.Delete(
_socketPath
);
383
_logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}",
_socketPath
);