13 references to UseWebRoot
Microsoft.AspNetCore.StaticFiles.FunctionalTests (7)
FallbackStaticFileTest.cs (2)
34
.
UseWebRoot
(AppContext.BaseDirectory)
87
.
UseWebRoot
(AppContext.BaseDirectory)
StaticFileMiddlewareTests.cs (5)
54
.
UseWebRoot
(AppContext.BaseDirectory)
100
.
UseWebRoot
(AppContext.BaseDirectory)
145
.
UseWebRoot
(Path.Combine(AppContext.BaseDirectory, baseDir))
187
.
UseWebRoot
(Path.Combine(AppContext.BaseDirectory, baseDir))
247
.
UseWebRoot
(Path.Combine(AppContext.BaseDirectory))
Microsoft.AspNetCore.StaticFiles.Tests (2)
StaticFileMiddlewareTests.cs (2)
65
.
UseWebRoot
(AppContext.BaseDirectory);
105
.
UseWebRoot
(AppContext.BaseDirectory);
Microsoft.AspNetCore.Tests (3)
WebApplicationTests.cs (3)
517
builder.WebHost.
UseWebRoot
(webRoot);
546
builder.WebHost.
UseWebRoot
(fullWebRootPath);
588
builder.WebHost.
UseWebRoot
(webRoot);
SampleStartups (1)
StartupFullControl.cs (1)
33
.
UseWebRoot
("public")