IPersistenceStore
is the interface to implement.
Glimpse ships out of the box with an in memory store called ApplicationPersistenceStore
, but your implementation could write the data to a database, filesystem, distributed cache - whatever meets your needs.
To wire your implementation into Glimpse, you'll need to create an IServiceLocator
and configure Glimpse to use it via the serviceLocatorType
attribute on the glimpse
node in web.config
.
If you'd like to see a sample IServiceLocator
implementation, you can take a look at AspNetServiceLocator
.