Skip to content

tiagoavila/aspnet-core-identity-with-my-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASP.NET Core Identity with MySQL

Application in ASP.NET Core 2.0 with Identity using a MySQL Database.

Prerequisites

To make this works you need to install

How to use

After install Pomelo, enable Identity to use MySQL in the method ConfigureServices of your class Startup.cs.

public void ConfigureServices(IServiceCollection services)
{
    services.AddDbContext<ApplicationDbContext>(options =>
        options.UseMySql(Configuration.GetConnectionString("IdentityConnection")));

    (... another stuff)
}

About

Application in ASP.NET Core 2.0 with Identity using a MySQL Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages