Add [NonAction] at startup of net8 application #61733
Unanswered
JanibashaShaikTR
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
We have recently in progress of upgrading our complex .NET Framework application to .NET8.0. During the process, currently i am facing with a challenge, we have several controllers which has public override methods and other public methods which are Non APIs. When i decorate controller class with [ApiController] its expecting routes for my non api, to fix this issue i have to add [NonAction] for all these methods. Based on count, its very much of manual work to do. I would like to ask, if we can handle it any better way.
Options tried -
Thanks in Advance.
Beta Was this translation helpful? Give feedback.
All reactions