emonney / QuickApp

ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
https://www.ebenmonney.com/quickapp
MIT License
1.26k stars 594 forks source link

After switching to .netcore 2.2 'ResponseCacheAttribute' cannot be applied to Razor Page handler methods. It may be applied either to the Razor Page model or applied globally. #126

Closed IngoManthey closed 5 years ago

IngoManthey commented 5 years ago

Hi, I get the follow warning MVC1001: 'ResponseCacheAttribute' cannot be applied to Razor Page handler methods. It may be applied either to the Razor Page model or applied globally.

what can I do?

regards Ingo

emonney commented 5 years ago

If this is related to this issue: https://github.com/aspnet/templating/issues/563 then it should be fixed with the latest update. Otherwise paste the full stack trace here so we can trace the root cause