30 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)
25services.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.Server (1)
DependencyInjection\ComponentServiceCollectionExtensions.cs (1)
37services.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.Tests (15)
DataProtectionUtilityExtensionsTests.cs (4)
35.AddDataProtection() 66.AddDataProtection() 94.AddDataProtection() 117.AddDataProtection()
HostingTests.cs (3)
31s.AddDataProtection() 57s.AddDataProtection() 86s.AddDataProtection()
ServiceCollectionTests.cs (6)
22.AddDataProtection() 34.AddDataProtection() 39.AddDataProtection() 53.AddDataProtection() 84.AddDataProtection() 117.AddDataProtection()
TypeForwardingActivatorTests.cs (2)
15serviceCollection.AddDataProtection(); 32serviceCollection.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()