Another option is to use a single authorize filter as you posted but remove the inner quotations.
[Authorize(Roles="members,admin")]
More Related Contents:
- What are good candidates for base controller class in ASP.NET MVC?
- Can we pass model as a parameter in RedirectToAction?
- Real example of TryUpdateModel, ASP .NET MVC 3
- ASP.NET MVC – Should business logic exist in controllers?
- asp.net mvc decorate [Authorize()] with multiple enums
- How to pass parameters to a partial view in ASP.NET MVC?
- ASP.NET MVC Programmatically Get a List of Controllers
- Having troubles calling a Controller Post Method
- Submitting form and pass data to controller method of type FileStreamResult
- change controller name convention in ASP.NET MVC
- post and get with same method signature
- How to localize ASP.NET MVC application?
- URLs with slash in parameter?
- ASP.NET MVC3 and Entity Framework Code first architecture
- The anti-forgery token could not be decrypted
- Can’t Add View from Controller in VS 2015 : “There was an error running the selected code generator”
- How do I find the absolute url of an action in ASP.NET MVC?
- How can I return camelCase JSON serialized by JSON.NET from ASP.NET MVC controller methods?
- Caching in asp.net-mvc
- ASP.NET MVC – TempData – Good or bad practice
- Why do we use ViewModels?
- DateTime (date and hour) validation with Data Annotation
- What is the best ways to bind @Html.DropDownListFor in ASP.NET MVC5?
- OwinStartup not firing
- Adding a css class to select using @Html.DropDownList()
- ASP.NET MVC 3: Required steps for unobtrusive client-side validation of dynamic/AJAX content
- ASP.NET MVC posted file model binding when parameter is Model
- MVC3 Validation – Require One From Group
- How can dynamic breadcrumbs be achieved with ASP.net MVC?
- ASP.Net MVC DisplayFormat