c# Authorization has been denied for this request

C#
[Authorize]
public class ValuesController : ApiController
Source

Also in C#: