Is there a way to \"bypass\" authorization in asp.net core? I noticed that the Authorize attribute no longer has a AuthorizeCore method with which you could use to make dec
Expanding off of John_J's answer:
public void ConfigureServices(IServiceCollection services) { ... #if DEBUG services.AddMvc(opts => { opts.Filters.Add(new AllowAnonymousFilter()); }); #else services.AddMvc(); #endif }