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
Replacing \u0022 with \" in Serialized JSON
If you serialize an already serialized string, the serializer will replace double quotes with \u0022. Here is a way to get back the familiar \".
Dec 12, 2023
#
JSON
,
C#
,
Serialization
Async Lambda Statements
A couple of simple examples of using Lambda statements with async logic.
Nov 21, 2023
#
C#
,
Lambda
Bash Substitution for a String with an Underscore
An underscore right after the substitution variable in a bash for loop can cause problems, this post shows how to fix it.
Sep 25, 2023
#
Bash
,
Scripting
,
Shell
,
Linux
Sending MediatR Notifications Immediately After Saving an Entity with Entity Framework Core
After you save an entity, you may want to send out a notification so other parts of your application can react to the change. This post shows how to do that with MediatR and Entity Framework Core.
May 2, 2023
#
Entity Framework
,
MediatR
,
Notifications
,
dotNet
Using Step Functions to Orchestrate a Series of Lambda Functions
See how to use AWS Step Functions to control the flow of a series of Lambda functions. In this example, the Lambda functions execute quickly, return a result, and trigger the next step.
Apr 7, 2023
#
AWS
,
Step Functions
,
AWS Lambda
,
dotNet
Triggering a .NET Lambda Function from an Amazon SQS Queue
.NET Lambda functions can be triggered when messages arrive in an SQS queue. There are a few steps to set this up, read on to see how.
Apr 6, 2023
#
AWS
,
AWS Lambda
,
Amazon SQS
,
dotNet
Turning off Tracking for Find and FindAsync in Entity Framework
Find/FindAsync is a popular way to retrieve a single entity using its primary key with Entity Framework, but by default Entity Framework tracks that entity for changes. This post shows how to turn off tracking for Find/FindAsync.
Apr 4, 2023
#
Entity Framework
,
dotNet
,
Change Tracker
Accessing Objects Just After they are Saved by Entity Framework
Here is a way to access objects just after they are saved by Entity Framework and have had a primary key assigned to them.
Apr 2, 2023
#
dotNet
,
Entity Framework
,
Change Tracker
An exception of type 'System.MissingMethodException' occurred in System.Collections.Concurrent.dll
I left out version number in a package reference and got the exception - Exception has occurred: CLR/System.MissingMethodException An exception of type ‘System.MissingMethodException’ occurred in System.Collections.Concurrent.dll but was not handled in user code: ‘Method not found: ‘System.IServiceProvider.
Mar 30, 2023
#
Dependency Injection
,
dotNet
,
Entity Framework
Smallest Minimal Web API in .NET?
A puzzle - create the smallest minimal Web API in .NET. It has to return valid JSON. Mine is 54 characters.
Mar 24, 2023
#
dotNet
,
MinimalApi
«
»
Cite
×