Not just for IIS, but for hardening any Windows system including ones running http.sys (like ADFS): [Wayback/Archive] Nartac Software – IIS Crypto
Archive for the ‘.NET’ Category
Nartac Software – IIS Crypto
Posted by jpluimers on 2025/03/26
Posted in .NET, Communications Development, Development, Encryption, HTTP, HTTPS/TLS security, Software Development, TCP, Web Development | Leave a Comment »
Note for future self if .NET hash calculations from `ComputeHash()` are slower than expected
Posted by jpluimers on 2025/03/26
Normally when calculating hashes in .NET you use the [Wayback/Archive] HashAlgorithm.ComputeHash Method (System.Security.Cryptography) | Microsoft Learn.
This can be slow as [Wayback/Archive] cmcginty showed while answering the question [Wayback/Archive] How to get an MD5 checksum in PowerShell – Stack Overflow by [Wayback/Archive] Luke101 posing a faster solution (in this case for md5, but it can be generalised):
Posted in .NET, C#, Chocolatey, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Tagged: 1018 | Leave a Comment »
Some notes on recursive lambda expressions in case I ever want to try this myself (spoilers: a lot of study time ahead; many of these links are not live any more)
Posted by jpluimers on 2025/03/20
A sidestep of the series around Writing a tool that restarts the Google Chat desktop app Window (and hopefully the Google Duo desktop app Window too):
Enumerating Windows and especially Child Windows is a recursive endeavour, so I wondered if it was possible to write a self referencing delegate, anonymous method or lambda in C#.
That turns out to be way more complicated than I hoped for.
Some notes below, as:
- one day I might want to rewrite the core to use this technique just for learning purposes
- finding these links was quite a bit harder than expected due to link rot often caused by missing redirects (especially on the Microsoft blog sites: for one as not all their blog members are still with them which means content got ditched, and also because they moved through a couple of blog platforms so the really old links to not redirect, not even while tracking them through the Wayback Machine, or the content is incomplete which is why all below links are both in the Wayback Machine and Archive.is)
Here we go:
Posted in .NET, C#, Conference Topics, Conferences, Development, Event, Software Development | Tagged: 000080, 0000ff, 008080, ff0000 | Leave a Comment »
Writing a tool that restarts the Google Chat desktop app Window (and hopefully the Google Duo desktop app Window too) and some EnumWindows/EnumChildWindows tricks
Posted by jpluimers on 2025/03/19
Earlier this months I wrote Writing a tool that restarts the Google Chat desktop app Window (and hopefully the Google Duo desktop app Window too) promising I would rewrite the Delphi code into C# and integrate it into PowerShell.
This is the beginning on porting the basics of the Delphi code (which had a flaw!) to C# and contains EnumWindows/EnumChildWindows and error handling tricks and tips.
Posted in .NET, C#, Conference Topics, Conferences, Delphi, Development, Event, PowerShell, Scripting, Software Development, __Unfinished | Tagged: 46843, 51505, 600 | Leave a Comment »
Enabling XML Auto Commenting C# in Visual Studio Code is in an odd setting (via Stack Overflow)
Posted by jpluimers on 2025/03/18
In Visual Studio Code I already had [Wayback/Archive] C# – Visual Studio Marketplace: C# for Visual Studio Code (powered by OmniSharp) installed in (through code --install-extension ms-dotnettools.csharp), and wanted automatic XML documentation comments generation just like Visual Studio does:
[Wayback/Archive] XML documentation comments – document APIs using /// comments | Microsoft Learn
Posted in .NET, C#, Development, Hardware, Java, Java Platform, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Power User, Software Development, XML, XML/XSD | Tagged: 1644, 2023, 4261, 48558, 48559, 8 | Leave a Comment »
For my link archive: Counting the leading zeroes and ones in a binary number with C#
Posted by jpluimers on 2025/03/13
From a while back, but still interesting:
- [Wayback/Archive] Counting the leading zeroes in a binary number with C#
- [Wayback/Archive] c# – Getting the number of leading 1 bits – Stack Overflow (thanks [Wayback/Archive] Barry Kelly and [Wayback/Archive] SoapBox)
Especially the first link explains the algorithm very well and is similar to links referred to from the Stack Overflow question as it is based on counting ones (and leading ones are basically leading zeros but bit-inverted).
It also explains a cool thing for leading zeros: modern CPU have instructions which .NET Core.
Posted in .NET, AArch64/arm64, Algorithms, ARM, Assembly Language, C, C#, C++, Delphi, Development, Software Development, x64, x86 | Tagged: csharp, dotnet, dotnetcore | Leave a Comment »
I was today years old when I found there is a shortcut to switch to the Terminal tab in Visual Studio Code
Posted by jpluimers on 2025/03/12
Boy, I always to the Ctrl+Shift+Space on Microsoft Windows (or on MacOS Command+Shift+Space) detour to switch to the Terminal tab in Visual Studio Code
So I was amazed to find the shortcut inside the first bullet in the Google Search quote of the first result at [Wayback/Archive] vscode terminal open new terminal – Recherche Google:
Posted in .NET, Apple, Development, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Mac OS X / OS X / MacOS, Power User, Software Development, Terminal, vscode Visual Studio Code, Windows, Windows Terminal | Tagged: 143 | Leave a Comment »
Writing a tool that restarts the Google Chat desktop app Window (and hopefully the Google Duo desktop app Window too)
Posted by jpluimers on 2025/03/04
In the past, the Google Hangouts desktop app on Windows would integrate with the system “tray” (actually the notification area) and show you missed chats and calls.
The [Wayback/Archive] Google Chat desktop app does not. It shows missed messages only as a number on the taskbar icon. Even worse: when you close the Window, the taskbar application icon does not show that number any more.
The odd thing is that the Google Duo desktop app does stay active and shows a notification popup on incoming calls. The Google Chat desktop app does not.
So I wanted to restart the Google Chat desktop app automatically when the Window was closed. But there is a catch:
Posted in .NET, C#, CommandLine, Delphi, Development, PowerShell, PowerShell, Scripting, Software Development | Tagged: 37 | Leave a Comment »
GitHub – Sanakan8472/copy-dialog-lunar-lander: Play lunar lander in you windows file copy dialog
Posted by jpluimers on 2025/02/25
[Wayback/Archive] Sanakan8472/copy-dialog-lunar-lander: Play lunar lander in you windows file copy dialog
Via:
- [Wayback/Archive] Richard Kogelnig on Twitter: Have some amusement on a Monday morning: A friend made a lunar lander game which hooks into the Windows copy dialog “While running, the app will detect all windows copy dialogs and paint a game overlay on top of them while they are focused.”
- [Wayback/A] Kris on Twitter: “GitHub – Sanakan8472/copy-dialog-lunar-lander: Play lunar lander in you windows file copy dialog Via @JollyOrc”
--jeroen
Posted in .NET, C#, Development, Power User, Software Development, Uncategorized, Windows, Windows 10, Windows 11, Windows Development | Leave a Comment »
Visual Studio Code: copying text when none is selected.
Posted by jpluimers on 2025/02/19
Last week, I wrote that I switched to Visual Studio Code for most of my text based coding: Visual Studio Code: blazingly fast text expansion with Emmet.
I also use vscode for documentation and text writing, which – yes sometimes I am a copy/paste person too – means you want a bit more flexibility than just copying the selected text.
In most of my previous development tools, either the tool itself, or a plugin, would allow me to copy the word under the cursor if none was selected.
I wanted to change that behaviour too and become more flexible.
So I did some searches:
Posted in .NET, Conference Topics, Conferences, Development, Event, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Lightweight markup language, MarkDown, Power User, Software Development, Visual Studio and tools, vscode Visual Studio Code | Leave a Comment »






