Skip to main content

Timeline for Thread safe cache to sql call in c#

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Jan 22 at 13:53 history edited aaaaaa CC BY-SA 4.0
added 67 characters in body
Jan 22 at 0:04 comment added aaaaaa Thanks - yeah that would be an alternative solution with the value of avoiding a sql call at request-time
Jan 21 at 23:16 comment added iSR5 Your implementation seems fine to me, however, you can do a background service, where it starts independently at application startup. This service will cache those values from the database. and update them every 3 minutes. and you can then just fetch those values from the cache, instead.
S Jan 21 at 20:14 review First answers
Jan 21 at 23:10
S Jan 21 at 20:14 history edited toolic CC BY-SA 4.0
deleted 3 characters in body
S Jan 21 at 20:13 review First answers
Jan 21 at 20:14
S Jan 21 at 20:13 history answered aaaaaa CC BY-SA 4.0