49 writes to Title
BasicWebSite (2)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (4)
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Http.Extensions.Tests (12)
ProblemDetailsDefaultWriterTest.cs (12)
36Title = "Custom Bad Request",
73Title = "Custom Bad Request",
105Title = "Custom Bad Request",
139Title = "Custom Bad Request",
181Title = "Custom Bad Request",
221Title = "Custom Bad Request",
258Title = "Custom Bad Request",
301Title = "Custom Bad Request",
344Title = "Custom Bad Request",
387Title = "Custom Bad Request",
430Title = "Custom Bad Request",
577context.ProblemDetails.Title = "Custom Title";
Microsoft.AspNetCore.Http.Results (5)
Microsoft.AspNetCore.Http.Results.Tests (4)
Microsoft.AspNetCore.Mvc.Core (8)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
XmlFormattersWebSite (1)
119 references to Title
Microsoft.AspNetCore.Http.Abstractions.Tests (11)
ProblemDetailsJsonConverterTest.cs (7)
51Assert.Equal(title, problemDetails.Title);
82Assert.Equal(title, problemDetails.Title);
114Assert.Equal(title, problemDetails.Title);
146Assert.Equal(title, problemDetails.Title);
175var expected = $"{{\"type\":\"{JsonEncodedText.Encode(value.Type)}\",\"title\":\"{value.Title}\",\"status\":{value.Status},\"detail\":\"{value.Detail}\",\"instance\":\"{JsonEncodedText.Encode(value.Instance)}\",\"traceId\":\"{traceId}\",\"some-data\":[\"value1\",\"value2\"]}}";
199var expected = $"{{\"type\":\"{JsonEncodedText.Encode(value.Type)}\",\"title\":\"{value.Title}\",\"status\":{value.Status}}}";
230var expected = $"{{\"type\":\"{JsonEncodedText.Encode(value.Type)}\",\"title\":\"{value.Title}\",\"status\":{value.Status},\"detail\":\"{value.Detail}\",\"instance\":\"{JsonEncodedText.Encode(value.Instance)}\",\"traceId\":null,\"some-data\":[\"value1\",\"value2\"]}}";
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Extensions.Tests (21)
ProblemDetailsDefaultWriterTest.cs (21)
53Assert.Equal(expectedProblem.Title, problemDetails.Title);
158Assert.Equal(expectedProblem.Title, problemDetails.Title);
198Assert.Equal(expectedProblem.Title, problemDetails.Title);
238Assert.Equal(expectedProblem.Title, problemDetails.Title);
277Assert.Equal(expectedProblem.Title, problemDetails.Title);
320Assert.Equal(expectedProblem.Title, problemDetails.Title);
363Assert.Equal(expectedProblem.Title, problemDetails.Title);
406Assert.Equal(expectedProblem.Title, problemDetails.Title);
449Assert.Equal(expectedProblem.Title, problemDetails.Title);
563Assert.Equal("An error occurred while processing your request.", problemDetails.Title);
599Assert.Equal("Custom Title", problemDetails.Title);
631Assert.Equal(title, problemDetails.Title);
Microsoft.AspNetCore.Http.Results (11)
Microsoft.AspNetCore.Http.Results.Tests (26)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.Core (9)
Microsoft.AspNetCore.Mvc.Core.Test (29)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)