338 references to UtcNow
aspire (4)
Aspire.Azure.Security.KeyVault.Tests (1)
Aspire.Cli.Tests (1)
Aspire.Confluent.Kafka (14)
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (3)
Aspire.Dashboard.Tests (3)
Aspire.Hosting (3)
Aspire.Hosting.Azure.Tests (18)
Aspire.Hosting.Testing.Tests (2)
Aspire.Hosting.Tests (2)
Aspire.Playground.Tests (2)
CdkSample.ApiService (3)
HttpAbstractions.SampleApp (1)
HttpStress (2)
InMemory.FunctionalTests (3)
Microsoft.AspNetCore.Components.Server (3)
Microsoft.AspNetCore.CookiePolicy.Test (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.DataProtection.Extensions (2)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (5)
Microsoft.AspNetCore.DataProtection.Tests (13)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (16)
Microsoft.AspNetCore.HeaderParsing.Tests (1)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Tests (3)
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Identity.FunctionalTests (7)
Microsoft.AspNetCore.Identity.Specification.Tests (11)
Microsoft.AspNetCore.Identity.Test (6)
Microsoft.AspNetCore.InternalTesting (6)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (3)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (3)
Microsoft.AspNetCore.OutputCaching.Tests (36)
OutputCacheMiddlewareTests.cs (24)
77using (var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK))
107using (var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK)
136using (var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK))
162using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
172var utcNow = DateTimeOffset.UtcNow;
176using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
210var utcNow = DateTimeOffset.UtcNow;
214using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
252var utcNow = DateTimeOffset.UtcNow;
256using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
273var utcNow = DateTimeOffset.UtcNow;
277using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
295using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
324using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK)
341using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
356using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
536var utcNow = DateTimeOffset.UtcNow;
556var utcNow = DateTimeOffset.UtcNow;
615using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
644using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
677using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
702using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
774using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
978using var entry = new OutputCacheEntry(DateTimeOffset.UtcNow, StatusCodes.Status200OK);
Microsoft.AspNetCore.ResponseCaching.Tests (21)
Microsoft.AspNetCore.Rewrite (9)
Microsoft.AspNetCore.Rewrite.Tests (1)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (7)
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.StaticAssets.Tests (3)
Microsoft.AspNetCore.StaticFiles (1)
Microsoft.AspNetCore.StaticFiles.Tests (1)
Microsoft.AspNetCore.Testing (2)
Microsoft.DotNet.ArcadeLogging (2)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
Microsoft.DotNet.Build.Tasks.Installers (2)
Microsoft.DotNet.XUnitAssert.Tests (1)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.AzureAIInference (2)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.AI.Tests (3)
Microsoft.Extensions.Caching.Abstractions (1)
Microsoft.Extensions.Caching.Hybrid.Tests (2)
Microsoft.Extensions.Caching.StackExchangeRedis (5)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (15)
Microsoft.Extensions.FileProviders.Embedded (2)
Microsoft.Extensions.FileProviders.Embedded.Tests (2)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.Identity.Core (4)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Console (3)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (2)
Microsoft.Extensions.TimeProvider.Testing.Tests (3)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Maui.Essentials (1)
OpenIdConnectSample (1)
SocialSample (2)
Sockets.FunctionalTests (4)
Stress.ApiService (1)
System.Diagnostics.DiagnosticSource (2)
System.Formats.Tar (1)
System.Net.Security (5)
System.Private.CoreLib (8)
System.Private.Windows.Core.Tests (1)
System.Security.Cryptography (9)
System.ServiceModel.Syndication (2)
System.Windows.Forms.UI.IntegrationTests (1)
WebTransportInteractiveSampleApp (2)
WebTransportSampleApp (2)