Is over-engineering on the developer maturity journey? Do you need to have written lots of over complicated apps to appreciate … Continue reading Is software architecture over-engineering on the developer maturity journey?
Generate a series of numbers in SQL Server 2022
There’s been lots of awesome T-SQL improvements in SQL Server 2022. One of which is the new GENERATE_SERIES relational operator … Continue reading Generate a series of numbers in SQL Server 2022
Keeping interfaces just used for mocking in the same file as the implementation
When creating an interface purely for the ability to mock I do like to keep both the class and interface … Continue reading Keeping interfaces just used for mocking in the same file as the implementation
.NET 7 increment operator ++ and +1 compiling differently
Since they are equivalent ++ and +1 should compile to the same code, right? As we can see below, this … Continue reading .NET 7 increment operator ++ and +1 compiling differently
Three tips to help control unnecessary complexity in our software architecture
I post about it a lot, but unnecessary complexity really is a silent productivity killer in our development lifecycles 👿 … Continue reading Three tips to help control unnecessary complexity in our software architecture
Benchmark custom code workarounds against each new version of .NET as the framework gets faster all the time
Always revisit and benchmark your custom code workarounds with each version of .NET. The .NET framework and the JIT compiler gets faster … Continue reading Benchmark custom code workarounds against each new version of .NET as the framework gets faster all the time
Poll Results : What e2e testing tool do you prefer?
What tool are you using for e2e automated testing in your team and why? I ran the below LinkedIn poll … Continue reading Poll Results : What e2e testing tool do you prefer?
Visual Studio now supports multiple GIT repositories
Did you know that Visual Studio (as of version 2022 17.4) supports using multiple GIT repositories? No more opening multiple Visual … Continue reading Visual Studio now supports multiple GIT repositories
Use new StringSyntax Attribute in .NET 7 to give semantic meaning to strings
FYI… the StringSyntax Attribute is new in .NET 7 and allows us to tell Visual Studio what kind of string … Continue reading Use new StringSyntax Attribute in .NET 7 to give semantic meaning to strings
Create plain GUID in Visual Studio via PowerShell
I use GUIDs for ad hoc stuff like passing into postman requests or when inserting dummy data into DBs for … Continue reading Create plain GUID in Visual Studio via PowerShell
Compare local files in Visual Studio with File Differ extension
It’s likely to be it built in soon but for the moment Mads Kristensen has created the File Differ extension … Continue reading Compare local files in Visual Studio with File Differ extension
.NET ChatGPT example – API controller using injected repository and DTO mapped to model using explicit operator
I love ChatGPT and previously posted an example of some ChatGPT generated code to create a controller, with DTO and … Continue reading .NET ChatGPT example – API controller using injected repository and DTO mapped to model using explicit operator
ChatGPT generated .NET CRUD controller with DTO mapped to domain model using AutoMapper
It’s not perfect but I’m absolutely loving ChatGPT. ChatGPT-3 (current version as of writing) is trained on 175 billion parameters, … Continue reading ChatGPT generated .NET CRUD controller with DTO mapped to domain model using AutoMapper
String + versus StringBuilder benchmarks for 50K one char concatenations in .NET 7
I’m sure there’s still some junior .NET devs using + to concatenate large (usually an unknown) amounts of strings? Look … Continue reading String + versus StringBuilder benchmarks for 50K one char concatenations in .NET 7
Entity Framework v Dapper NuGet downloads
NuGet Trends can be fun to use to visually compare downloads of packages on NuGet. Two tools that often get … Continue reading Entity Framework v Dapper NuGet downloads
Timestamps added to output window in Visual Studio
FYI… timestamps have been added to the output window in Visual Studio 2022 17.4 (released November 15 , 2022) which … Continue reading Timestamps added to output window in Visual Studio
Visual Studio sticky scrolling now in preview
Sticky scroll in Visual Studio is in preview as of Visual Studio 2022 17.5 Preview 2. I’m sure it will … Continue reading Visual Studio sticky scrolling now in preview
Poll Results : Will you use .NET 7 in production even though it’s not an LTS release
.NET 7 was released in November (2022) and includes a lot of awesome new features and performances improvements. It is … Continue reading Poll Results : Will you use .NET 7 in production even though it’s not an LTS release
Convert a file to use .NET file-scoped namespaces with Visual Studio refactor
Did you know… in Visual Studio we can convert a class file to use .NET file-scoped namespaces by adding a … Continue reading Convert a file to use .NET file-scoped namespaces with Visual Studio refactor
ASP.NET application output now available in integrated Visual Studio window
FYI… in the latest Visual Studio 2022 preview (version 17.5 Preview 2) we can view the application output for ASP.NET projects … Continue reading ASP.NET application output now available in integrated Visual Studio window
.NET nostalgia – Wrox .NET books from the 2000s and 2010s
Who remembers the big red Wrox books which were popular in the mid 2000s and early 2010s? Wrox used to … Continue reading .NET nostalgia – Wrox .NET books from the 2000s and 2010s
.NET 8 alpha version available on GitHub.com/dotnet
For the real .NET nerds amongst us the .NET 8 alpha version installer is available on GitHub.com/dotnet/installer. To see what’s … Continue reading .NET 8 alpha version available on GitHub.com/dotnet
Poll Results : Do you have apps in production using jQuery
In work recently we were reminiscing about jQuery…. yes it’s still maintained and indeed there was a release in December. … Continue reading Poll Results : Do you have apps in production using jQuery
Poll Results : In a microservices architecture do you prefer monorepo or polyrepo source control setup?
I ran a LinkedIn poll recently to see if devs preferred a mono or poly repo setup when using microservices … Continue reading Poll Results : In a microservices architecture do you prefer monorepo or polyrepo source control setup?
File scoped types new in C# 11
File scoped types are new in C#11 and allow us to create types whose visibility is scoped to the source … Continue reading File scoped types new in C# 11