Skip to content

Allow minimal api net 9 to build#3675

Open
haileymck wants to merge 1 commit intomainfrom
dev/hmckelvie/ensure-minimal-api-builds
Open

Allow minimal api net 9 to build#3675
haileymck wants to merge 1 commit intomainfrom
dev/hmckelvie/ensure-minimal-api-builds

Conversation

@haileymck
Copy link
Member

fixes #3578

build was failing for two reasons:

  1. the namespace of the model was not added to generated code after the minimal api scaffolding
  2. replace TypeResults.NavigateTo("notfound") with TypedResults.NotFound() in the generated code after the minimal api scaffolding

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.

Dotnet scaffold Minimal API in net 9 project build fails after scaffolding

2 participants