Blog Posts

All of my Blog posts arranged by published date


Setting up a Redis Cache

Azure Cache for Redis is a cache layer, built on Redis, for better performance for consuming data, particularly reads. But, like most things, I like to develop locally and unpack they way something works without having to consume cloud services. So recently I looked at how I can run Redis locally for the Discord Bot and move it into Azure when done. By adding a cache service like this inbetween the Discord Bot proxy service (a traditional .

Setting up an EventGrid Handler

Azure EventGrid is a messaging pipeline that allows you to easily build event based applications that allow you to wire your application components to both publish and subscribe to events. EventGrid also has a number of built in Azure connectors out of the box, including Azure numerous Azure service publishers, as well as Functions, Service Bus, Logic Apps and general web hooks. Setting Up If you have a more traditional ASP.

Add webhosting to a DotNet Console App

Building a DotNet core console application can sometimes be the right move to start with, which I found with both the Discord Bot Series and the related Discord Bot Project am I spending my time on. The problem is the world works on the Internet these days and not having the ability to talk to your application via a webserver makes things extremely difficult. Thankfully it is not overly difficult to modify your application to have both a console application with an inbuilt webserver to listen on a port.

Life Updates

2020 has been a really crazy year for everyone but this post is not really going to touch on any of that, it’s been done to death elsewhere. What I do want to touch on is the massive change I have made over the last 6 months and why this blog has been by the wayside. I also want to touch on what is coming up and some general thoughts that may hopefully help others out there.

Basic Filtering in the Bot

After being busy with a lot of other side work, and the whole craziness going on with the current pandemic, I have finally gotten some time to work on my Discord Bot. The whole point of this bot is to use an Event based architecture to build out a workable, usable bot. And if I can sneak a bit of machine learning, cloud monitoring, ARM templates, session management and any other interesting thing I can justify playing with :-).

Benefits of Technical Writing

From time to time I occasionally write technical articles on a variety of subjects. Most of my full-time work is modeling, designing and documenting solutions which involves a lot of workshops and a lot of writing. It would seem strange that I would want to go home and write some more, especially considering that for the last few weeks I have had a number of ghost-writing jobs where my name is not even attached to the piece.

Azure Functions Event Based Architecture

As I mentioned in my previous post on Azure Function basics, Functions are self contained code that are initiated with a trigger. This makes Functions extremely useful when working with Event driven architectures where your application is responding to discrete events. This week I spent a bit of time away from playing with the technology I’m using to build a Discord Bot and really started to plan out how to build the features.

How to Log and Analyze Azure Functions

When you create an Azure Function in Visual Studio you will have a ILogger injected into your method that provides logging services for you. When you run your Azure Functions locally this logger will display messages in the console, but for deployments you can connect Azure Application Insights to your Function to capture these logs, as well as provide a heap of monitoring information. Let’s check out how this works and what you can do with it.

Local Development of Azure Functions

One of the first things you want to do when you start out developing an Azure Function is to run it and potentially debug issues. You want to see what is going on with your Function before deployment to make sure it is working as intended. Let’s take a look at how to set up Visual Studio (2019 Community Edition) to run Functions locally, see what is going on and debug them.

Azure Function Basics

The Basics of Azure Functions I started getting back into writing a Discord Bot using a Micro-services architecture. I’m using Azure Functions to do a lot of the heavy lifting when it comes to writing my bot and I thought it might be useful to do a deep dive into why I chose them. In this post I’m going to go through what Azure Functions are, when to use them and some application structures that best leverage this technology.

More Posts
X

Contact Me!

If you would like to contact me, please fill out the form below.