Commit 4b8a617b authored by Paw's avatar Paw Committed by Ryan Nowak
Browse files


Added namespace location for AuthorizeAttribute
parent b7a2cff2
......@@ -21,6 +21,8 @@ public class OrdersController : Controller
The `AuthorizeAttribute` class is located in the `Microsoft.AspNetCore.Authorization` namespace.
If you try to run your application now, you'll find that you can no longer place orders, nor can you retrieve details of orders already placed. Requests to these endpoints will return HTTP 302 redirections to a login URL that doesn't exist. That's good, because it shows that rules are being enforced on the server!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment