This post is about configuring the ASP.NET identity with Sqlite Database. In ASP.NET5, you can configure the identity to use Sqlite by modifying the DbContext. Instead of using SqlServer, you can use Sqlite.
Here is the Startup.cs, configure services method.
And the Db context, you need override the OnConfiguring() method, and you can specify the provider with connection string.
And in the project.json file, you need to mention the Sqlite dependency as well.
Here is the Sqlite Database created.
Did you like this article? Share it with your friends