Logo Barret Codes
  • Home
  • About
  • Engage With Me
  • Recent Posts
  • Podcasts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • 2025
  • 2026
  • Advent-of-Code-2021
  • Advent-of-Code-2022
  • Adventures-in-Net
  • Ai
  • Ai-Builder
  • Ai Code
  • Ai-Art
  • Aicode
  • Alexa
  • Api
  • Application-Insights
  • Approval-Flows
  • April-Dunham
  • Architecture
  • Ardalis
  • Asp-Net-Core
  • Aspire
  • Axug
  • Azure
  • Azure AI
  • Azure Back to School
  • 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
  • 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
  • Dotnetaspire
  • Dotnetrocks
  • Dynamics
  • Ef-Core
  • ELT
  • Employment
  • Encodian
  • Entity Framework
  • Entity Framework Core
  • Entra Id
  • Entraid
  • Equality
  • Error-Handling
  • Estimates
  • Ethics
  • ETL
  • Excel
  • Experience
  • Expressions
  • Extension-Methods
  • Extensions
  • Facebook
  • Facial-Recognition
  • Failure
  • Fast-Endpoints
  • Festive Tech
  • Festive-Tech-Calendar
  • Fired
  • Flow
  • Flowfam
  • Fluentmigrator
  • Forms
  • Function
  • Function-Friday
  • Functions
  • Gatekeeping
  • Gc20
  • Github
  • Github Copilot
  • Githubcopilot
  • Githubspeckit
  • Giving
  • Gmail
  • Goals
  • Google Calendar
  • Googlecalendar
  • 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-Search
  • Json
  • Languages
  • Learning
  • Libraries
  • Life
  • Linkedin
  • Logging
  • Logic Apps
  • Logicapps
  • Love
  • Low-Code
  • Machine-Learning
  • Mastodon
  • Mentoring
  • Microsoft MVP
  • Minimal-Apis
  • Nimblepros
  • Nodejs
  • Nosql
  • Nsubstitute
  • Nuget
  • Nz365guy
  • Object-Recognition
  • Ocr
  • OneDrive
  • Openai
  • Organizational-Skills
  • Outlook
  • Ownership
  • Ozcode
  • Package Management
  • Pc
  • Podcasts
  • Pos
  • Power-Apps
  • Power-Automate
  • Power-Automate-Desktop
  • Powerautomate
  • Powerautomatedesktop
  • 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
  • Shouldly
  • Slides
  • Smart Cherry
  • Smart-Home
  • Soft-Skills
  • Specdrivendevelopment
  • Speckit
  • Sql
  • Ssl
  • Stackexchange
  • Stackoverflow
  • Star Trek
  • Startrek
  • Startups
  • Stirtrek
  • Streamlabs Desktop
  • Summitna
  • Summitna2025
  • Surveillance
  • Task-Runner
  • Task-Runner-Explorer
  • Taylor-Desseyn
  • Teams
  • Tech
  • Tech Sharmitt
  • Templates
  • Testing
  • Text-Analytics
  • The-6-Figure-Developer
  • Time-Off
  • ToDo
  • Transition
  • Trello
  • Triggers
  • Troubleshooting
  • Try-Catch
  • Twitch
  • Twitter
  • Typescript
  • Unplug
  • Uri
  • User Groups
  • Video
  • Videos
  • Vision-Api
  • Vision-Service
  • Visual-Studio
  • Visual Studio Code
  • Visualstudio
  • Visualstudio2026
  • Vsts
  • Web-Assembly
  • Website
  • Windows-10
  • Word
  • Workflow
  • Xml
  • Xpath
  • Xunit
  • YearInReview
  • Youtube
Testing in .NET with xUnit + NSubstitute + Shouldly
Testing in .NET with xUnit + NSubstitute + Shouldly

There’s a better stack, a better way to approach testing – and it’s been sitting in the .NET ecosystem the whole time.

  • testing
  • dotnet
  • xunit
  • nsubstitute
  • shouldly
Wednesday, April 29, 2026 | 23 minutes Read
Train Station Signage
Give .NET Its Props - Central Package Management

You update a package in one project, but then you forget that you’re also using that package in another project. .NET has the solution for your…. solution: central package management.

  • nuget
  • package management
  • dotnet
Thursday, April 23, 2026 | 9 minutes Read
Code samples of FastEndpoints and Minimal APIs side by side
FastEndpoints vs ASP.NET Minimal APIs in 2026

MVC controllers are legacy and no longer the go-to technology for handling your endpoints. Minimal APIs are the mainstream, but FastEndpoints has developed a strong following

  • fast-endpoints
  • minimal-apis
  • dotnet
Thursday, April 2, 2026 | 10 minutes Read
Mistake and Delete
EF Core Global Query Filters - The Soft Delete Pattern You Should Be Using

It’s one of the eternal debates of software development data management: How do you manage records that get deleted?

  • ef-core
  • dotnet
Wednesday, March 25, 2026 | 9 minutes Read
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
  • power-automate
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
a calendar showing Monday
Getting Started with .NET Scheduling in Hangfire

Scheduling tasks in .NET is a lot easier these days. While scheduling libraries have been around a long time, the options available today are better than ever. We’re going to take a look at one of the available libraries: Hangfire

  • dotnet
  • scheduling
  • hangfire
Thursday, February 12, 2026 | 7 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
  • csharp
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
  • csharp
  • 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
  • csharp
  • 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
  • csharp
  • dotnet
Monday, October 28, 2024 | 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