diff --git a/Program.cs b/Program.cs index 7d51927..ffe49d7 100644 --- a/Program.cs +++ b/Program.cs @@ -24,6 +24,7 @@ app.MapPost("/CacheData/Set", async (HttpRequest request, IDistributedCache cach body = await stream.ReadToEndAsync(); } cache.SetString(key, body); + Console.WriteLine($"{DateTime.Now:yyyy-MM-dd HH:mm:ss} [{key}[update to [{body}] "); return "success"; }); diff --git a/Properties/PublishProfiles/FolderProfile.pubxml b/Properties/PublishProfiles/FolderProfile.pubxml index 21ee1dd..dcbd1f7 100644 --- a/Properties/PublishProfiles/FolderProfile.pubxml +++ b/Properties/PublishProfiles/FolderProfile.pubxml @@ -15,10 +15,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121. <_TargetId>Folder net7.0 - win-x64 + linux-x64 true 295af217-802a-4cc5-a87c-ce1d68ed553f false - false \ No newline at end of file diff --git a/Sinet.CacheService.csproj b/Sinet.CacheService.csproj index 3a2d712..a68e7a1 100644 --- a/Sinet.CacheService.csproj +++ b/Sinet.CacheService.csproj @@ -4,6 +4,7 @@ net7.0 enable enable + false