Tips & Tricks
I’ve been working with Blazor Client (WASM) a fair amount recently and a couple of days ago someone asked me about how to load configuration from a file. I’d never had the need for that type of configuration before but it got me curious about what was possible.
After a little searching I …
For this discussion let us assume we wish to store configuration in the file config.json.
{ "epicswords": { "stormbringer": "elric", "excalibur": "arthur" } } If you start investigating configuration for .NET Core you’ll discover reading from .json files …
On several occasions I’ve had issues with the naming of my Azure resources. The most annoying of these issues was when I’d created a resource for prototyping in one subscription, deleted it and then attempted to recreate it with the same name under a different subscription only to discover that the …
In File Explorer hold Shift+Right-Click on any selected item or group of items and you’ll find the context menu item “Copy as path”. Selecting this will add the path strings for the selected items to your clipboard. For example the image below shows a folder and two files selected …
Getting my feet wet with Azure SQL tonight and I just created my first ever database on the platform. The first step was to create a new server instance since I did not yet have a hosting server. The second page of the creation prompts you to provide credentials for the new server. With no …
I have a Web API project which leverages an SQL database through Entity Framework. Pretty standard Microsoft technology stacks I’ve been using for years. When using EF I’ve historically disabled lazy loading and proxy generation due to lack of need for those features. This project I left …
Until recently I didn’t know that menus in Windows applications (File, Tools, Help, etc.) could be presented in more than one way. I discovered this little feature because my new Lenovo X1 Carbon came with the setting set to right-handed which is the opposite of my previous dozen plus Windows …