mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
@@ -71,6 +71,7 @@ Describe "Validate start of console host" -Tag CI {
|
||||
}
|
||||
else {
|
||||
$allowedAssemblies += @(
|
||||
'System.Diagnostics.DiagnosticSource.dll'
|
||||
'System.Net.Sockets.dll'
|
||||
)
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="9.0.0-preview.6.24327.6" />
|
||||
<PackageReference Include="System.Formats.Asn1" Version="9.0.0-preview.6.24327.7" />
|
||||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="9.0.0-rc.1.24452.1" />
|
||||
<PackageReference Include="System.Formats.Asn1" Version="9.0.0-rc.1.24431.7" />
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -44,7 +44,10 @@ namespace mvc
|
||||
int.Parse(args[3]),
|
||||
listenOptions =>
|
||||
{
|
||||
#pragma warning disable SYSLIB0057
|
||||
var certificate = new X509Certificate2(args[0], args[1]);
|
||||
#pragma warning restore SYSLIB0057
|
||||
|
||||
HttpsConnectionAdapterOptions httpsOption = new HttpsConnectionAdapterOptions();
|
||||
httpsOption.SslProtocols = SslProtocols.Tls12;
|
||||
httpsOption.ClientCertificateMode = ClientCertificateMode.AllowCertificate;
|
||||
@@ -60,7 +63,10 @@ namespace mvc
|
||||
int.Parse(args[4]),
|
||||
listenOptions =>
|
||||
{
|
||||
#pragma warning disable SYSLIB0057
|
||||
var certificate = new X509Certificate2(args[0], args[1]);
|
||||
#pragma warning restore SYSLIB0057
|
||||
|
||||
HttpsConnectionAdapterOptions httpsOption = new HttpsConnectionAdapterOptions();
|
||||
|
||||
// TLS 1.1 is obsolete. Using this value now defaults to TLS 1.2.
|
||||
@@ -79,7 +85,10 @@ namespace mvc
|
||||
int.Parse(args[5]),
|
||||
listenOptions =>
|
||||
{
|
||||
#pragma warning disable SYSLIB0057
|
||||
var certificate = new X509Certificate2(args[0], args[1]);
|
||||
#pragma warning restore SYSLIB0057
|
||||
|
||||
HttpsConnectionAdapterOptions httpsOption = new HttpsConnectionAdapterOptions();
|
||||
|
||||
// TLS is obsolete. Using this value now defaults to TLS 1.2.
|
||||
@@ -98,7 +107,10 @@ namespace mvc
|
||||
int.Parse(args[6]),
|
||||
listenOptions =>
|
||||
{
|
||||
#pragma warning disable SYSLIB0057
|
||||
var certificate = new X509Certificate2(args[0], args[1]);
|
||||
#pragma warning restore SYSLIB0057
|
||||
|
||||
HttpsConnectionAdapterOptions httpsOption = new HttpsConnectionAdapterOptions();
|
||||
httpsOption.SslProtocols = SslProtocols.Tls13;
|
||||
httpsOption.ClientCertificateMode = ClientCertificateMode.AllowCertificate;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.0-preview.6.24328.4" />
|
||||
<PackageReference Include="System.Text.Encoding.CodePages" Version="9.0.0-preview.6.24327.7" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.0-rc.1.24452.1" />
|
||||
<PackageReference Include="System.Text.Encoding.CodePages" Version="9.0.0-rc.1.24431.7" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user