Logo Barret Codes
  • Home
  • About
  • Engage With Me
  • Recent Posts
  • Podcasts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • .NET Aspire
  • 2025
  • 2026
  • Advent-of-Code-2021
  • Advent-of-Code-2022
  • Adventures-in-Net
  • Ai
  • AI Builder
  • Ai Code
  • Ai-Art
  • Alexa
  • Api
  • Application-Insights
  • Approval-Flows
  • April-Dunham
  • Architecture
  • Ardalis
  • Asp-Net-Core
  • Aspire
  • Axug
  • Azure
  • Azure AI
  • Azure Back to School
  • Azure Cognitive Services
  • Azure Data Factory
  • Azure-App-Service
  • Azure-Devops
  • Azure-Functions
  • Balance
  • Big-Data
  • Bing-Maps
  • Bitly
  • Blazor
  • Blog
  • Blogging
  • BlueSky
  • Burnout
  • C# Advent
  • C-Advent
  • C-Sharp
  • Calendar
  • Canvas-App
  • Career
  • Change
  • Charity
  • Chatgpt
  • Cincydeliver
  • Civility
  • Class-Libraries
  • Claude
  • Cleveland C#
  • Code Reviews
  • Code-With-Ania-Kubow
  • CodeMash
  • Codementor
  • Cognitive-Services
  • Collections
  • Communication
  • Community
  • Conferences
  • Congitive Service
  • Connectors
  • Content
  • Conversion
  • Copilot
  • Crm
  • Csharp
  • Culture
  • Custom-Connector
  • Data-Types
  • Database
  • Datetime
  • Davinci Resolve
  • Delay
  • Deployment
  • Deployment-Slots
  • Desktop
  • Development
  • Devops
  • Dotnet
  • Dotnetrocks
  • Dynamics
  • Ef-Core
  • ELT
  • Employment
  • Encodian
  • Entity Framework
  • Entity Framework Core
  • Entra Id
  • Equality
  • Error-Handling
  • Estimates
  • Ethics
  • ETL
  • Excel
  • Experience
  • Expressions
  • Extension Members
  • Extension Methods
  • Extensions
  • Facebook
  • Facial-Recognition
  • Failure
  • Festive Tech
  • Festive-Tech-Calendar
  • Fired
  • Flow
  • Flowfam
  • Fluentmigrator
  • Forms
  • Function
  • Function Friday
  • Functions
  • Gatekeeping
  • Gc 2.0
  • Github
  • Github Copilot
  • Githubspeckit
  • Giving
  • Gmail
  • Goals
  • Google Calendar
  • Guidance Counselor 2.0
  • Guidance-Counselor-2-0
  • Gulp
  • Hangfire
  • Hard-Drive
  • Hashtags
  • Hate
  • Hiring
  • HTTP
  • Hugo
  • Hybrid-Connector
  • Icymi
  • Ifttt
  • Iis
  • Image-Recognition
  • Images
  • Immutability
  • Imposter-Syndrome
  • Inclusivity
  • Instagram
  • Interviewing
  • Javascript-Friends
  • Jetbrains Datagrip
  • Jira
  • Job
  • Job Hunt
  • Job-Search
  • Jobs
  • Json
  • Languages
  • Learning
  • Libraries
  • Life
  • Linkedin
  • Logging
  • Logic Apps
  • Love
  • Low-Code
  • Machine-Learning
  • Mastadon
  • Mentoring
  • Mentorship
  • Microsoft MVP
  • NET
  • New-Job
  • Nimblepros
  • Nodejs
  • Nosql
  • Nuget
  • Nz365guy
  • Object-Recognition
  • Ocr
  • OneDrive
  • Openai
  • Organizational-Skills
  • Outlook
  • Ownership
  • Ozcode
  • Pc
  • Podcasts
  • Pos
  • Power-Automate-Desktop
  • Power-Apps
  • Power-Automate
  • Powerautomate
  • Powershell
  • Privacy
  • Productivity
  • Racism
  • Razor
  • Recognition
  • Resharper
  • Responsibility
  • Retail
  • Rpa
  • Rss
  • Rss-Feed
  • Safe Habits
  • Sass
  • Scheduled-Tasks
  • Scheduling
  • SciFiDevCon
  • Security
  • Security-Questions
  • Sentiment-Analysis
  • Service-Fabric
  • Sexism
  • Shorts
  • Slides
  • Smart Cherry
  • Smart-Home
  • Soft Skills
  • Sql
  • Ssl
  • Stackexchange
  • Stackoverflow
  • Star Trek
  • Startups
  • Stirtrek
  • Streamlabs Desktop
  • Summit-Na
  • SummitNA
  • Surveillance
  • Task-Runner
  • Task-Runner-Explorer
  • Taylor-Desseyn
  • Teams
  • Tech
  • Tech Sharmitt
  • Templates
  • Text-Analytics
  • The-6-Figure-Developer
  • Time-Off
  • ToDo
  • Transition
  • Trello
  • Triggers
  • Troubleshooting
  • Try-Catch
  • Twitch
  • Twitter
  • Typescript
  • Unplug
  • Uri
  • User Groups
  • Video
  • Vision-Api
  • Vision-Service
  • Visual-Studio
  • Visual Studio Code
  • Vsts
  • Web-Assembly
  • Website
  • Windows-10
  • Word
  • Workflow
  • Xml
  • Xpath
  • YearInReview
  • Youtube
An image of a blueprint of an application architecture with various blocks of code
I Made an API

