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
A Simple CORS Example with a .NET 6 Web API Application and a .NET 6 Web Application
Every couple of years I have to solve a CORS error with some API I’ve written, each time I have to figure it all out again. This is a blog to my future self with the answers.
Apr 19, 2022
#
CORS
,
dotNet6
,
WebApi
Accessing an RDS SQL Server from a .NET 6 application in Lambda
Querying an RDS SQL Server from Lambda is a great option for .NET applications. In this post you see how to create all the infrastructure, seed the database, deploy a .NET 6 Web API application, and connect the VPCs.
Apr 15, 2022
#
AWS Lambda
,
dotNet6
,
SQL Server
,
VPC
,
AWS
,
Function as a Service
Ignoring JSON Key Casing and Numbers as Strings when Deserializing with System.Text.Json
When deserializing JSON from a console application or library, you have to handle unusual casing of JSON key names, and numbers represented as strings yourself. This is done with a couple of serialization options.
Apr 14, 2022
#
JSON Serialization
,
dotNet6
,
Serialization
,
JSON
,
System.Text.Json
Lambda Function URLs - triggering .NET 6 Lambda functions with a HTTPS Request
Lambda Function URLs are a very easy way to make a Lambda function executable via an HTTPS request, they deploy in seconds, and can scale to your needs.
Apr 13, 2022
#
AWS Lambda
,
dotNet6
,
AWS
,
Function URLs
,
Function as a Service
Polly with .NET 6, Part 4 - Dependency Injection of a HttpClientFactory and Policy into a Minimal API Endpoint
This post shows how to use Polly with .NET 6 if you are taking advantage of top-level statements, minimal API endpoints, and the HttpClientFactory.
Mar 14, 2022
#
Polly
,
dotNet6
,
Dependency Injection
,
WebApi
,
Minimal API
,
HttpClientFactory
.NET 6 Lambdas on ARM64 - Part 2, Serverless
Running .NET 6 Lambda serverless applications on ARM64 needs only one small change from the default template.
Mar 10, 2022
#
AWS Lambda
,
dotNet6
,
ARM64
,
AWS
,
Serverless
,
Function as a Service
.NET 6 Lambdas on ARM64 - Part 1, Functions
It is very easy to run .NET 6 AWS Lambda functions on ARM64 processors, read on to find out how…
Mar 7, 2022
#
AWS Lambda
,
dotNet6
,
ARM64
,
AWS
,
Function as a Service
Polly with .NET 6, Part 3 - Dependency Injection of a Policy into a Minimal API Endpoint
This post shows how to use Polly with .NET 6 if you are taking advantage of top-level statements and minimal API endpoints.
Mar 4, 2022
#
Polly
,
dotNet6
,
Dependency Injection
,
WebApi
,
Minimal API
Testing .NET 6 Lambda Containers with the Runtime Interface Emulator
It’s easy to use unit test the methods of a Lambda container application. But there will be times when you want to run the application
inside
the container and then test those methods (more of a functional test). The Lambda Runtime Interface Emulator will help you with this.
Mar 2, 2022
#
AWS Lambda
,
dotNet6
,
Container
,
Runtime Interface Emulator
,
AWS
,
Function as a Service
Polly with .NET 6, Part 2 - Dependency Injection of a HttpClientFactory with a Retry Policy
This post shows how to use Polly with .NET 6; injecting a HttpClientFactory with a Retry policy into a controller.
Feb 22, 2022
#
Polly
,
dotNet6
,
Dependency Injection
,
HttpClientFactory
,
WebApi
«
»
Cite
×