Hangfire with local database .net core

Hello all,
I want to make an application which will work on linux and windows environments without any database, i tried to run sqlite version on .netcore webapi application but i couldn’t. Can anyone tried running sqlite on .netcore? Or does anyone has any better idea?