1 implementation of WebRootFileProvider
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEnvironment.cs (1)
22public IFileProvider WebRootFileProvider { get; set; } = default!;
2 writes to WebRootFileProvider
Microsoft.AspNetCore.Hosting (2)
Internal\HostingEnvironmentExtensions.cs (2)
48hostingEnvironment.WebRootFileProvider = new PhysicalFileProvider(hostingEnvironment.WebRootPath); 52hostingEnvironment.WebRootFileProvider = new NullFileProvider();
2 references to WebRootFileProvider
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
855Assert.True(env1.WebRootFileProvider.GetFileInfo("TextFile.txt").Exists);
Microsoft.AspNetCore.Rewrite (1)
RewriteOptions.cs (1)
24/// Defaults to <see cref="IHostingEnvironment.WebRootFileProvider"/>.