Commit Graph

34 Commits

Author SHA1 Message Date
Jeff Leung 3a56e2426e Move geofeed web logic to a seperate project as core lib as asp.net core project is causing weird issues 2024-01-18 16:15:04 -08:00
Jeff Leung 0c3edd64f3 Unify logic of generating the webside unlike a different version we had for MVC and Minimal API 2024-01-18 15:57:01 -08:00
Jeff Leung c1ed05a335 Append when the GeoFeed is retrieved and if it was generated from in memory cache 2024-01-16 13:05:58 -08:00
Jeff Leung a44b4f9421 Initial work on getting minimal API to work 2024-01-13 16:44:03 -08:00
Jeff Leung 81d01f28a3 Add initial work to get minimal API's going 2024-01-13 13:30:28 -08:00
Jeff Leung bdd247e6e0 Inital work on breaking out the core logic out of the MVC API Web App in preparation to migrating to minimal API's in a seperate project 2024-01-13 12:42:46 -08:00
Jeff Leung 52708bd2c2 Add self contained runtime deployment 2024-01-13 12:15:55 -08:00
Jeff Leung 1f3778095c Make the code cleaner to read 2024-01-08 23:18:26 -08:00
Jeff Leung 2d68115f25 Complete the implementation of returning cached data from the local disk cache 2024-01-08 10:41:25 -08:00
Jeff Leung 020db780a6 Add example connection string 2024-01-08 10:23:02 -08:00
Jeff Leung 5fec5f4f92 Forward all cancellation tokens and run the local cache first 2024-01-08 10:22:51 -08:00
Jeff Leung c43b218974 Add necessary tools 2024-01-08 10:08:46 -08:00
Jeff Leung c18e486750 Add initial DB Migrations 2024-01-08 10:08:36 -08:00
Jeff Leung 9974bb5f0c Create various scopes - forgot that EF Core DBContexts don't work in a singleton service 2024-01-08 10:08:28 -08:00
Jeff Leung 37841db663 Inject the necessary services into the DI container 2024-01-08 09:57:51 -08:00
Jeff Leung e974635cfb Break it out to individual files and initial cache service 2024-01-08 09:57:37 -08:00
Jeff Leung 2fa8f32f44 Initial work on caching without calling dependencies 2024-01-08 09:18:35 -08:00
Jeff Leung 6e9d58c6e3 Initial skeleton work of periodic on disk caching 2024-01-08 00:13:08 -08:00
Jeff Leung 8e9b61d9b2 Comment in the geofeed 2024-01-07 14:58:40 -08:00
Jeff Leung e68e3b14cd Include the postal code 2024-01-07 14:58:33 -08:00
Jeff Leung 01ccc1ab91 Don't preload if it's a development envrionment 2024-01-05 16:51:40 -08:00
Jeff Leung 14f8ea618a Move away from Newtonsoft.Json 2024-01-05 16:51:28 -08:00
Jeff Leung 04d00e0fe9 Handle errors 2024-01-05 16:35:24 -08:00
Jeff Leung 8a18e71a6f Don't crash the app on startup if we can't preload the GeoFeed 2024-01-05 16:20:41 -08:00
Jeff Leung e49ec42f30 Switch to Alpine Linux and enable multiarch builds 2024-01-05 15:58:28 -08:00
Jeff Leung 5b367121c4 Move towards explicit types 2024-01-05 15:22:16 -08:00
Jeff Leung db05b0b815 Actually include the data 2024-01-04 23:47:01 -08:00
Jeff Leung 16ee1f98ed Parse geloc_postal_code values 2024-01-04 23:41:43 -08:00
Jeff Leung fec33bff1d Don't use memory cache if it's in development mode 2024-01-04 23:41:31 -08:00
Jeff Leung af492dedff Update bump the batch size to 50 at a time 2024-01-04 23:19:51 -08:00
Jeff Leung c5bb3843aa Update sliding window cache timers 2024-01-04 23:19:01 -08:00
Jeff Leung 6c7a007f96 Rename file 2024-01-04 23:18:50 -08:00
Jeff Leung 94b7234b42 Add an extra trailing comma to accomodate for Postal Code 2024-01-04 22:17:12 -08:00
Jeff Leung 6fe03cfade Add project files. 2024-01-04 20:39:36 -08:00