Skip to content
代码片段 群组 项目
用户头像
Steve Sanderson 编辑于
# Add <title> to empty wasm template index.html

Add <title> to empty wasm template index.html

## Description

The new Blazor WebAssembly "empty" project template lacks a `<title>`, but (1) everyone wants a title, and (2) the `<title>` element is required by the HTML spec - we can't omit it without the document being invalid. This PR adds it.

Fixes #44335

## Customer Impact

Without fixing this, newly-created projects don't conform to the HTML spec by default. And it's just strange.

## Regression?

- [ ] Yes
- [x] No - the empty wasm template is new in 7.0

[If yes, specify the version the behavior has regressed from]

## Risk

- [ ] High
- [ ] Medium
- [x] Low

It's just adding a `<title>` element to a plain-text HTML file, equivalently to how it already appears in the non-empty template.

## Verification

- [x] Manual (required)
- [ ] Automated

## Packaging changes reviewed?

- [ ] Yes
- [ ] No
- [x] N/A
265991ca
历史

.NET Foundation MIT License Help Wanted Good First Issues Discord

ASP.NET Core

ASP.NET Core is an open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends. ASP.NET Core apps run on .NET, a free, cross-platform and open-source application runtime. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. Learn more about ASP.NET Core.

Get Started

Follow the Getting Started instructions in the ASP.NET Core docs.

Also check out the .NET Homepage for released versions of .NET, getting started guides, and learning resources.

See the Triage Process document for more information on how we handle incoming issues.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Related projects

These are some other repos for related projects:

Code of conduct

See CODE-OF-CONDUCT