As I am building out my MyReverie(https://github.com/andrewcahill/myreverie) project in GitHub, I wanted to add some resilience to my http calls. I had heard of the Polly framework that made doing this extremely easily. Polly is an open source framework that provides resilience capabilities on transient errors that you can leverage in your own applications thus […]
Category: C#
Add versioning to an Asp.Net Core Web API
There are occasions you would like or need to add versioning to your API in order to specify availability or non-availability of functionality. There are a few options available such as Query String, Url based as well as Http header. For my purposes I am going to talk about the Url based approach, as I […]
Adding Swagger to my ASP.Net Core API
I would like to show just how easy it is to add testing and documentation to your Asp.Net Core API using Swagger. The reason I chose Swagger is simply that it is the largest framework of API developer tools for the OpenAPI specific which allows rapid documentation and testing of APIs with great ease. For […]
Getting Started with Azure Service Fabric
I wanted to show a simple example of using Azure Service Fabric to create a reliable & scalable micro service that would perform addition functionality on an input string for example “1+1” using a console application as the client. The string is parsed out to two integers and calculates the result. Obviously this is extremely […]
ASP.NET Core Web API with Docker
This post simply demonstrates creating a simple service called ‘AdditionMicroservice’ that adds two numbers provided as query string parameters. I will add this code to my GitHub account under Getting started with Microservices repo Pre-requisites: Docker for Windows 1) Create a new ASP.NET Core Web Application project Select the Web API Template Check the Enable […]
Visual Studio 2015 debugging lambda expressions
Debugging Lambda expressions is certainly a very welcome feature of Visual Studio 2015. Before when trying to evaluate lambda expressions within either the watch or immediate windows we would see the message “Expression cannot contain lambda expressions”. The great thing about this feature is that it really speeds up the diagnoses of possible bugs being […]
Resources that helped me pass the 70-483 exam
Well a few weeks back I passed the 70-483 Programming in C# exam, it had been several years since I took an exam so I did not know how I would do. I had worked in c# for quite some time now but all of my knowledge was pretty much self taught on the job […]