-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable AOT analysis and fix warnings (#1924)
- Loading branch information
Showing
22 changed files
with
312 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "7.0.100-preview.4.22252.9", | ||
"rollForward": "latestMajor" | ||
"version": "7.0.100-rc.2.22477.23", | ||
"rollForward": "latestMinor" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Param | ||
( | ||
[string]$protocol = "h2c", | ||
[string]$log_level = "None", | ||
[bool]$enable_cert_auth = $false, | ||
[bool]$publish_aot = $false | ||
) | ||
|
||
# Command line example: | ||
# .\RunGrpcServer.ps1 -publish_aot $true | ||
|
||
Write-Host "Protocol: $protocol" -ForegroundColor Cyan | ||
Write-Host "Log level: $log_level" -ForegroundColor Cyan | ||
Write-Host "Enable cert auth: $enable_cert_auth" -ForegroundColor Cyan | ||
Write-Host "Publish AOT: $publish_aot" -ForegroundColor Cyan | ||
Write-Host | ||
|
||
dotnet publish -r win-x64 -c Release --self-contained --output bin\Publish -p:PublishAot=$publish_aot | ||
if ($LASTEXITCODE -ne 0) | ||
{ | ||
exit; | ||
} | ||
|
||
.\bin\Publish\GrpcAspNetCoreServer.exe --protocol $protocol --logLevel $log_level --enableCertAuth $enable_cert_auth | ||
Write-Host | ||
|
||
Write-Host "Done" -ForegroundColor Cyan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"urls": "", | ||
"server.urls": "", | ||
"protocol": "h3", // This will be overriden when benchmarks are run | ||
"protocol": "h2c", // This will be overriden when benchmarks are run | ||
"certificateAuth": false, | ||
"LogLevel": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.