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
Using Intrinsic Functions with Step Functions to Clean Json Strings
Working with Json directly in C# has always been a problem, but as Json becomes more common the problems mount. I was using AWS Step Functions recently and wanted to pass the Json string output from a Lambda running .NET Core 3.1. As with all things C# Json string related, it was not easy.
Aug 25, 2021
#
AWS
,
Step Functions
,
JSON
,
C#
Zipping Files From the Command Line in Windows 10
It is strangely difficult to zip files from the command line with Windows 10. I spent an hour going round in circles between what you should be able to and what you can actually do. Here is a simple solution…
Aug 22, 2021
#
Windows 10
,
Zipping Files
Using Entity Framework for .NET 6 with SQL Server in a Docker Container
Want to see how easy it is to use a SQL Server Docker container with Entity Framework for .NET 6?
Aug 17, 2021
#
Docker
,
Container
,
SQL Server
,
Entity Framework
,
dotNet 6
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
«
»
Cite
×