Bryan Hogan's Avatar

Bryan Hogan

@bryanjhogan.bsky.social

blogger, podcaster, Microsoft MVP, https://nodogmablog.bryanhogan.net

35 Followers  |  70 Following  |  22 Posts  |  Joined: 01.09.2023  |  2.0491

Latest posts by bryanjhogan.bsky.social on Bluesky

Preview
a man with a dirty face is smoking a pipe ALT: a man with a dirty face is smoking a pipe
26.04.2025 14:52 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

They got that out quickly!

25.04.2025 12:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

An O'Really? publication.

24.04.2025 22:17 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

A C# Hello World has not needed to look like that for years!

13.04.2025 20:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Not the first, but the most memorable of the early ones.

29.03.2025 14:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Embed Card for https://www.coffeeandopensource.com/schedule.html

Embed Card for https://www.coffeeandopensource.com/schedule.html

Coming up this week on @coffeeandopensource.com I will be chatting with Maxim Fateev about all sorts of #tech and #opensource topics. Streaming live on #Twitch this Tuesday March 18th at 11:00 AM PDT. Come say hello and join the conversation.
https://www.coffeeandopensource.com/schedule.html

17.03.2025 17:00 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

Blogged: Create a Task and Start it Later.

With C# you can create a task, but defer execution until later.

nodogmablog.bryanhogan.net/2025/03/crea...

Why do this? You can cache tasks and make sure the value is computed once, on demand, even if it is requested thousands of time

#csharp #dotnet

17.03.2025 17:01 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

Podcast: #177 Ted Neward, The Interview Industrial Complex, Part 1.

Thanks @tedneward.bsky.social for taking the time talk with me.

nodogmapodcast.bryanhogan.net/177-ted-newa...

12.03.2025 18:40 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

Blogged: Creating an analyzer to detect infinite loops caused by ThreadAbortExceptions

andrewlock.net/creating-an-...

In this post I describe a Roslyn Analyzer that detects code which can result in infinite loops if a ThreadAbortException is raised

#dotnet #csharp

05.03.2025 19:13 β€” πŸ‘ 7    πŸ” 7    πŸ’¬ 0    πŸ“Œ 0
Preview
Doing Some Cleanup in a BackgroundService | no dogma blog If you use the Worker Service template in .NET, you may want to do some cleanup when the background service is canceled. In this post, I'll show you how to do this.

If you use BackgroundServices you will know there is often a Task.Delay(1000, ct), but did you know if the cancellation token is cancelled during the delay, the expected TaskCanceledException is hidden making harder to do clean up work.

nodogmablog.bryanhogan.net/2025/02/doin...

#dotnet #c_sharp

25.02.2025 20:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Podcast with @csharpfritz.com about using .NET on Linux.

nodogmapodcast.bryanhogan.net/176-jeff-fri...

#dotnet #linux

19.02.2025 18:09 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

You look ready to pull a rabbit out of a hat.

15.02.2025 19:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@tedneward.bsky.social May I DM you?

12.02.2025 19:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks for this great resource and promoting content producers.

12.02.2025 12:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Using private mode in a trustworthy browser with tracker blocking and a trustworthy VPN can help

08.02.2025 18:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Embed Card for https://www.coffeeandopensource.com/guest/mark-eisenberg.html

Embed Card for https://www.coffeeandopensource.com/guest/mark-eisenberg.html

From the @coffeeandopensource.com Archives, I chatted with Mark Eisenberg about all sorts of great #tech and #oss topics. Access the stream or listen to the podcast below. Be sure to like/subscribe. Thanks for tuning in!
https://www.coffeeandopensource.com/guest/mark-eisenberg.html

03.02.2025 16:00 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
No-Tracking Queries: Speed Up Your EF Core Like a Pro - Chris Woody Woodruff Imagine you’re at a library, flipping through books at lightning speed. You don’t need to write notes in the margins or keep tabs on which books you’ve touchedβ€”you’re just reading. That’s what no-trac...

Want faster EF Core queries? Meet No-Tracking!

If you’re just reading data, why have EF Core track it? AsNoTracking() boosts performance by skipping unnecessary overhead, making it perfect for reports, APIs, and dashboards.

woodruff.dev/no-tracking-...

#EFCore #dotnet #PerformanceOptimization

31.01.2025 13:13 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Wow, AI is copying people now!

30.01.2025 14:40 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The app won't let me. I think you need to follow me back?

30.01.2025 14:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

...PowerShell, git, GitHub command line

30.01.2025 14:14 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@csharpfritz.com May I dm you?

30.01.2025 14:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

That's all I use.

Ubuntu, VS Code, Rider, Data Grip, and Docker (for databases, queues, Kafka, redis, etc).

30.01.2025 14:05 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Same on pixel 7a

28.01.2025 02:02 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I like messing around with Kafka and C#, but goodness, it takes an almost magic incantation to get it running with Docker. Here is an example with bitnami, but it applies to most images.

#csharp #dotnet #kafka

nodogmablog.bryanhogan.net/2025/01/runn...

28.01.2025 00:25 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

When was this introduced?

25.01.2025 15:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Seeding a Large Database with Entity Framework | no dogma blog Here's an example of seeding a database with a lot of data using Entity Framework. It avoids slowdowns, timeouts, and using excess memory.

Handling the context gets interesting when seeing with Entity Framework -

nodogmablog.bryanhogan.net/2025/01/seed...

25.01.2025 14:55 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

@bryanjhogan is following 20 prominent accounts