I am trying to understand how [AllowAnonymous] tag works.
I have the following method
[HttpGet]
public ActionResult Add()
{
return View();
}
When I am not logged in, I am able to open this page. I have been under the impression that I can do that only if I put [AllowAnonymous] tag above the method that I should be able to do that. Is there a setting that I need to turn on to make this work?