Steps To Reproduce
- Installed SDK: 7.0.100-preview.6.22313.2 from https://github.com/dotnet/installer on Windows ARM64.
- Created a new F# webapi/mvc in CLI.
- Dotnet run the project.
Expected Behavior
Dotnet run the project without warning.
Actual Behavior
Dotnet run F# webapi/mvc with warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
F# webapi project:

F# mvc project:

.NET Version
7.0.100-preview.6.22313.2 from https://github.com/dotnet/installer.
Note
Dotnet run the F# wewbapi and mvc project successfully.
dotnet --info:
.NET SDK:
Version: 7.0.100-preview.6.22313.2
Commit: d3ce508e97
Runtime Environment:
OS Name: Windows
OS Version: 10.0.25094
OS Platform: Windows
RID: win10-arm64
Base Path: D:\Program Files\dotnet\sdk\7.0.100-preview.6.22313.2\
global.json file:
Not found
Host:
Version: 7.0.0-preview.6.22312.1
Architecture: arm64
Commit: 5c5e66e6c0
.NET SDKs installed:
7.0.100-preview.6.22313.2 [D:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.0-preview.6.22312.2 [D:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.0-preview.6.22312.1 [D:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 7.0.0-preview.6.22311.2 [D:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
Steps To Reproduce
Expected Behavior
Dotnet run the project without warning.
Actual Behavior
Dotnet run F# webapi/mvc with warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]


Failed to determine the https port for redirect.
F# webapi project:
F# mvc project:
.NET Version
7.0.100-preview.6.22313.2 from https://github.com/dotnet/installer.
Note
Dotnet run the F# wewbapi and mvc project successfully.
dotnet --info:
.NET SDK:
Version: 7.0.100-preview.6.22313.2
Commit: d3ce508e97
Runtime Environment:
OS Name: Windows
OS Version: 10.0.25094
OS Platform: Windows
RID: win10-arm64
Base Path: D:\Program Files\dotnet\sdk\7.0.100-preview.6.22313.2\
global.json file:
Not found
Host:
Version: 7.0.0-preview.6.22312.1
Architecture: arm64
Commit: 5c5e66e6c0
.NET SDKs installed:
7.0.100-preview.6.22313.2 [D:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.0-preview.6.22312.2 [D:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.0-preview.6.22312.1 [D:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 7.0.0-preview.6.22311.2 [D:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info