Diogo Souza explains how to use OAuth2 to authenticate users for GitHub in an ASP.NET Core application.
“.NET 5 has seen a wealth of performance improvements, and even though it’s not scheduled for final release until this fall and there’s very likely to be a lot more improvements that find their way in by then, I wanted to highlight a bunch of the improvements that are already available now.”
by Stephen Toub
In the previous post of this series, Dave Brock discussed the init-only features of C# 9, which allowed us to make individual properties immutable. That works great on a case-by-case basis, but the real power in leveraging C# immutability is when we can do this for custom types. This is where records shine.
This is the second post in a five-post series on C# 9 features in-depth.
No more secrets stored in local files or registry!
Making secrets a first-class citizen in .NET Core
Source: Introducing Secret Store
Nice intro if you are new to in functional programming language
We all have our favorite tools. Here is the other stuff I use, in no particular order!
RAD Studio Enterprise (10.3.3)
Yes, I am oldschool, but this old dog knows a lot of new tricks. There is no better way to do Windows GUI, and possibly cross platform GUI.
FinalBuilder / Continua CI (Current)
If you are not using at least one of these, you are missing out! Finalbuilder helps your Delphi builds keep their configurations straight, and Continua CI is an amazing orchestrator that detects your commits and starts your builds, unit tests, integration tests, build your installers, push the latest build the the appropriate staging areas, and much, much more.
Beyond Compare Pro (Current)
Is it the same, or different? This is my favorite comparison tool. Stable and awesome and plugs nicely into SVN and git.
For powerful RegExp, Macros and handling massive text files.
VS Code (Current)
This thing is rapidly becoming one of my favorite editors for PowerShell and SQL.
Visual Studio Enterprise (Current)
Still can’t do without it.
SQL Server Management Studio (Current)
When you need to find out why your SQL sucks.
ApexSQL Developer Pack (Current)
When you need to sync schemas or data, and beyond.
PowerShell 7 (Current)
It is absolutely a programming language in it’s own right. You need to learn this tool as it can really do some serious OS level, cross platform scripting!
Windows Terminal (Current)
Very handy for CLI work. Use Bash, PSH 5.x, PSH 7.x or cmd in the same container, at the same time.
Process Hacker 2 (Current)
TaskHandler on steroids. What threads are running, how has that memory been trending, so many features!
A growing collection of useful gadgets for your desktop.
Screenshots galore – and mine are automatically uploaded to my Google Drive.
For all your REST/SOAP/JsonRPC/<web tech> protocol testing.
Too many dang servers! For all your remoting needs, it has a very large collection of integration options.
When you need to remote to the unremotable.
Fine Transfer Program.
Compress the world.
Oracle VirtualBox (Current)
Where to test your stuff without blowing up your workstation.
Compact, capable, and easy to use image editing program.
Does that make me the hare?
Github Desktop (Current)
Inno Setup (Current)
When you need an installer, this has you covered, although I am leaning towards Powershell these days.
IcoFX (Portable 1.6.4, the last free version)
Handy icon designer
Which has totally replaced Skype and Skype for Biz as well as Slack
You know what I am talking about
What are you using?
The preview pane in the File Explorer will preview .txt files, but it will not by default allow you to preview .json, .pas, .dpr files and many other files, even if they really are text files.
Luckily, there is a simple remedy for this.
Locate the extension you want to view as text – f.x. .json
You will find it under
Add a REG_SZ string named “PerceivedType” and give it the value “text”
This will instantly allow you to preview .json files in File Explorer. No restart needed, just click on the file name again.
Another example, is the Delphi .dpr files that do not preview.
Add the PerceivedType key for .dpr
Not rocket science, but kinda handy.
RAD Studio 10.4 Sydney introduces Custom themes for editor colors. Here is how to migrate your 10.3 settings to 10.4.
First, we make a custom color theme in 10.4 – go to Options | User Interface | Editor | Color.
With the current colors, just click on [Save As] and and give your personal scheme a name.
I called mine Lars.
This creates a Registry branch, named HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes\Lars
In RegEdit, go to HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Editor\Highlight (i.e. the Rio branch)
Export to a file, f.x. MyColors.reg
In MyColors.reg, you’ll see
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Editor\Highlight] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Editor\Highlight\Additional search match highlight] ... and so on
Now, Open MyColors.reg in Notepad, search for “20.0\Editor\Highlight\” and replace it with “21.0\Editor\Highlight\Custom themes\Lars”.
Add the two branch paths for good measure.
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes\Lars] [HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Highlight\Custom themes\Lars\Additional search match highlight] ... and so on
Import the file into the registry, Restart the 10.4, go to Options | User Interface | Editor | Color and pick the custom theme “Lars”.
Search, create and modify MySQL and MariaDB objects in Visual Studio Code with this free extension.
Product page: Database Power Tools for VS Code | ApexSQL