There has to be a better way to do things than this annotation noodle soup. My eyes are bleeding every time I look at modern Net code.
replies(2):
That said, you would never get a PR through me that does this in the actual business logic. You can use things like AspNetCore without touching a single attribute if you really don't want to.