567 references to Run
AutobahnTestApp (1)
AzureAppServicesHostingStartupSample (1)
AzureAppServicesSample (1)
ConcurrencyLimiterSample (1)
CookiePolicySample (1)
CookieSessionSample (1)
CreateDefaultBuilderApp (1)
CreateDefaultBuilderOfTApp (1)
DatabaseErrorPageSample (1)
DefaultBuilder.SampleApp (2)
DelegationSite (1)
DependencyInjectionApp (1)
DeveloperExceptionPageSample (1)
ExceptionHandlerSample (5)
GenericWebHost (1)
HealthChecksSample (8)
HostFilteringSample (1)
HotAddSample (1)
Http2SampleApp (1)
Http3SampleApp (1)
HttpOverridesSample (1)
HttpsPolicySample (1)
IIS.Tests (4)
IISSample (1)
InMemory.FunctionalTests (2)
InProcessWebSite (9)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
207builder.Run(
Interop.FunctionalTests (39)
JwtBearerSample (1)
Kestrel.SampleApp (1)
LargeResponseApp (1)
LocalizationSample (1)
LocalizationWebsite (7)
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.Authentication.Negotiate.Test (1)
Microsoft.AspNetCore.Authentication.Test (36)
CookieTests.cs (14)
1243app.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Cookies", new AuthenticationProperties() { RedirectUri = "/" })));
1275app.Run(async context =>
1299app.Run(context => context.SignInAsync(CookieAuthenticationDefaults.AuthenticationScheme, new ClaimsPrincipal(new ClaimsIdentity("whatever"))));
1327app.Run(context => context.SignInAsync("Cookie1", new ClaimsPrincipal(new ClaimsIdentity("whatever"))));
1355app.Map("/notlogin", signoutApp => signoutApp.Run(context => context.SignInAsync("Cookies",
1378app.Map("/login", signoutApp => signoutApp.Run(context => context.SignInAsync("Cookies", new ClaimsPrincipal(new ClaimsIdentity("whatever")))));
1404app.Map("/notlogout", signoutApp => signoutApp.Run(context => context.SignOutAsync("Cookies")));
1426app.Map("/logout", signoutApp => signoutApp.Run(context => context.SignOutAsync("Cookies")));
1452app.Map("/forbid", signoutApp => signoutApp.Run(context => context.ForbidAsync("Cookies")));
1477map.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Cookies", new AuthenticationProperties() { RedirectUri = "/" })));
1620map.Map("/forbid", signoutApp => signoutApp.Run(context => context.ForbidAsync("Cookies")));
1644app.Run((context) =>
1667app.Run(async (context) =>
1708app.Run(async context =>
Microsoft.AspNetCore.Authorization.Test (1)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.CookiePolicy.Test (7)
Microsoft.AspNetCore.Cors.Test (10)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Diagnostics.Tests (60)
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
Microsoft.AspNetCore.HostFiltering.Tests (6)
Microsoft.AspNetCore.Hosting.Tests (4)
Microsoft.AspNetCore.Hosting.TestSites (1)
Microsoft.AspNetCore.Http.Abstractions (4)
Microsoft.AspNetCore.Http.Abstractions.Tests (14)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.HttpOverrides.Tests (13)
Microsoft.AspNetCore.HttpsPolicy.Tests (18)
Microsoft.AspNetCore.Localization.Routing.Tests (3)
Microsoft.AspNetCore.Localization.Tests (19)
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.OutputCaching.Tests (1)
Microsoft.AspNetCore.Owin.Tests (3)
Microsoft.AspNetCore.RequestDecompression.Tests (6)
Microsoft.AspNetCore.ResponseCaching.Tests (1)
Microsoft.AspNetCore.ResponseCompression.Tests (17)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.Rewrite.Tests (35)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.Server.IISIntegration.Tests (12)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
Microsoft.AspNetCore.Session.Tests (21)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.StaticFiles.Tests (4)
Microsoft.AspNetCore.TestHost.Tests (66)
Microsoft.AspNetCore.Tests (4)
Microsoft.AspNetCore.WebSockets.Tests (2)
MiddlewareAnalysisSample (2)
Mvc.RoutingWebSite (6)
NativeIISSample (1)
NegotiateAuthSample (1)
OpenIdConnectSample (1)
PlaintextApp (1)
QueueSharing (1)
RequestDecompressionSample (1)
ResponseCachingSample (1)
ResponseCompressionSample (3)
RewriteSample (1)
RoutingSandbox (1)
RoutingWebSite (1)
SampleStartups (6)
SelfHostServer (1)
ServerComparison.TestSites (12)
SessionSample (2)
SocialSample (5)
Sockets.BindTests (5)
Sockets.FunctionalTests (13)
StartWithIApplicationBuilderUrlApp (1)
StatusCodePagesSample (2)
SystemdTestApp (1)
Wasm.Performance.Driver (1)
WebTransportSampleApp (1)
WsFedSample (1)