Repository navigation
Say that dotnet run redirects HTTP to HTTPS - #61
Merged
Merged
Conversation
RUN.md said the app only redirects outside local and Development, but only HSTS is off there. Under dotnet run, http://localhost:8080 redirects to https://localhost:8081, so RUN.md now says so and how to trust the development certificate.
Contributor
Build Pipeline✅ Ready to merge. Every stage passed.
Commit |
stphnwlsh
added a commit
to LeanMeanCleanApps/CleanMinimalApi
that referenced
this pull request
Nov 7, 2026
## Summary RUN.md said the app only redirects HTTP to HTTPS outside `local` and `Development`. Only HSTS is off there; `UseHttpsRedirection` always runs, so under `dotnet run` <http://localhost:8080> redirects to <https://localhost:8081>, and a plain `curl` gets an empty 307. RUN.md now says what `dotnet run` listens on, that HTTP redirects, and how to trust the development certificate. The behaviour stays as it is. The same change in the other templates: [MCP](LeanMeanCleanApps/CleanModelContextProtocol#61), [GraphQL](LeanMeanCleanApps/CleanGraphQLApi#61), [Web API](LeanMeanCleanApps/CleanWebApi#55). The docs site follows in LeanMeanCleanApps/leanmeancleanapps.github.io#21. ## Related issues None. ## Type of change - [ ] Bug fix - [ ] New feature - [ ] Breaking change (the generated solution or template parameters change in a way existing users will notice) - [ ] Refactoring or clean-up - [x] Documentation - [ ] Build, pipeline or dependency update ## Shared layers - [x] This only touches the Presentation layer of this template. - [ ] This touches the Application or Infrastructure layers, tests, pipeline or repository setup, so it needs to be carried across all five templates. ## Checklist - [ ] `dotnet build` and `dotnet test` pass locally with no warnings. - [ ] I added or updated tests, and line coverage stays at or above 95%. - [x] I updated the README or docs where behaviour changed. - [ ] If this changes how we do something, I updated the matching skill in `.agents/skills`. - [ ] I checked the template still installs and creates a working solution (see CONTRIBUTING.md).
stphnwlsh
added a commit
to LeanMeanCleanApps/CleanWebApi
that referenced
this pull request
Nov 7, 2026
## Summary RUN.md said the app only redirects HTTP to HTTPS outside `local` and `Development`. Only HSTS is off there; `UseHttpsRedirection` always runs, so under `dotnet run` <http://localhost:8080> redirects to <https://localhost:8081>, and a plain `curl` gets an empty 307. RUN.md now says what `dotnet run` listens on, that HTTP redirects, and how to trust the development certificate. The behaviour stays as it is. The same change in the other templates: [Minimal API](LeanMeanCleanApps/CleanMinimalApi#81), [MCP](LeanMeanCleanApps/CleanModelContextProtocol#61), [GraphQL](LeanMeanCleanApps/CleanGraphQLApi#61). The docs site follows in LeanMeanCleanApps/leanmeancleanapps.github.io#21. ## Related issues None. ## Type of change - [ ] Bug fix - [ ] New feature - [ ] Breaking change (the generated solution or template parameters change in a way existing users will notice) - [ ] Refactoring or clean-up - [x] Documentation - [ ] Build, pipeline or dependency update ## Shared layers - [x] This only touches the Presentation layer of this template. - [ ] This touches the Application or Infrastructure layers, tests, pipeline or repository setup, so it needs to be carried across all five templates. ## Checklist - [ ] `dotnet build` and `dotnet test` pass locally with no warnings. - [ ] I added or updated tests, and line coverage stays at or above 95%. - [x] I updated the README or docs where behaviour changed. - [ ] If this changes how we do something, I updated the matching skill in `.agents/skills`. - [ ] I checked the template still installs and creates a working solution (see CONTRIBUTING.md).
stphnwlsh
added a commit
to LeanMeanCleanApps/CleanGraphQLApi
that referenced
this pull request
Nov 7, 2026
## Summary RUN.md said the app only redirects HTTP to HTTPS outside `local` and `Development`. Only HSTS is off there; `UseHttpsRedirection` always runs, so under `dotnet run` <http://localhost:8080> redirects to <https://localhost:8081>, and a plain `curl` gets an empty 307. RUN.md now says what `dotnet run` listens on, that HTTP redirects, and how to trust the development certificate. The behaviour stays as it is. The same change in the other templates: [Minimal API](LeanMeanCleanApps/CleanMinimalApi#81), [MCP](LeanMeanCleanApps/CleanModelContextProtocol#61), [Web API](LeanMeanCleanApps/CleanWebApi#55). The docs site follows in LeanMeanCleanApps/leanmeancleanapps.github.io#21. ## Related issues None. ## Type of change - [ ] Bug fix - [ ] New feature - [ ] Breaking change (the generated solution or template parameters change in a way existing users will notice) - [ ] Refactoring or clean-up - [x] Documentation - [ ] Build, pipeline or dependency update ## Shared layers - [x] This only touches the Presentation layer of this template. - [ ] This touches the Application or Infrastructure layers, tests, pipeline or repository setup, so it needs to be carried across all five templates. ## Checklist - [ ] `dotnet build` and `dotnet test` pass locally with no warnings. - [ ] I added or updated tests, and line coverage stays at or above 95%. - [x] I updated the README or docs where behaviour changed. - [ ] If this changes how we do something, I updated the matching skill in `.agents/skills`. - [ ] I checked the template still installs and creates a working solution (see CONTRIBUTING.md).
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
RUN.md said the app only redirects HTTP to HTTPS outside
localandDevelopment. Only HSTS is off there;UseHttpsRedirectionalways runs, so underdotnet runhttp://localhost:8080 redirects to https://localhost:8081, and a plaincurlgets an empty 307. RUN.md now says whatdotnet runlistens on, that HTTP redirects, and how to trust the development certificate. The behaviour stays as it is.The same change in the other templates: Minimal API, GraphQL, Web API. The docs site follows in LeanMeanCleanApps/leanmeancleanapps.github.io#21.
Related issues
None.
Type of change
Shared layers
Checklist
dotnet buildanddotnet testpass locally with no warnings..agents/skills.