Using the [Authorize] attribute
The [Authorize] attribute is a way to limit access to a particular section of your MVC controller or action to an authenticated user.
I came to find this attribute during a college project where I needed to restrict access to specific pages within my...
rachaelkeenan.dev2 min read