You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The process was immediately terminating at startup; used AI to figure out that binary header having execute flag was causing the issue. --no-execute-only for the rescue.
am11@foo:~$ uname -a
OpenBSD foo.mshome.net 7.8 GENERIC.MP#54 amd64
am11@foo:~/projects/api1$ ~/projects/runtime/.dotnet/dotnet new webapiaot -n api1 &&cd$_
am11@foo:~/projects/api1$ ~/projects/runtime/.dotnet/dotnet publish -p:PublishAot=true -o dist
am11@foo:~/projects/api1$ dist/api1
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/am11/projects/api1
# on second terminal
am11@foo:~$ curl -sSL http://localhost:5000/todos | jq
[
{
"id": 1,
"title": "Walk the dog",
"dueBy": null,
"isComplete": false
},
{
"id": 2,
"title": "Do the dishes",
"dueBy": "2026-06-22",
"isComplete": false
},
{
"id": 3,
"title": "Do the laundry",
"dueBy": "2026-06-23",
"isComplete": false
},
{
"id": 4,
"title": "Clean the bathroom",
"dueBy": null,
"isComplete": false
},
{
"id": 5,
"title": "Clean the car",
"dueBy": "2026-06-24",
"isComplete": false
}
]
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The process was immediately terminating at startup; used AI to figure out that binary header having execute flag was causing the issue.
--no-execute-onlyfor the rescue.Contributes to #124911.