TaskCollection - Making your async code parallel

17 Dec 2021 -

When I wrote an article for the 2021 C# Advent Calendar on Tuesday, I promised to post a couple days in a row. That didn’t work out. But at least I eventually got to it. The async\await keyword added to C# a few years ago greatly simplified use asynchronous code in our applications. However, asynchronous...

Read more ...

TimeThis! - Simple timings for code blocks (Fun with IDisposable)

14 Dec 2021 -

This post is for day 14 of the 2021 C# Advent Calendar operated by Matthew Groves. Thanks for letting me participate! After I reserving my spot for this year, I realized two things: I forgot to sign up last year, after participating the first three years and Largely due to that, I haven’t written anything...

Read more ...

Cleanup Scaffolded Code with modelbuild

12 Dec 2019 -

This post is for day 12 of the 2019 C# Advent Calendar operated by Matthew Groves. Thanks for letting me participate! Now, this isn’t specifically about C#; it’s more directly about .NET Core and Visual Studio tooling, but we use C# in it, so it counts…. EntityFramework would really like you to use the “code...

Read more ...

Simplify Data Entry in Xamarin Forms with MappedButton

23 Jul 2019 -

Back when Steven Thewissen proposed the “Xamarin UI July”, I thought “Great! That would be the perfect place to talk about that custom control I created for that Xamarin project I did. I then spent the next month working on a Vue-based website (my first time use VueJs). Now I have to shift my brain...

Read more ...

Here, There and Everywhere - A Simple Look at .NET Memory Model

10 Dec 2018 -

This post is for day 10 of the 2018 C# Advent Calendar operated by Matthew Groves. Thanks for letting me participate! This is actually a generic .NET article, not specifically a C# one, but the examples will be in C#, so it counts. Often, when I’m in a job interview, I’m asked about the .NET...

Read more ...

Older Posts......