CS Advent

C# Advent 2021 - Using C# Code in Power Automate

Monday, Dec 13, 2021 by Barret CS Advent, Power Automate, CS, custom connector

This post is my contribution to the C# Advent 2021. Power Automate has a fantastic feature in preview that lets you add some C# code to your flows. It requires using a custom connector, so it’s limited to those with a license that allows that. There are also a number of other limitations which I’ll get into later. But it’s a start. Yeah, I know, if you want to use C#, why not use a Logic App or Azure Function?

Continue Reading

C# Advent 2020 - ASP.NET Core API Endpoints

Saturday, Dec 19, 2020 by Barret CS, CS Advent, ASP.NET Core, API, Ardalis

MVC is a mess. Controllers in one folder, views in another, services in another, models and viewmodels in yet other folders. Related files are all over the place. Trying to piece together these related pieces can be a real pain. Steve “ardalis” Smith has come up with another way: ASP.NET Core API Endpoints. The concept is a simple one. Everything that’s related can easily be put in one folder, maybe even in one file.

Continue Reading

The Nightmare Before Blazor

Friday, Dec 13, 2019 by Barret Blazor, web assembly, Razor, class libraries, CS Advent, CS

Boys and girls of every age Wouldn’t you like to see something strange? Come with me and you will see This, C# in WebAssembly This is Blazor, this is Blazor C# in my browser, what a sight This is Blazor, C# devs in WebAssembly C# in my browser, what a sight This post is part of the 2019 C# Advent. Check out all the amazing posts here. What better way to celebrate this C# Advent on a Friday, the 13th, than to talk about the nightmare that is web development.

Continue Reading

Flow & Function Together - #csadvent

Sunday, Dec 16, 2018 by Barret Power Automate, flow, CS Advent, function, sentiment analysis

For this year’s #csadvent post, I am going to continue my posts about using Microsoft Flow to make our lives easier. This time, we’re adding in some Azure Functions as well. In a previous post, I covered creating a Flow that an attendee to a conference might create to watch for tweets that they might want to re-tweet. This time, we want to take on the role of conference organizers who want to watch the flow of tweets for how positive or negative people feel about our conference.

Continue Reading

C# Advent Calendar 2017 - Using C# and Azure Cognitive Services Text Analytics to Identify and Relate Text Documents

Tuesday, Dec 19, 2017 by Barret Azure, Cognitive Services, CS Advent, CS, Text Analytics

One of the tasks that developers sometimes face in large companies (or even small ones) is trying to figure out how large sets of data relate to each other. If that data is text based, C# and Microsoft Azure Cognitive Services Text Analytics functions make this extremely easy to accomplish. In this post, I’ll walk through identifying language and parsing out key words and phrases that we can use to help match blocks of text together.

Continue Reading


I am available for part time consulting work. If you are looking for someone to help with Power Automate, SQL Server, Azure or .NET work, feel free to contact me.

Contact me