3 implementations of SetCookie
Microsoft.AspNetCore.Server.Kestrel.Core (3)
21 writes to SetCookie
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.Cookies (1)
Microsoft.AspNetCore.CookiePolicy.Test (1)
Microsoft.AspNetCore.Http (4)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.OutputCaching.Tests (2)
Microsoft.AspNetCore.ResponseCaching.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (7)
47 references to SetCookie
CookiePolicySample (1)
Microsoft.AspNetCore.Authentication.Cookies (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.CookiePolicy.Test (22)
CookieConsentTests.cs (21)
30Assert.Equal("Test=Value; path=/", httpContext.Response.Headers.SetCookie);
49Assert.Equal(0, httpContext.Response.Headers.SetCookie.Count);
68Assert.Equal(0, httpContext.Response.Headers.SetCookie.Count);
94Assert.Equal("Test=Value; path=/", httpContext.Response.Headers.SetCookie);
113Assert.Equal("Test=Value; path=/", httpContext.Response.Headers.SetCookie);
143Assert.Equal(0, httpContext.Response.Headers.SetCookie.Count);
166Assert.Equal("Test=Value; path=/", httpContext.Response.Headers.SetCookie);
189Assert.Equal(0, httpContext.Response.Headers.SetCookie.Count);
217var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
267var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
305Assert.Equal("Test=Value; path=/", httpContext.Response.Headers.SetCookie);
338Assert.Equal(0, httpContext.Response.Headers.SetCookie.Count);
366Assert.Equal(0, httpContext.Response.Headers.SetCookie.Count);
398var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
445var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
489Assert.Equal("Test=Value1; path=/", httpContext.Response.Headers.SetCookie);
510var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
544Assert.Equal(0, httpContext.Response.Headers.SetCookie.Count);
574var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
627var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
672var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
Microsoft.AspNetCore.Http (4)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Tests (10)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.Rewrite.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)