1 write to SocketPath
Aspire.Hosting (1)
Backchannel\AuxiliaryBackchannelService.cs (1)
50
SocketPath
= _appHostSocket.SocketPath;
39 references to SocketPath
Aspire.Hosting (3)
Backchannel\AuxiliaryBackchannelService.cs (3)
52
logger.LogDebug("Starting auxiliary backchannel service on socket path: {SocketPath}",
SocketPath
);
54
logger.LogDebug("Auxiliary backchannel listening on {SocketPath}",
SocketPath
);
111
var connectedEvent = new AuxiliaryBackchannelConnectedEvent(serviceProvider,
SocketPath
!, clientSocket);
Aspire.Hosting.Tests (36)
Backchannel\AuxiliaryBackchannelTests.cs (36)
40
Assert.NotNull(service.
SocketPath
);
41
Assert.True(File.Exists(service.
SocketPath
));
45
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
51
Assert.Equal(service.
SocketPath
, connectedEvent.SocketPath);
80
Assert.NotNull(service.
SocketPath
);
87
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
121
Assert.NotNull(service.
SocketPath
);
125
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
156
Assert.NotNull(service.
SocketPath
);
160
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
197
Assert.NotNull(service.
SocketPath
);
203
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
241
Assert.NotNull(service.
SocketPath
);
245
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
285
Assert.NotNull(service.
SocketPath
);
287
var fileName = Path.GetFileName(service.
SocketPath
);
290
var directory = Path.GetDirectoryName(service.
SocketPath
);
294
BackchannelConstants.GetSocketPathByteCountIncludingNull(service.
SocketPath
) <= BackchannelConstants.GetMaxSocketPathBytesIncludingNull(),
295
$"Socket path should fit the platform byte limit: {service.
SocketPath
}");
297
Assert.True(File.Exists(service.
SocketPath
), $"Socket file should exist at: {service.
SocketPath
}");
299
outputHelper.WriteLine($"Socket path: {service.
SocketPath
}");
321
Assert.NotNull(service.
SocketPath
);
325
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
362
Assert.NotNull(service.
SocketPath
);
366
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
399
Assert.NotNull(service.
SocketPath
);
403
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
448
Assert.NotNull(service.
SocketPath
);
452
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
490
Assert.NotNull(service.
SocketPath
);
494
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
533
Assert.NotNull(service.
SocketPath
);
537
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);
576
Assert.NotNull(service.
SocketPath
);
580
var endpoint = new UnixDomainSocketEndPoint(service.
SocketPath
);