Playwright v1.45 makes you a Time Wizard
The latest release of Playwright, version 1.45, introduces a new feature called Clock . This feature allows you to manipulate the time in your tests, making...
Read bitTools || (new) features || blog posts in a bit format on topics that I'm excited about.
The latest release of Playwright, version 1.45, introduces a new feature called Clock . This feature allows you to manipulate the time in your tests, making...
Read bitIt's finally here! While working with TypeScript, I assume we all have been in a situation where we have to write a type predicate to help TypeScript...
Read bitScrutor , created by Kristian Hellang , is a library that extends the functionality of the built-in ASP.NET Core Dependency Injection (DI) container (...
Read bitThroughout the last few years, GitHub has provided us with more and more tools that improve the experience with their platform. The development never stops,...
Read bitThe most challenging aspect of software development isn't the technical side of the coding process, but rather the human interactions involved. To quote...
Read bitDefine module boundaries in your project by restricting specific imports using ESLint's no-restricted-imports rule. The rule allows you to prevent certain...
Read bitDon't just duplicate the way you query entities in your project, consider tweaking how entities are retrieved for some specific scenarios. Being attentive to...
Read bitIn recent versions, Angular has introduced a new set of APIs and features that are considered "modern" Angular. The inject method, signal based inputs, and...
Read bitWhen accessing values from a dictionary, it is common to check if the key exists before accessing the value to avoid exceptions when the key does not exist...
Read bitIn Angular 18 you will be able to specify fallback content for ng-content slots. This feature allows you to define default content within ng-content tags, if...
Read bitIn Entity Framework 9 we will have more control on how parameters and constants are used within the generated SQL queries. Using the two new methods...
Read bitSo far, the preview versions of .NET 9 have introduced two improvements to the dotnet test command.
Read bitTo measure is to know. As a developer, it's crucial to evaluate your system's capability for building robust and reliable software applications.
Read bitSQL Temporal Tables is a feature that allows you to keep a history of changes to a table without an effort. By enabling SYSTEM_VERSIONING on a table, SQL...
Read bitAs a developer, I spend a "lot" of time in the terminal. I use it to run various other commands ranging from navigating to folders, running my environment,...
Read bitRate limiting is a technique used to control the number of requests a client can make to a server. It is often used to prevent abuse of an API, e.g. to...
Read bitECMAScript 2023 (ES2023 or ES14) introduces a fresh set of array instance methods to enhance the way arrays can be modified.
Read bitThe Angular DevTools is a browser extension that provides debugging and profiling capabilities for Angular applications. With the DevTools you can explore...
Read bitSnapshot testing is a powerful technique that allows you to compare the output of your code with a previously stored value, also known as a snapshot. This...
Read bitGrouping an array of objects in JavaScript no longer needs to be complex. The new Object.groupBy() static method simplifies this task by allowing you to...
Read bitThe location where you filter (included) entities is important, as it has a significant impact on the result set. Without knowing the details, it's easy to...
Read bitEvery team has rules and agreements on how to write and structure code. In the best case, these are documented, and yes we all know that developers don't...
Read bitIt appears that the popular Swashbuckle.AspNetCore project isn't being actively maintained anymore, and doesn't support .NET 8. NSwag provides a good and...
Read bitHow many times was there an issue within your application because you trusted data that you don't control (e.g. incoming data), or worse, how many times did...
Read bitStarting from EF 8, EF automatically stores a collection of primitive values directly in a column (as JSON), whereas previously a separate table was required.
Read bitIf you know me, you know that I like to fully optimize my workflow, and a Dev Drive helps to improve it.
Read bitRecently I was able to reduce the initial load of our Angular application from 2.8MB to 750kb ( a 75% reduction! ) in just a few minutes.
Read bitThe using declaration is a feature (introduced in C# 8.0) that allows you to declare a disposable object with the using keyword.
Read bitExciting news for Angular developers!
Read bitjq is a lightweight command-line tool to quickly process your JSON data. I mainly use it to search ( grep ) and select specific fields of a JSON file, but it...
Read bitWhen you've worked in a mono-repository that contains multiple C# projects, you've probably felt the pain of maintaining NuGet dependencies. Updating...
Read bitI learned this trick from Matt Pocock , and I've seen the power by seeing Marko Stanimirović using it in the NgRx codebase. Because I think that we'll see...
Read bitDid you know you can use the browser DevTools (in Microsoft Edge and Firefox) to edit and send network requests?
Read bitI find it important to know how the most-used TypeScript utility types are implemented. Here, we see the implementation of the Partial (all properties of a...
Read bitUse bulk updates to update entities with a single command (without the need of the change tracker).
Read bitAs developers, we read more code than we write.
Read bitCreating collections becomes simpler in C# 12 using collection expressions. We can also make use of the spread operator .. to copy the values from a collection.
Read bitAs developers, we sometimes need an isolated environment or a testing sandbox. For example, to reproduce a problem, or to share a snippet with a team member.
Read bitThe past week I cursed Angular a little bit because I just wanted to have a simple if-else condition within my HTML template. But, as you probably already...
Read bitMigrating from one test library to another can be a daunting task, but with the right tools, we can make it a smoother transition.
Read bitHow many times have you added a new option (enum, union, expression, ...) without updating all code paths? Did this result in unforeseen issues?
Read bitC# 12 introduces a new syntax to declare class constructors with Primary Constructors . That's why I thought that it's a good time to look back at the...
Read bitAre you working on multiple projects that each require a different Node.js version, and are you tired of juggling between them? Then I've got the right tool...
Read bitUse git log to create a heatmap of the files that have been changed the most frequently within a repository. This is useful to identify the files that most...
Read bitEntity Framework 8 has a new feature that allows you to execute raw SQL queries against the database and return results as unmapped types. To use this...
Read bitDoes your application correctly handle all kinds of input correctly? Do you need some inspiration to test your application with some edge/special cases?
Read bit.http files are a simple way to quickly invoke your API endpoints because you don't have to leave your IDE to use a separate tool. I use it regularly when...
Read bitThe Angular 16 release adds useful enhancements to the @Input decorator. We can make an input required, we can transform the input value, and we can bind...
Read bitYou can use the default npm commands npm outdated (check the registry to see if any packages are currently outdated) and npm update (update all the packages...
Read bit