Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add controller examples to output caching doc #32929

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

tdykstra
Copy link
Contributor

@tdykstra tdykstra commented Jun 25, 2024

Fixes #32741

Added controller examples and expanded on the intro text explaining that output caching works also in Razor Pages and MVC apps. Did not add examples specifically for RP and MVC, as that would have been repetitive since controller-based APIs, RP, and MVC all use the [OutputCache] attribute rather than the fluent API that can be used in Minimal API apps.


Internal previews

📄 File 🔗 Preview link
aspnetcore/performance/caching/output.md Output caching middleware in ASP.NET Core

@tdykstra tdykstra marked this pull request as ready for review July 5, 2024 22:56
@tdykstra tdykstra marked this pull request as draft July 5, 2024 23:09
@tdykstra tdykstra marked this pull request as ready for review July 5, 2024 23:30
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.

Add more context and sample code on Output Caching with Web API with controllers, MVC, and Razor Pages
1 participant