ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
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
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.
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
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