O que entra no DbContextOptions ao invocar um novo DbContext?

Eu não estou usando DI e simplesmente quero chamar um DbContext de dentro do meu controlador. Estou lutando para descobrir quais devem ser as 'opções'?

ApplicationDbContext.cs

    public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{

    public DbSet<Gig> Gigs { get; set; }
    public DbSet<Genre> Genres { get; set; }


    public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
        : base(options)
    {
    }

    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);
        // Customize the ASP.NET Identity model and override the defaults if needed.
        // For example, you can rename the ASP.NET Identity table names and more.
        // Add your customizations after calling base.OnModelCreating(builder);
    }
}

GigsController.cs

    public class GigsController : Controller
{
    private ApplicationDbContext _context;

    public GigsController()
    {
        _context = new ApplicationDbContext();
    }


    public IActionResult Create()
    {
        var viewModel = new GigFormViewModel
        {
            Genres = _context.Genres.ToList()
        };


        return View(viewModel);
    }
}

O problema está no meu construtor GigsController:

_context = new ApplicationDbContext();

Estou errando porque preciso passar algo para o ApplicationDbContext. Não há argumento fornecido que corresponda ao parâmetro formal obrigatório 'opções' de 'ApplicationDbContext.ApplicationDbContext (DbContextOptions)'

Tentei criar um construtor padrão no ApplicationDbContext derivado de base (), mas isso também não funcionou.

No meu startup.cs, eu configurei o ApplicationDbContext

        public void ConfigureServices(IServiceCollection services)
    {
        // Add framework services.
        services.AddDbContext<ApplicationDbContext>(options =>
            options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));

        services.AddIdentity<ApplicationUser, IdentityRole>()
            .AddEntityFrameworkStores<ApplicationDbContext>()
            .AddDefaultTokenProviders();

        services.AddMvc();

        // Add application services.
        services.AddTransient<IEmailSender, AuthMessageSender>();
        services.AddTransient<ISmsSender, AuthMessageSender>();
    }

questionAnswers(2)

yourAnswerToTheQuestion