Azure Load Testing is a fully managed load testing service that uses JMeter under the hood. It’s really easy to … Continue reading How to load test an App Service instance with Azure Load Testing
For learning and discussion purposes I’ve done up a series of short articles looking at the architecture of eShopOnWeb which … Continue reading eShopOnWeb architecture article series (16 parts)
In Entity Framework currently, SQL queries must return a type in the model (known to EF) or a scalar type. … Continue reading Raw SQL queries for unmapped types available from Entity Framework 8 Preview 1
Version 5.1 of Microsoft.Data.SqlClient was released last week (19th Jan 2023) and included support for DateOnly and TimeOnly types which … Continue reading Entity Framework 8 with SQL Server provider will support DateOnly and TimeOnly types
Just for fun I ran a BenchmarkDotNet comparison between .NET Framework 4.8 and .NET 7 for some reflection related functionality … Continue reading .NET Framework 4.8 v .NET 7 reflection performance benchmarks
Using the Entity Framework in-memory DB for unit tests? It might not be giving you the coverage you think it … Continue reading Should I use the Entity Framework in-memory DB for unit tests?
Transitive packages will soon be visible in Visual Studio from the NuGet package explorer. These are packages installed into your … Continue reading Transitive packages will soon be visible in NuGet Package Manager in Visual Studio
In .NET land whether to use the repository pattern over Entity Framework is a highly debated topic. I wanted to … Continue reading Poll Results : Do you use the repository pattern over Entity Framework?
Visual Studio 2022 17.5 Preview 3 has just been released, one of the cool features to be included is a … Continue reading Visual Studio finally gets built in spell checker
FYI, in .NET 6+ the Chunk LINQ method is useful for splitting up sequences into sub sequences of a certain … Continue reading How to spilt a collection into sub collections of a certain size in .NET 6+ using the LINQ Chunk method
If you want the absolute latest EF features and bug fixes which have been committed to the main branch check … Continue reading How to get the Entity Framework daily builds from NuGet
As of version 7, Entity Framework will translate the GetType() method in LINQ where clauses. This means we can more … Continue reading Entity Framework 7 translates GetType() in where clause
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?
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
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
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
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
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
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?
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
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
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
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
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
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
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
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