Skip to content

Say that dotnet run redirects HTTP to HTTPS - #61

Open
stphnwlsh wants to merge 1 commit into
mainfrom
fix/run-md-https
Open

stphnwlsh wants to merge 1 commit into
mainfrom
fix/run-md-https

Conversation

@stphnwlsh

@stphnwlsh stphnwlsh commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

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, GraphQL, Web API. 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
  • Documentation
  • Build, pipeline or dependency update

Shared layers

  • 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%.
  • 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).

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.
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Build Pipeline

✅ Ready to merge. Every stage passed.

Stage Result Details
Build 🟢 Passed Version 2026.11.06.219-pr-61 · Template package 248 KB
Test 🟢 Passed 304 passed · 0 failed · 0 skipped · Template installs, builds and passes its tests
Coverage 🟢 Passed 100% (1119 of 1119 lines) · Needs 95%
Static Analysis 🟢 Passed No open CodeQL alerts
Dependency Review 🟢 Passed 0 vulnerable packages · 0 licence problems
Container Scan 🟢 Passed Image starts and answers · No open Trivy alerts

Commit f36aa01 · Full run

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

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant