Storage configuration

sqlite
Tags: #<Tag:0x00007f6a00484600>

#1

Hi,

When using Hangfire, is it possible to use xml files rather than SQL Server storage? I am thinking on the same lines as ELMAH, where the data is stored in App_Data, rather than a database.

Is this possible?

Thanks in advance.


#2

I don’t think it is possible right now, but it looks like creating something like Hangfire SQLite Storage would be simpler way to run hangfire without external storage.


#3

the hangfire sqlserver storage is using dapper for its data access. dapper also supports sqlite, so this should be easy to implement. with this setup you can run an embedded database.


#4

i have started on a SQLite storage package. https://github.com/vip32/Hangfire.SQLite/tree/master/src/Hangfire.SQLite


#5

Is the SQLite implementation production ready?