DevNotes – 004
To cause Azure to keep sending emails repeatedly for your Heath Check alerts, you need to uncheck the checkbox that says “Automatically Resolve Alerts”.
If you want to see what kind of error Axios throws, it is better to use
console.log(error). That's because the former option will list out all the properties from the error variable, while the latter option will only list out the error message itself.
Instead of adding todo comments, track it as a task so it doesn't get lost.
Source: TODO: Post an Article
Looking for a new way to do end-to-end testing on modern web apps? Check out Playwright. The tests are pretty easy to follow because it's basically a set of instructions written in code. So as you might have guessed, it's catered more to developers than non-technical folks.
I am going through the Pro ASP.NET Core 6 book. After trying to run the command
libman install firstname.lastname@example.org -d wwwroot/lib/bootstrap from page 72 (Chapter 4) of the book, I started getting the error listed below:
[LIB002]: The "email@example.com" library could not be resolved by the "cdnjs" provider
Turns out it was an issue with the library manager package that was installed. The fix is to install a newer one. More info can be found here:
Was looking for a way to add a list of objects to the appsettings.json file, then retrieve that list and turn them into something I can check against in a controller class. This answer works wonderfully.
React Hook Form — seems like a cool alternative form handler for React.
SQL to MongoDB Mapping Chart — good reference on how to write MongoDB queries based on expected SQL Server queries.
Reasons to blog if you're a software developer:
- It helps you write better emails at work.
- It helps you write better user stories and acceptance criteria.
- It helps you communicate your ideas better.
If you're noticing a pattern there, it's all about being a better communicator. And you would want that, because that also helps you advance in your career.
Discuss... or leave a comment below.