We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01d1f8c commit ec63515Copy full SHA for ec63515
MyApp/Program.cs
@@ -23,7 +23,7 @@
23
services.ConfigureApplicationCookie(options => options.DisableRedirectsForApis());
24
25
services.AddDataProtection()
26
- .PersistKeysToFileSystem(new DirectoryInfo("App_Data"));
+ .PersistKeysToFileSystem(new DirectoryInfo("App_Data".AssertDir()));
27
28
// Add application services.
29
services.AddSingleton<IEmailSender<ApplicationUser>, IdentityNoOpEmailSender>();
0 commit comments