9 writes to ApplicationProtocols
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
988ApplicationProtocols = new(),
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
309ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http3 }
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\SniOptionsSelector.cs (1)
191ApplicationProtocols = sslOptions.ApplicationProtocols?.ToList(),
Middleware\HttpsConnectionMiddleware.cs (2)
359serverOptions.ApplicationProtocols = new List<SslApplicationProtocol>(); 545ApplicationProtocols = new List<SslApplicationProtocol>() { SslApplicationProtocol.Http3 },
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
834ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicConnectionListener.cs (1)
79serverAuthenticationOptions.ApplicationProtocols ??= _tlsConnectionCallbackOptions.ApplicationProtocols;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
QuicConnectionListenerTests.cs (1)
173options.ApplicationProtocols = new List<SslApplicationProtocol>();
QuicTestHelpers.cs (1)
85sslServerAuthenticationOptions.ApplicationProtocols = new List<SslApplicationProtocol>() { SslApplicationProtocol.Http3 };
17 references to ApplicationProtocols
Microsoft.AspNetCore.Server.Kestrel.Core (5)
HttpsConfigurationService.cs (1)
153ApplicationProtocols = sslServerAuthenticationOptions.ApplicationProtocols ?? new List<SslApplicationProtocol> { SslApplicationProtocol.Http3 },
Internal\SniOptionsSelector.cs (1)
191ApplicationProtocols = sslOptions.ApplicationProtocols?.ToList(),
Middleware\HttpsConnectionMiddleware.cs (3)
364serverOptions.ApplicationProtocols.Add(SslApplicationProtocol.Http2); 371serverOptions.ApplicationProtocols.Add(SslApplicationProtocol.Http11); 457if (sslOptions.ApplicationProtocols == null)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
SniOptionsSelectorTests.cs (6)
634var alpnList = options.ApplicationProtocols; 871Assert.NotSame(options.ApplicationProtocols, clonedOptions.ApplicationProtocols); 872Assert.Equal(Assert.Single(options.ApplicationProtocols), Assert.Single(clonedOptions.ApplicationProtocols)); 873Assert.True(propertyNames.Remove(nameof(options.ApplicationProtocols)));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Internal\QuicConnectionListener.cs (2)
112if (serverAuthenticationOptions.ApplicationProtocols == null || serverAuthenticationOptions.ApplicationProtocols.Count == 0)
Internal\QuicLog.cs (1)
204[LoggerMessage(19, LogLevel.Warning, $"{nameof(SslServerAuthenticationOptions)} must provide at least one application protocol using {nameof(SslServerAuthenticationOptions.ApplicationProtocols)}.", EventName = "ConnectionListenerApplicationProtocolsNotSpecified")]
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicTestHelpers.cs (1)
93ApplicationProtocols = sslServerAuthenticationOptions.ApplicationProtocols,
System.Net.Quic (1)
System\Net\Quic\Internal\MsQuicConfiguration.cs (1)
117return Create(options, flags, certificate, intermediates, authenticationOptions.ApplicationProtocols, authenticationOptions.CipherSuitesPolicy, authenticationOptions.EncryptionPolicy);
System.Net.Security (1)
System\Net\Security\SslAuthenticationOptions.cs (1)
107ApplicationProtocols = sslServerAuthenticationOptions.ApplicationProtocols;