Skip to content

Light Freshness Edit: ASP.NET - host-and-deploy and mvc - #37057

Merged
tdykstra merged 4 commits into
dotnet:mainfrom
lootle1:FR48
Apr 29, 2026
Merged

Light Freshness Edit: ASP.NET - host-and-deploy and mvc#37057
tdykstra merged 4 commits into
dotnet:mainfrom
lootle1:FR48

Conversation

@lootle1

@lootle1 lootle1 commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains freshness updates to the following articles:

  • Visual Studio publish profiles (.pubxml) for ASP.NET Core app deployment
  • Host ASP.NET Core in a Windows Service
  • Handle requests with controllers in ASP.NET Core MVC
  • Filters in ASP.NET Core
  • Upload files in ASP.NET Core

Minor grammar/style updates. Link updates.
For request details, see 568764


Internal previews

📄 File 🔗 Preview link
aspnetcore/host-and-deploy/visual-studio-publish-profiles.md Visual Studio publish profiles (.pubxml) for ASP.NET Core app deployment
aspnetcore/host-and-deploy/windows-service.md Host ASP.NET Core in a Windows Service
aspnetcore/mvc/controllers/actions.md Handle requests with controllers in ASP.NET Core MVC
aspnetcore/mvc/controllers/filters.md aspnetcore/mvc/controllers/filters
aspnetcore/mvc/models/file-uploads.md Upload files in ASP.NET Core

@lootle1
lootle1 marked this pull request as ready for review April 28, 2026 20:17
@lootle1

lootle1 commented Apr 28, 2026

Copy link
Copy Markdown
Contributor Author

@tdykstra @wadepickett this PR is ready for review. Top comment has an overview but let me know if any other change requests. Thank you!

Comment thread aspnetcore/mvc/models/file-uploads.md Outdated
Comment thread aspnetcore/mvc/models/file-uploads.md Outdated
### File signature validation

A file's signature is determined by the first few bytes at the start of a file. These bytes can be used to indicate if the extension matches the content of the file. The sample app checks file signatures for a few common file types. In the following example, the file signature for a JPEG image is checked against the file:
The first few bytes at the start of a file determines a file's signature. These bytes can be used to indicate if the extension matches the content of the file. The sample app checks file signatures for a few common file types. In the following example, the file signature for a JPEG image is checked against the file:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The first few bytes at the start of a file determines a file's signature. These bytes can be used to indicate if the extension matches the content of the file. The sample app checks file signatures for a few common file types. In the following example, the file signature for a JPEG image is checked against the file:
The first few bytes at the start of a file determine the file's signature. These bytes can be used to indicate if the extension matches the content of the file. The sample app checks file signatures for a few common file types. In the following example, the file signature for a JPEG image is checked against the file:

@tdykstra
tdykstra merged commit 5884602 into dotnet:main Apr 29, 2026
4 checks passed
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.

2 participants