Category: Programming
-
System.Text.Json 8.0.0.4 Vulnerability: A Solution
I was facing a very strange issue where after updating a NuGet package (System.Text.Json from 8.0.0.4 to 8.0.0.5) and targeting .NET Framework 4.8.1, the project wouldn’t build correctly.…
-
Why is My Angular Array Not Updating in the View?
As an Angular developer, you’ve probably encountered this frustrating scenario: you update an array in your component, but the changes don’t seem to be reflected in the view.…
-
Avoiding Syntax Errors with the Conditional Operator in C#
I was having a strange bug in my code, everything looked right, but for some reason, it just wouldn’t work as expected. I had written a simple conditional…
-
Two-Way Data Binding with Dates: A Common Gotcha
I was having issues getting dates to bind. I realised that when the data came down as a string, the data binding worked fine, but when it came…
-
Getting HTML Datepickers to Display Bound Data Correctly
I was trying to get a HTML datepicker to show the underlying data that it was bound to, but was running into issues with the date format. The…
-
Pulling a Close Button to the Right in Bootstrap 5
I was wanting to pull a close button to the right in Bootstrap 5 recently. After some research and experimentation, I ended up finding that the text-end class is a…
-
[Updated] Using EF migrations with multi project solutions.
When using ef migrations with an existing project, I found that that entity framework could not get a configuration, so therefore it could not get connection string etc.…
-
Resolving Common Issues with Code First Migrations in ASP.NET Core
I was working on a multi project solution and needed to do some code first migrations. It had been a while since I had done migrations and when…
-
Resolving EF Migration Errors with a Separate Database Project
As developers, we’ve all been there – stuck on a seemingly insurmountable error, with no clear solution in sight. Recently, I encountered an issue while trying to run…
-
Backing Up Oracle Free Tier Machines: A DIY Solution
I have heard that Oracle sometimes blows its free tier machines away randomly, and I had left a backup solution too long. Sure, I backed up the boot…