fix(aspnetcore): remove obsolete wwwroot README
Fixes #23223
Description
Removes the obsolete wwwroot/README.md generated by the ASP.NET Core server generator.
The file contains severely outdated information about the unreleased “ASP.NET 5 Preview,” including references to Bower, Gulp, project.json, and Visual Studio 2015. Microsoft renamed ASP.NET 5 to ASP.NET Core 1.0 before its general release:
Changes
- Removed
wwwroot/README.mdfrom the ASP.NET Core supporting files. - Deleted the obsolete template copies.
- Removed the file from generated ASP.NET Core samples.
- Added a test confirming the README is not registered as a supporting file while other wwwroot assets remain registered.
Note
Although the diff has a relatively large file count, it does not represent a broad functional change. The same static README was duplicated across generator templates and committed samples. It has no build or runtime role, and the remaining changes update generated-file manifests to reflect its removal. Generated ASP.NET Core server behavior is unchanged.
PR checklist
- Read the contribution guidelines.
- Run the following to build the project and update samples:
(For Windows users, please run the script in WSL)./mvnw clean package || exit ./bin/generate-samples.sh ./bin/configs/*.yaml || exit ./bin/utils/export_docs_generators.sh || exit
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/configs/java*.
IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed. - If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
@mandrean (2017/08) @shibayan (2020/02) @Blackclaws (2021/03) @lucamazzanti (2021/05) @iBicha (2023/07)
Summary by cubic
Remove the obsolete ASP.NET 5-era wwwroot/README.md from ASP.NET Core projects so we don’t ship outdated guidance. No build/runtime impact; other wwwroot assets are unchanged. Fixes #23223.
- Bug Fixes
- Stop registering
wwwroot/README.mdinAspNetServerCodegen. - Remove the README from ASP.NET Core templates and samples, and update
.openapi-generator/FILES. - Add a test to confirm the README is not registered while
wwwroot/index.htmlremains.
- Stop registering