1 write to Permanent
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
63Permanent = permanent;
20 references to Permanent
Microsoft.AspNetCore.Http.Results (2)
RedirectHttpResult.cs (2)
111httpContext.Response.StatusCode = Permanent 118httpContext.Response.Redirect(destinationUrl, Permanent);
Microsoft.AspNetCore.Http.Results.Tests (18)
LocalRedirectResultTests.cs (3)
23Assert.False(result.Permanent); 38Assert.True(result.Permanent); 53Assert.True(result.Permanent);
RedirectResultTests.cs (1)
21Assert.True(result.Permanent);
ResultsTests.cs (7)
1098Assert.False(result.Permanent); 1115Assert.True(result.Permanent); 1133Assert.True(result.Permanent); 1151Assert.True(result.Permanent); 1481Assert.False(result.Permanent); 1497Assert.True(result.Permanent); 1513Assert.False(result.Permanent);
TypedResultsTests.cs (7)
942Assert.False(result.Permanent); 959Assert.True(result.Permanent); 977Assert.True(result.Permanent); 995Assert.True(result.Permanent); 1263Assert.False(result.Permanent); 1279Assert.True(result.Permanent); 1295Assert.False(result.Permanent);