8 references to DefaultCookieName
LocalizationSample (2)
Startup.cs (2)
61var cookieValue = '{CookieRequestCultureProvider.DefaultCookieName}=c='+culture.options[culture.selectedIndex].value+'|uic='+uiCulture.options[uiCulture.selectedIndex].value; 67document.cookie='{CookieRequestCultureProvider.DefaultCookieName}=""""';
Microsoft.AspNetCore.Localization (2)
CookieRequestCultureProvider.cs (2)
24/// Defaults to <see cref="DefaultCookieName"/>. 26public string CookieName { get; set; } = DefaultCookieName;
Microsoft.AspNetCore.Localization.FunctionalTests (2)
LocalizationSampleTest.cs (1)
34request.Headers.Add("Cookie", $"{CookieRequestCultureProvider.DefaultCookieName}={cookieValue}");
LocalizationTest.cs (1)
113request.Headers.Add("Cookie", $"{CookieRequestCultureProvider.DefaultCookieName}={cookieValue}");
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
ViewEngineTests.cs (2)
165new CookieHeaderValue(CookieRequestCultureProvider.DefaultCookieName, cultureCookie).ToString()); 309new CookieHeaderValue(CookieRequestCultureProvider.DefaultCookieName, cultureCookie).ToString());