ASP.net core error format.
Now and then I forget what the error return format is, so a screen shot of what that should look like.

Search for a command to run...
Now and then I forget what the error return format is, so a screen shot of what that should look like.

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...