Thomas Levesque

76 Followers
38 Following
63 Posts
C# developer from France, currently living in Québec. Microsoft MVP (Development Technologies). Maintainer of FakeItEasy (https://fakeiteasy.github.io)
Bloghttps://thomaslevesque.com
Githubhttps://github.com/thomaslevesque
Running a GitHub Actions workflow that doesn't exist yet on the default branch

Writing this mostly for future me in case I need it again. Hopefully it can help someone else too! Sometimes you need to run a GitHub Actions workflow, but it’s not on the default branch yet, because it’s still a work in progress and hasn’t been merged yet. Typically it’s just because you want to test it. If it has a pull_request trigger, no problem, it will just run automatically when you open the pull request that adds it (if you have the appropriate permissions on the repo).

Don't know if I reach any game developer. But games need a "adult mode" as in "I haven't played the game for weeks because life happened. Please give me a ramp up of the story so far and an option for a short tutorial with all the controls and mechanics".

Get FakeItEasy 8.0.0!

changed: supported TFMs, uses Castle.Core 5.1.1, comparison of enumerable contents
new: custom argument comparers
fixed: failure to call constructor with 'in' parameter

AND MORE!

Thx GitHub users mriehm, ViktorHofer

https://github.com/FakeItEasy/FakeItEasy/releases/8.0.0

Release 8.0.0 · FakeItEasy/FakeItEasy

Changed Upgrade Castle.Core to 5.1.1 (#1925) Match enumerable arguments by comparing contents rather than via Equals (#1960) This is technically a change, but it's pretty unlikely that anyone w...

GitHub

So I've been doing some #OSS work for a #Vite #aspnetcore integration, and found a great blog post by @thomaslevesque about running tasks on Middleware. While he doesn't recommend the approach in an app you fully control, it works well for the scenario I have.

That said, his project Extensions.Hosting.AsyncInitialization is a great package for anyone looking to run tasks before the host starts.

https://github.com/thomaslevesque/Extensions.Hosting.AsyncInitialization

#dotnet

GitHub - thomaslevesque/Extensions.Hosting.AsyncInitialization: Async initialization in .NET Core generic host (.NET Core 2.1+ and ASP.NET Core 3)

Async initialization in .NET Core generic host (.NET Core 2.1+ and ASP.NET Core 3) - GitHub - thomaslevesque/Extensions.Hosting.AsyncInitialization: Async initialization in .NET Core generic host (...

GitHub

#programmers

EDIT: Alt text added per request.

On AI, GPT and the future of developers

When I started using GitHub Copilot, I was quite amazed at how good it was. Sessions using ChatGPT can be jaw dropping in terms of the generated content. Th...

Ayende @ Rahien
I made a desktop version of my favorite XKCD.
SQLitePCLRaw and open source sustainability

I like Mastodon, but it feels a bit too serious. Where are all the funny accounts posting stupid memes and cat GIFs? (other than @khalidabuhakmeh of course 😜)
C# 11 List Patterns - Create compatible types - Gérald Barré

In this post, I describe how to create a .NET type that is compatible with the C# 11 list pattern syntax.

Meziantou's blog