Skip to content

Update to .NET 10, adapt code style to Steeltoe conventions#22

Open
bart-vmware wants to merge 23 commits into
mainfrom
update-net10
Open

Update to .NET 10, adapt code style to Steeltoe conventions#22
bart-vmware wants to merge 23 commits into
mainfrom
update-net10

Conversation

@bart-vmware

@bart-vmware bart-vmware commented Jun 17, 2026

Copy link
Copy Markdown
Member

See the commit messages for details.

Important

This requires a change in Azure: add an environment variable WEBSITES_PORT with value 8080.

@github-actions

Copy link
Copy Markdown

Preview link: https://netcoretoolservice-pr-22.azurewebsites.net/api/new

  • Your changes have been deployed to the preview site. The preview site will update as you add more commits to this branch.
  • The preview link is shareable, but will be deleted when the pull request is merged or closed.

This is an automated message.

@bart-vmware bart-vmware marked this pull request as ready for review June 17, 2026 14:16
@bart-vmware bart-vmware requested a review from TimHess as a code owner June 17, 2026 14:16
Comment thread src/NetCoreToolService/Controllers/NewController.cs Outdated
Comment thread src/NetCoreToolService/Controllers/NewController.cs Outdated
Comment thread src/NetCoreToolService/SteeltoeUtils/Diagnostics/CommandExecutor.cs Outdated
Comment thread src/NetCoreToolService/Controllers/NewController.cs Outdated
Comment thread src/NetCoreToolService/Models/AboutLogger.cs Outdated
Comment thread src/NetCoreToolService/Program.cs Outdated
Comment thread src/NetCoreToolService/Controllers/NewController.cs Outdated
Comment thread src/NetCoreToolService/Packagers/ZipPackager.cs Outdated
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: Git checkout
uses: actions/checkout@v6

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
uses: actions/checkout@v6
uses: actions/checkout@v6
with:
persist-credentials: false

await _commandExecutor.ExecuteAsync($"{NetCoreTool.Command} new uninstall {nuGetId}", null, -1);
if (!AreSensitiveEndpointsEnabled())
{
return StatusCode((int)HttpStatusCode.ServiceUnavailable, SensitiveEndpointUnavailableMessage);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

503 doesn't seem right for these responses since retrying will still consistently result in failure. Maybe 404 instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants