Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 25
  1. Fun story today about that time I tried to make my company's program comply with the Vista requirements.

  2. Your Bluetooth is bad, and you should feel bad Alternate title: Your Bluetooth is OK, but it could be better Just two gripes this time!

  3. API Rules for designers: use one encoding, not two "If you haven't tested your code, it's probably wrong" Today's bad API example is from the Bluetooth Heart Rate system.

  4. JSON: why is C# TRIM so horrible for no reason Trim analysis warning IL2026: SerializeExtra.Demonstrate_Bug_Program.Demonstrate_Bug_Main(): Using member 'System.Text.Json.JsonSerializer.Serialize(!!

  5. Fixing my XAML Parsing Failed bug (subfolders) This is a doozy, and is about the last possible bug one would imagine in the new WinUI3 that Microsoft is pushing for us to use when making apps for Windows.

  6. This EPUB bug brought to you by the IRS and their i1040gi.epub file Normally government EPUB files are pretty good about making usable EPUB files.

  7. Can you solve this error message?

  8. The old days of programming, before source control systems, was kind of dangerous.

  9. I'm getting closer to releasing my next app (tentatively called "Simple Exporter for Bing Maps Collections"), I'm running into more silly issues with both Visual Studio 2022 and with the WinUI3 toolkit.

  10. WIN32S: a programmer's dream from the Windows 3.1 era Gather 'round, young 'uns, and let me give you some wisdom from the days of the Win32s compatibility library.

  11. Like any good developer, I want my WinUI3 app to have keyboard control over the menus.

  12. Applies to: WinUI3 apps with a WebView2 and a menu Problem: Normally users press the "Alt" ("Menu") key to use an app's menu.

  13. Update your WebView2 WinUI3 code to read ms-appx:/// URLS from your Assets folder It was the simplest of APIs, it was the most irritating of APIs.

  14. Upleveling my gripes + making better software People who read my blogs know that I'll write mostly about things not working: painful Bluetooth protocols, awkward APIs, and inconvenient programs.

  15. TL/DR: To verify that you are setting the right user-agent, you have to check the "web resource requested" event's copy of the request headers, not the "navigation starting" event's copy.

  16. TL/DR: Visual Studio 2022 is wrong, and your code is OK Background: I'm having to switch from the awesome NewtonSoft JSON library over to some crappy System.Text.Json library (because VS thinks that breaking everyone to support Trimming is somehow ever OK…

  17. TL/DR: Desktop .NET Core apps might be missing a Publish directory because it's in the .github ignore list.

  18. Weird issues in Visual Studio 2022 -- an ongoing saga Ever get an error in a brand new project saying that "App.WinRTVtable.g.cs" is failing and that "global::WinRT is a namespace?

  19. Articol fără titlu

    A quick guide to using Bluetooth serial ports from C# Reading from classic Bluetooth serial ports isn't hard but does involve understanding 5 different classes and connecting them together.

  20. The Modbus over Serial protocol doc has a clear, simple set of instructions on how to decode.

  21. EPUB format thoughts

    How hard can EPUB files be?

  22. First thoughts on std::expected

    std::expected -- what can you do with it?

  23. XAML Style Dictionaries

    Step by step: adding consistent styles to a XAML app XAML has a useful feature where you can set up a single file with a bunh of "style" configuration for your XAML (UWP) app, and then use those styles everywhere in your app.

  24. Overview: Installers for .NET Core

    Installer types for .NET Core applications I've got a new application, and I want a nice installer for it.

  25. Project: Govee E-Ink display

    The Govee H5074 E-Ink display project!