33 references to AddDataProtection
CustomEncryptorSample (1)
Program.cs (1)
17.AddDataProtection()
EntityFrameworkCoreSample (1)
Program.cs (1)
27.AddDataProtection()
KeyManagementSample (1)
Program.cs (1)
18.AddDataProtection()
Microsoft.AspNetCore.Antiforgery (1)
AntiforgeryServiceCollectionExtensions.cs (1)
24services.AddDataProtection();
Microsoft.AspNetCore.Antiforgery.Test (2)
AntiforgeryOptionsSetupTest.cs (2)
24.AddDataProtection() 49.AddDataProtection()
Microsoft.AspNetCore.Authentication (1)
AuthenticationServiceCollectionExtensions.cs (1)
24services.AddDataProtection();
Microsoft.AspNetCore.Authentication.Test (1)
SecureDataFormatTests.cs (1)
15serviceCollection.AddDataProtection();
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
TempData\TempDataProviderServiceExtensionsTest.cs (2)
21services.AddDataProtection(); 74services.AddDataProtection();
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ComponentServiceCollectionExtensions.cs (1)
40services.AddDataProtection();
Microsoft.AspNetCore.DataProtection (1)
DataProtectionServiceCollectionExtensions.cs (1)
54var builder = services.AddDataProtection();
Microsoft.AspNetCore.DataProtection.Extensions (1)
DataProtectionProvider.cs (1)
128var builder = serviceCollection.AddDataProtection();
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (1)
Benchmarks\SpanDataProtectorComparison.cs (1)
69services.AddDataProtection();
Microsoft.AspNetCore.DataProtection.Tests (15)
DataProtectionUtilityExtensionsTests.cs (4)
37.AddDataProtection() 68.AddDataProtection() 96.AddDataProtection() 119.AddDataProtection()
HostingTests.cs (3)
38s.AddDataProtection() 67s.AddDataProtection() 96s.AddDataProtection()
ServiceCollectionTests.cs (6)
26.AddDataProtection() 38.AddDataProtection() 43.AddDataProtection() 57.AddDataProtection() 88.AddDataProtection() 121.AddDataProtection()
TypeForwardingActivatorTests.cs (2)
19serviceCollection.AddDataProtection(); 36serviceCollection.AddDataProtection();
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
55services.AddDataProtection();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
132services.AddDataProtection();
Microsoft.AspNetCore.Session (1)
SessionServiceCollectionExtensions.cs (1)
27services.AddDataProtection();
Redis (1)
Program.cs (1)
21.AddDataProtection()