15 references to PhysicalFileProvider
aspire (1)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
163using var fileProvider = new PhysicalFileProvider(_backchannelsDirectory);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
258 return new PhysicalFileProvider(contentRootDir);
Microsoft.AspNetCore.Components.WebView.Wpf (1)
BlazorWebView.cs (1)
345 return new PhysicalFileProvider(contentRootDir);
Microsoft.AspNetCore.Hosting (5)
Internal\HostingEnvironmentExtensions.cs (4)
24hostingEnvironment.ContentRootFileProvider = new PhysicalFileProvider(hostingEnvironment.ContentRootPath); 48hostingEnvironment.WebRootFileProvider = new PhysicalFileProvider(hostingEnvironment.WebRootPath); 75hostingEnvironment.ContentRootFileProvider = baseEnvironment?.ContentRootFileProvider ?? new PhysicalFileProvider(hostingEnvironment.ContentRootPath); 99hostingEnvironment.WebRootFileProvider = new PhysicalFileProvider(hostingEnvironment.WebRootPath);
StaticWebAssets\StaticWebAssetsLoader.cs (1)
41(contentRoot) => new PhysicalFileProvider(contentRoot));
Microsoft.Extensions.Configuration.FileExtensions (3)
FileConfigurationExtensions.cs (2)
46return new PhysicalFileProvider(AppContext.BaseDirectory ?? string.Empty); 60return builder.SetFileProvider(new PhysicalFileProvider(basePath));
FileConfigurationSource.cs (1)
80FileProvider = new PhysicalFileProvider(directory);
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationBuilderExtensions.cs (1)
52source.FileProvider = new PhysicalFileProvider(directoryPath);
Microsoft.Extensions.Configuration.UserSecrets (1)
UserSecretsConfigurationExtensions.cs (1)
184? new PhysicalFileProvider(directoryPath)
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFileProvider.cs (1)
347/// constructor <see cref="PhysicalFileProvider(string)" />.
Microsoft.Extensions.Hosting (1)
HostBuilder.cs (1)
247var physicalFileProvider = new PhysicalFileProvider(hostingEnvironment.ContentRootPath);