2 writes to Cookie
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
CookieTempDataProviderTest.cs (2)
35Cookie = { Name = expectedCookieName } 238Cookie =
14 references to Cookie
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\ServerFactory.cs (1)
50.AddCookieTempDataProvider(o => o.Cookie.IsEssential = true);
Microsoft.AspNetCore.Mvc.ViewFeatures (12)
CookieTempDataProvider.cs (12)
60if (context.Request.Cookies.ContainsKey(_options.Cookie.Name)) 70var encodedValue = _chunkingCookieManager.GetRequestCookie(context, _options.Cookie.Name); 76Log.TempDataCookieLoadSuccess(_logger, _options.Cookie.Name); 82Log.TempDataCookieLoadFailure(_logger, _options.Cookie.Name, ex); 88_chunkingCookieManager.DeleteCookie(context, _options.Cookie.Name, _options.Cookie.Build(context)); 93Log.TempDataCookieNotFound(_logger, _options.Cookie.Name); 106var cookieOptions = _options.Cookie.Build(context); 115_chunkingCookieManager.AppendResponseCookie(context, _options.Cookie.Name, encodedValue, cookieOptions); 119_chunkingCookieManager.DeleteCookie(context, _options.Cookie.Name, cookieOptions); 125if (!string.IsNullOrEmpty(_options.Cookie.Path)) 127cookieOptions.Path = _options.Cookie.Path;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CookieTempDataProviderTest.cs (1)
157options.Cookie.SecurePolicy = cookieSecurePolicy;