I have this code
As you can see Roles is highlighted and that is what is causing the problem. The error says
'Microsoft.AspNet.Identity.RoleManager' does not contain a definition for 'Roles' and no extension method 'Roles' accepting a first argument of type 'Microsoft.AspNet.Identity.RoleManager' could be found (are you missing a using directive or an assembly reference?)
It is saying are you missing reference or assembly? I am new to identity. I don't know what could be the problem. My header files seem to be fine
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using WebSite2;