no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Posts
Running SQL Server in a Container
Over the years I’ve hesitated to add SQL Server to my laptop because of its size, but now it’s easy to run in inside a container with a single command.
Aug 9, 2021
#
Docker
,
Container
,
SQL Server
Varying the Time Between Polly Retries Based on the Result
This is a follow-up to a post I wrote a few days ago about varying the delay between retries based on the exception. This time I’m going to show how to vary the delay based on the result.
Jul 24, 2021
#
Polly
,
dotNet
,
Wait and Retry
Using Build and Test Tasks from the Parent Directory of src/test with VS Code
I often follow the src, test directory structure for my .NET projects. But if you open Visual Studio Code to the parent of these directories, you can’t use the build and test tasks without some modifications to the tasks.json file.
Jul 23, 2021
#
VSCode
,
Building
,
Testing
,
Tasks
Varying the Time Between Polly Retries Based on the Exception
Polly’s Wait and Retry lets you decide how long it should pause based on the exception thrown in the invoked code. This is very useful when you know what problems can occur and how long you need to wait for them to resolve.
Jul 22, 2021
#
Polly
,
dotNet
,
Wait and Retry
Adding a Test Task to the VS Code Command Palette
I thought it would be simple to add a task to run tests from the VS Code command palette, but it was not as straightforward as I hoped. Here’s how to do it.
Jul 21, 2021
#
VSCode
,
Testing
,
Tasks
Starting the Presenter View in PowerPoint
When practicing a presentation on a single screen it is helpful to see the notes, next slide, time information, etc., that you normally get with multiple monitors. This can be done with the Presenter View.
Jul 20, 2021
#
PowerPoint
,
Presentations
Two Ways to Count the Number of Times a Mocked Method is Called With Moq
There are at least two ways to count the number of times a mocked method is called with Moq. The first is with the Verify method, the second is with the Callback method.
Jul 19, 2021
#
Mock
,
Moq
,
C#
,
Verify
,
Callback
Printing on the Spot in a Console
For the sheer fun of doing a little silly programming…
Jul 2, 2021
#
C#
,
console
Simple Example of C# 9 Lambda Discards
Discards can now be used with Lambdas in C# 9. Here is a simple example.
Jun 28, 2021
#
C#
,
dotNet6
,
dotNet
,
Lambda
,
Lambda Discard
Executing an AWS .NET Lambda at an Exact Time with Step Functions
AWS Step Functions are a very easy way to orchestrate many things. But they can also be used to run a Lambda at an exact time (down to a tenth of a second, or less), up to a year in the future.
Jun 23, 2021
#
AWS
,
AWS Lambda
,
dotNet
,
Step Functions
,
Function as a Service
«
»
Cite
×