Developing .NET apps with Amazon DynamoDB

You need to store data, but you don’t have a vast schema. You need to fetch your data in a split second, and you don’t need referential integrity or transactions. You require a super stable and scalable datastore, but you don’t have the personnel to manage a DBMS. You need to persist data, but youContinue reading “Developing .NET apps with Amazon DynamoDB”

Securing .NET App Secrets with AWS Secrets Manager

Similar to AWS Systems Manager Parameter Store, AWS Secrets Manager allows for storing, managing, and reclaiming OAuth tokens, database credentials, API keys, and other secrets. However, there are big differences between the two AWS services. AWS Secrets Manager was created for storing confidential data like passwords and secrets so encryption of the stored data isContinue reading “Securing .NET App Secrets with AWS Secrets Manager”

Encrypting Data in .NET apps Using AWS Key Management Service

Get all the code on GitHub. Let’s be honest, cryptography can be a dense and intimidating topic for most. When contemplating your cryptography strategy, there are so many questions that need to be answered: symmetric or asymmetric encryption? Which algorithm should you use? What will the key management story be? etc. — etc…. Utilizing aContinue reading “Encrypting Data in .NET apps Using AWS Key Management Service”

How to use AWS Systems Manager Parameter Store as a .NET Configuration Provider

Many changes were made to configuration in .NET Core. Long gone are the days where you have few configuration options. In .NET, there are now out of the box options for INI,  JSON, XML, command-line arguments, in-memory stores, environment variables and key-per-file, et al. And, if those options weren’t enough, you can still develop your ownContinue reading “How to use AWS Systems Manager Parameter Store as a .NET Configuration Provider”

How to Implement the Pub/Sub Pattern with .NET, Amazon SNS and CloudEvents

There is no shortage of technologies that allow for building pub-sub messaging systems. Off the cuff, I can think of NServiceBus, Azure Service Bus, RabbitMQ, MassTransit, etc. However, Amazon Simple Notification Service or SNS, may be the easiest to implement as well as the most flexible solution.   What Exactly is the Pub-Sub Pattern? In essence, the pub-subContinue reading “How to Implement the Pub/Sub Pattern with .NET, Amazon SNS and CloudEvents”

Create an SQS Queue and an SNS Topic and Subscription using the AWS CLI

AWS gives engineers many ways to accomplish many tasks. Here we will look at creating both a Simple Notification Service topic as well as a Simple Queue Service queue and then creating an SNS subscription “linking” the two. All the while, we will exclusively use the AWS CLI to accomplish the task. This exercise couldContinue reading “Create an SQS Queue and an SNS Topic and Subscription using the AWS CLI”

How to Create a .NET Docker Container in Six Easy Steps

Over the last few years, containers and Docker have gone from buzzwords to industry standards in software development. Even though Docker and containers are now mainstays in software development, many developers are still confused and even intimidated by the tech. This tutorial aims to simplify these concepts and demonstrate how easy it can be toContinue reading “How to Create a .NET Docker Container in Six Easy Steps”

How to Create a Simple .NET Core AWS Lambda Function

Skip the detail and show me the solution. AWS Lambda is one of the hottest technologies in cloud software development today. And, as hot as it is, there is still a lot of confusion on just what Lambda is and how to develop a serverless function.  First, let’s clarify a few things, serverless doesn’t meanContinue reading “How to Create a Simple .NET Core AWS Lambda Function”

A Simple Configuration Based CORS Solution for ASP.NET Core

Skip the detail and show me the code. Warning: some AWS services may have fees associated with them. CORS, or Cross-Origin Resource Sharing — while simple in concept, seems to still mystify many developers. Simply put, CORS allows you to share resources from your “origin” with browser based consumers from a different origin.  In otherContinue reading “A Simple Configuration Based CORS Solution for ASP.NET Core”