10 implementations of PhysicalPath
Microsoft.AspNetCore.Components.WebView (2)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
266public string? PhysicalPath => null; 290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Hosting (2)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
266public string? PhysicalPath => null; 290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.Extensions.FileProviders.Abstractions (1)
NotFoundFileInfo.cs (1)
50public string? PhysicalPath => null;
Microsoft.Extensions.FileProviders.Embedded (3)
EmbeddedResourceFileInfo.cs (1)
63public string? PhysicalPath => null;
Manifest\ManifestDirectoryInfo.cs (1)
34public string? PhysicalPath => null;
Manifest\ManifestFileInfo.cs (1)
33public string? PhysicalPath => null;
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalDirectoryInfo.cs (1)
46public string PhysicalPath => _info.FullName;
PhysicalFileInfo.cs (1)
32public string PhysicalPath => _info.FullName;
24 references to PhysicalPath
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
831var filePath = fileSource.FileProvider?.GetFileInfo(fileSource.Path).PhysicalPath;
Microsoft.AspNetCore.Components.WebView (1)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Diagnostics (2)
src\aspnetcore\src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (2)
122if (!string.IsNullOrEmpty(fileInfo.PhysicalPath)) 124lines = File.ReadLines(fileInfo.PhysicalPath);
Microsoft.AspNetCore.Hosting (3)
src\aspnetcore\src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (2)
122if (!string.IsNullOrEmpty(fileInfo.PhysicalPath)) 124lines = File.ReadLines(fileInfo.PhysicalPath);
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Http.Extensions (2)
SendFileResponseExtensions.cs (2)
87if (string.IsNullOrEmpty(file.PhysicalPath)) 108await response.SendFileAsync(file.PhysicalPath, offset, count, cancellationToken);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
FileProviderRazorProjectItem.cs (1)
66public override string PhysicalPath => FileInfo.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Server.IIS (2)
src\aspnetcore\src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (2)
122if (!string.IsNullOrEmpty(fileInfo.PhysicalPath)) 124lines = File.ReadLines(fileInfo.PhysicalPath);
Microsoft.AspNetCore.StaticAssets (5)
Development\StaticAssetDevelopmentRuntimeHandler.cs (2)
231return _original.SendFileAsync(fileInfo.PhysicalPath!, offset, actualCount, cancellationToken); 237return _original.SendFileAsync(fileInfo.PhysicalPath!, 0, fileInfo.Length, cancellationToken);
StaticAssetsInvoker.cs (3)
82public string PhysicalPath => FileInfo.PhysicalPath ?? string.Empty; 232var logPath = !string.IsNullOrEmpty(FileInfo.PhysicalPath) ? FileInfo.PhysicalPath : Route;
Microsoft.AspNetCore.StaticFiles (3)
StaticFileContext.cs (3)
113public string PhysicalPath => _fileInfo.PhysicalPath ?? string.Empty; 387var logPath = !string.IsNullOrEmpty(_fileInfo.PhysicalPath) ? _fileInfo.PhysicalPath : SubPath;
Microsoft.Extensions.Configuration.FileExtensions (3)
FileConfigurationProvider.cs (3)
136string filePath = file.PhysicalPath ?? Source.Path ?? file.Name; 167if (!string.IsNullOrEmpty(file?.PhysicalPath)) 169error.Append(SR.Format(SR.Error_ExpectedPhysicalPath, file.PhysicalPath));
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationProvider.cs (1)
110=> Source.FileProvider?.GetFileInfo("/")?.PhysicalPath ?? "<Unknown>";