Answer the question
In order to leave comments, you need to log in
How to authenticate in ASP.NET WebApi using [System.Web.Http.Authorize] attribute?
Hello.
I have a method in a WebApi controller which looks like this:
[Authorize]
public string Get(int x)
{
return "Hello";
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question