diff --git a/AS1024.GeoFeed/AS1024.GeoFeed.csproj b/AS1024.GeoFeed/AS1024.GeoFeed.csproj index 18bbe69..93afaf8 100644 --- a/AS1024.GeoFeed/AS1024.GeoFeed.csproj +++ b/AS1024.GeoFeed/AS1024.GeoFeed.csproj @@ -9,6 +9,11 @@ + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + diff --git a/AS1024.GeoFeed/GeoFeedBuilder/GeoFeedCacheService.cs b/AS1024.GeoFeed/GeoFeedBuilder/GeoFeedCacheService.cs new file mode 100644 index 0000000..33dd36e --- /dev/null +++ b/AS1024.GeoFeed/GeoFeedBuilder/GeoFeedCacheService.cs @@ -0,0 +1,26 @@ + +using System.ComponentModel.DataAnnotations; +using AS1024.GeoFeed.Models; +using Microsoft.EntityFrameworkCore; + +public class GeoFeedCacheService : IHostedService +{ + public Task StartAsync(CancellationToken cancellationToken) + { + throw new NotImplementedException(); + } + + public Task StopAsync(CancellationToken cancellationToken) + { + throw new NotImplementedException(); + } +} + +public class GeoFeedCacheEntry : IPGeoFeed { + [Key] + public int Id { get; set; } +} + +public class GeoFeedCacheDbContext : DbContext { + public virtual DbSet GeoFeedCacheEntries {get;set;} +} \ No newline at end of file