Whenever you're ready, walk me through how you'd approach this.
How do you ensure security in your API endpoints when building with .NET?
Explain a practical approach for securing ASP.NET Core endpoints from authentication through authorization, input validation, abuse prevention, error handling, and monitoring. Name specific .NET mechanisms and describe how you would verify that the controls work.