3 writes to AssetPath
Microsoft.AspNetCore.StaticAssets.Tests (3)
StaticAssetsIntegrationTests.cs (3)
499AssetPath = resource.Path, 520AssetPath = $"{resource.Path}.gz", 578AssetPath = "sample.txt",
7 references to AssetPath
Microsoft.AspNetCore.StaticAssets (7)
Development\StaticAssetDevelopmentRuntimeHandler.cs (4)
44var fileInfo = context.RequestServices.GetRequiredService<IWebHostEnvironment>().WebRootFileProvider.GetFileInfo(asset.AssetPath); 95var fileInfo = _context.RequestServices.GetRequiredService<IWebHostEnvironment>().WebRootFileProvider.GetFileInfo(_asset.AssetPath); 100if (assetDescriptor.AssetPath != _asset.AssetPath)
StaticAssetDescriptor.cs (1)
73return $"Route: {Route} Path: {AssetPath}";
StaticAssetsInvoker.cs (2)
85_fileProvider.GetFileInfo(_resource.AssetPath) is IFileInfo file and { Exists: true } ? 87throw new FileNotFoundException($"The file '{_resource.AssetPath}' could not be found.");