Azure Resource Manager Quick Start Templates
Azure Resource Manager Quick Start Templates is a treasure trove. I have to book mark it here. Templates
Search for a command to run...
Azure Resource Manager Quick Start Templates is a treasure trove. I have to book mark it here. Templates
OpenTelemetry is the software industry standard for logging so I wrote a sample Web Job that logs, traces and emits metrics using open telemetry. Sample on Git Hub
To copy content folder in .csproj to output folder, add the following. <ItemGroup> <Content Include="$(ProjectDir)Content\**" CopyToOutputDirectory="PreserveNewest" /> </ItemGroup>
Do not violate the YAGNI principle. You aren't gonna need it. Do not violate the POLA principle. Principle of least astonishment. My preferences Domain-Driven Design. Functional programming. Test & Behavior Driven Development Clean Code: A Handb...
To return success with no content use return NoContent(); POST is used to create a resource so if the POST has a ID like POST authors/myid If the id exists it should return Conflict return new StatusCodeResult(StatusCodes.Status409Conflict) To creat...
Microsoft REST API Guidelines https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md
My build cheat sheet. Restore msbuild -t:Restore -v:m Build msbuild -t:Restore -v:mmsbuild -p:Configuration=Release msbuild -p:Configuration=Release -v:Detailed msbuild -p:Configuration=Release -p:Platform="Any CPU" To build before current pro...
Now and then I forget what the error return format is, so a screen shot of what that should look like.
If you must pack signed binaries in Azure DevOps, you need to Output the binaries for signing to a folder, say ‘forSigning’. Pack the signed binaries without rebuilding. Sign the NuGet package again. My problem was figuring out how to specify th...