Needs to do this from time to time.
<ItemGroup>
<Compile Include="..\ServiceProfiler2\src\ServiceProfiler.Analysis.DataModels\Insights\InsightRecord.cs" Link="InsightRecord.cs" />
</ItemGroup>| public sealed class ApiVersionAttribute : Asp.Versioning.ApiVersionAttribute | |
| { | |
| public ApiVersionAttribute( string version ) | |
| : base( CustomApiVersionParser.Default, version ) { } | |
| public ApiVersionAttribute( string token1, string token2, string? token3 = default ) | |
| : base( new CustomApiVersion( token1, token2, token3 ) ) { } | |
| } |
Needs to do this from time to time.
<ItemGroup>
<Compile Include="..\ServiceProfiler2\src\ServiceProfiler.Analysis.DataModels\Insights\InsightRecord.cs" Link="InsightRecord.cs" />
</ItemGroup>Command:
docker run -it -p localport:containerport --rm <containerTag>Example:
docker run -it -p 8080:80 --rm dotnet-diag-webapi-example:latestShorthand:
if: matrix.project == 'src/OPI.WebAPI'
Full example:
jobs:git submodule update --initImport for casecading.<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<LangVersion>11.0</LangVersion>
</PropertyGroup>This siutation is encountered in Azure Function where we want to have telemetries for available space for temp as well as home. It is a general issue of getting available space for mounted folder.
See the result, notice the difference between using different ways to get free space for the same folder? Why?

Assuming temp folder location: c:\users\abc\temp, disk c has 1G free, and temp is mounted from another volume that has 5G.
This gets the free disk space for the driver, not for the mounted folder - 1G:
NuGet packages:
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.2" />Code