Some things in Power Automate work great. Some of them can be better done by a dedicated programming language like .NET. So, I made an API for myself

  • githubspeckit
  • dotnet
  • API
  • powerautomate
Wednesday, March 11, 2026 | 10 minutes Read
A sign saying time for change
The Value of Immutability in .NET

Immutability - the state or quality of being unchangeable, unalterable, or unable to be modified over time.

  • dotnet
  • immutability
Friday, March 6, 2026 | 9 minutes Read
Blurry picture of computer code on a screen with glasses on the desk in front of it
Importing JSON Files Into A C# Project

As part of this fun side project I’ve been working on, I’ve been playing around with data that comes in the form of JSON data files. What I want to do is use these data files to seed the data in my database. So here’s a quick one for anyone looking to import JSON data into a running C# application. I showed in a previous post how I set up my Aspire project to have a separate data migration project to handle the DbContext, schema migrations, and seeding for my Postgres database. While some of the basic seeding is hardcoded into C# classes, most of the data will be coming from various JSON files filled with the data. Let’s walk through how I set up the loading of those files into my database.

  • dotnet
  • json
  • c-sharp
Monday, June 30, 2025 | 6 minutes Read
picture of code on a computer screen
What's New in .NET Aspire 9.1

Version 9.1 of .NET Aspire released a couple weeks ago and it has brought a whole host of new features to the framework. Aspire just keeps getting better and better. Here’s a few of my favorite highlights from the release.

  • aspire
  • dotnet
Wednesday, March 12, 2025 | 5 minutes Read
picture of code on a screen
Try-Catch-Throw in C#

We had an interesting discussion in a team meeting today and a good point was brought up about try/catch blocks and what happens when you throw an error in the catch section that perhaps a lot of developers new to C# might not be aware of.

  • try-catch
  • c-sharp
  • dotnet
Wednesday, January 22, 2025 | 4 minutes Read
hero image
C# Advent 2024 - Making a List, Checking It Twice

He’s making a list Checking it twice Writing some code To track who’s naughty and nice Santa Claus is wri-ting… C# tldr; With .NET 9, you can now add custom action buttons to the .NET Aspire dashboard screen You ever wonder how Santa is able to keep track of the kids who are naughty and nice? I mean, it was probably fairly easy when an old man could send out his army of short helpers to check up on the handful of kids who fell into his purview from time to time through the year, and to keep all that recorded on paper. But today? With the world’s population exploding? How on Earth could he possibly do that now? With each passing year it’s gotten harder and harder. Never fear, Santa, I got ya covered. Let me throw together a quick proof of concept (POC) and show you the future!

  • Aspire
  • c-sharp
  • dotnet
  • C# Advent
Tuesday, December 10, 2024 | 8 minutes Read
hero image
.NET Aspire - Adding Configuration

A followup video to my video about getting started with .NET Aspire. What if you already have a data source you want your Aspire app to connect to?

  • Aspire
  • c-sharp
  • dotnet
Monday, October 28, 2024 | 1 minute Read
hero image
Getting Started with .NET Aspire

It’s a new video. If you missed my talk at Central Ohio .NET (CONDG) about .NET Aspire, I finally got the time to record it for my YouTube channel. Here it is: Getting started with .NET Aspire

  • Aspire
  • c-sharp
  • dotnet
Monday, October 21, 2024 | 1 minute Read
hero image
Using C# and Power Automate To Sync An Outlook Calendar

There are some good tools out there for syncing your Outlook calendar to other calendars, especially for O365 or Outlook.com calendars. And they’re well worth the money for the good ones. But sometimes, in certain circumstances (such as if you have an on-prem exchange server that you can’t access from the cloud), you just need a quick and dirty tool to copy calendar events from a local Outlook instance to another calendar. That’s something you can do pretty quickly with a little C# and some Power Automate.

  • c-sharp
  • dotnet
  • flow
  • power-automate
Friday, April 14, 2023 | 12 minutes Read
hero image
Turning Any JSON API Into An App

The Internet is fantastic. There are a seemingly infinite array of APIs available for people to use. Many of them are completely free and open to use in pretty much any way you want to. For example, NASA has a wide variety of things available through its public API. I use one of them in Power Automate with a custom connector to post their daily image to Twitter. For my contribution to this year’s C# Advent, I will demonstrate how easily you can implement any JSON-based API into a C# based application.

  • c-sharp
  • c-advent
  • dotnet
Tuesday, December 13, 2022 | 9 minutes Read
hero image
Advent of Code 2022

I’m participating in the Advent of Code again this year. We’ll see if I get further than I did last year, which was about halfway before I quit. You can follow my progress in my GitHub repo over here. As usual, my solutions are written in C#.

  • advent-of-code-2022
  • c-sharp
  • dotnet
Wednesday, December 7, 2022 | 1 minute Read
hero image
Azure Back to School 2022 - Saving Customer Relationships with Azure Cognitive Services

For those of you who missed it yesterday, you can catch one of my two Azure Back to School sessions below. https://www.youtube.com/watch?v=pUL7Iuac3bI&ab_channel=BarretCodes

  • azure
  • azure-back-to-school
  • cognitive-services
  • dotnet
Sunday, September 4, 2022 | 1 minute Read
  • ««
  • «
  • 1
  • 2
  • 3
  • »
  • »»
Navigation
  • About
  • Engage With Me
  • Recent Posts
  • Podcasts
  • Posts
Contact me:
  • barretblake@live.com
  • barretb
  • Barret

Toha Theme Logo Toha
© Copyright Barret Blake.
Powered by Hugo Logo