I need to create some roles to assign to users in my experiment asp.net mvc page. The roles would be static and pretty basic such as "canViewPageA" or "canCreateNews" and would be used by the view files and the layout to either display or not display some of the page.
What I'm confused over is how the thing works, is the ApplicationRoleManager a static class? or do I need to create an instance of it? Also, I'm staring at IdentityConfig.cs and the constructor for ApplicationRoleManager, is this the right place to create the roles?