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
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
Opening new PowerShell Windows from PowerShell and Running Commands in them
Opening a new PowerShell window from an open one and running a command inside it was not as simple to figure out as I expected.
Mar 20, 2023
#
PowerShell
,
pwsh
Programmatically get your AWS Account ID with .NET
It took me a little while to figure this out, so I thought I’d share.
Mar 17, 2023
#
AWS
,
dotNet
Many Ways to make and Deserialize an HTTP GET with HttpClient
There are so many ways to make and deserialize an HTTP GET request. In this post, I’ll show a few approaches.
Mar 16, 2023
#
C#
,
dotNet
,
HttpClient
,
Serialization
,
Deserialization
Polly with .NET 6, Part 8 - Policy Registry with Minimal APIs, and HttpClientFactory
You can use the Polly Policy Registry with Minimal APIs and HttpClientFactory. Read on to see how.
Mar 15, 2023
#
Polly
,
dotNet6
,
Minimal API
,
Dependency Injection
,
HttpClientFactory
,
Polly Registry
Pi to 100 places with Amazon Polly and .NET
A fun post for Pi day.
Mar 14, 2023
#
Amazon Polly
,
AI
,
dotNet
«
»
Cite
×