46 references to NativeApplicationServer
Aspire.Hosting.Native.Core.Tests (44)
DeclarativeApplicationTests.cs (1)
112
var session = new
NativeApplicationServer
().OpenApplication();
MilestoneDependencyTests.cs (2)
282
var workspace = new
NativeApplicationServer
().CreateApplicationWorkspace();
320
var session = new
NativeApplicationServer
().OpenApplication();
NativeAuxiliaryBackchannelTests.cs (10)
29
await using var host = new NativeAuxiliaryTestHost(new
NativeApplicationServer
(), options, rpc);
62
await using var host = new NativeAuxiliaryTestHost(new
NativeApplicationServer
(), options, implementation);
75
var server = new
NativeApplicationServer
();
110
var server = new
NativeApplicationServer
();
160
var server = new
NativeApplicationServer
();
202
var server = new
NativeApplicationServer
();
247
var server = new
NativeApplicationServer
();
277
var server = new
NativeApplicationServer
();
329
var server = new
NativeApplicationServer
();
391
await using (var host = new NativeAuxiliaryTestHost(new
NativeApplicationServer
()))
NativeCliControlTests.cs (2)
21
var server = new
NativeApplicationServer
();
69
var server = new
NativeApplicationServer
();
NativeCliProtocolTests.cs (7)
103
await using var host = NativeCliTestHost.Start(new
NativeApplicationServer
(), options, () => new(), rpc);
162
await using var host = NativeCliTestHost.Start(new
NativeApplicationServer
(), options, () => new(), rpc);
173
await using var host = NativeCliTestHost.Start(new
NativeApplicationServer
(), new(), () => urls);
188
var server = new
NativeApplicationServer
();
214
await using var host = NativeCliTestHost.Start(new
NativeApplicationServer
(), options, () => new());
239
await using var host = NativeCliTestHost.Start(new
NativeApplicationServer
(),
255
return new(path, new
NativeApplicationServer
(), () => { }, _ => Task.FromResult(new NativeCliDashboardUrls()),
NativeIpcSecurityTests.cs (2)
48
await using var cli = NativeCliTestHost.Start(new
NativeApplicationServer
(), new(), () => new());
50
await using var auxiliary = new NativeAuxiliaryTestHost(new
NativeApplicationServer
());
NativeModelAlignmentTests.cs (5)
16
var session = new
NativeApplicationServer
().OpenApplication();
42
var server = new
NativeApplicationServer
();
64
var session = new
NativeApplicationServer
().OpenApplication();
90
var session = new
NativeApplicationServer
().OpenApplication();
102
var session = new
NativeApplicationServer
().OpenApplication();
NativePipelineTests.cs (12)
25
var server = new
NativeApplicationServer
();
55
var server = new
NativeApplicationServer
();
77
var server = new
NativeApplicationServer
();
87
var server = new
NativeApplicationServer
();
104
var server = new
NativeApplicationServer
();
128
var server = new
NativeApplicationServer
();
137
var server = new
NativeApplicationServer
();
179
var server = new
NativeApplicationServer
();
193
var server = new
NativeApplicationServer
();
220
var server = new
NativeApplicationServer
();
240
var server = new
NativeApplicationServer
();
267
var server = new
NativeApplicationServer
();
NativePublishingTests.cs (2)
64
var server = new
NativeApplicationServer
();
98
var server = new
NativeApplicationServer
();
NativeSocketIsolationTests.cs (1)
29
new Aspire.Hosting.Native.Api.
NativeApplicationServer
(), null, options);
Aspire.Hosting.Native.Server (2)
Rpc\NativeRpcConnection.cs (1)
223
public NativeRpcConnection(string token) : this(token, new
NativeApplicationServer
(), ownsServer: true, null)
Rpc\NativeRpcListener.cs (1)
36
: this(endPoint, token, logger, new
NativeApplicationServer
())