30 writes to FileProvider
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
ComponentsWebAssemblyApplicationBuilderExtensions.cs (1)
87options.FileProvider = webRootFileProvider;
Microsoft.AspNetCore.SpaServices.Extensions (1)
StaticFiles\SpaStaticFilesExtensions.cs (1)
92staticFileOptions.FileProvider = fileProviderOrDefault;
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
FallbackStaticFileTest.cs (1)
48FileProvider = new PhysicalFileProvider(Path.Combine(environment.WebRootPath, "SubFolder")),
Microsoft.AspNetCore.StaticFiles.Tests (26)
DefaultFilesMiddlewareTests.cs (7)
20using (await StaticFilesTestServer.Create(app => app.UseDefaultFiles(new DefaultFilesOptions { FileProvider = null }))) 67FileProvider = fileProvider, 106FileProvider = fileProvider 146FileProvider = fileProvider 215FileProvider = fileProvider, 260FileProvider = fileProvider 315FileProvider = fileProvider,
DirectoryBrowserMiddlewareTests.cs (8)
36app => app.UseDirectoryBrowser(new DirectoryBrowserOptions { FileProvider = null }), 87FileProvider = fileProvider, 124FileProvider = fileProvider 161FileProvider = fileProvider 220FileProvider = fileProvider, 264FileProvider = fileProvider 314FileProvider = fileProvider, 362FileProvider = fileProvider,
StaticFileMiddlewareTests.cs (11)
125FileProvider = fileProvider 146using (await StaticFilesTestServer.Create(app => app.UseStaticFiles(new StaticFileOptions { FileProvider = null }))) 182FileProvider = fileProvider 217FileProvider = fileProvider, 257FileProvider = fileProvider, 300FileProvider = fileProvider, 353FileProvider = fileProvider 401FileProvider = fileProvider 457FileProvider = fileProvider 475FileProvider = fileProvider 535FileProvider = fileProvider
StaticFilesAuth (1)
Startup.cs (1)
117FileProvider = files
4 references to FileProvider
Microsoft.AspNetCore.SpaServices.Extensions (1)
StaticFiles\SpaStaticFilesExtensions.cs (1)
84if (staticFileOptions.FileProvider == null)
Microsoft.AspNetCore.StaticFiles (3)
DefaultFilesMiddleware.cs (1)
38_fileProvider = _options.FileProvider ?? Helpers.ResolveFileProvider(hostingEnv);
DirectoryBrowserMiddleware.cs (1)
51_fileProvider = _options.FileProvider ?? Helpers.ResolveFileProvider(hostingEnv);
StaticFileMiddleware.cs (1)
42_fileProvider = _options.FileProvider ?? Helpers.ResolveFileProvider(hostingEnv);