Anders Borum

3K posts

Anders Borum banner
Anders Borum

Anders Borum

@borumnet

Passionate self employed senior software architect and developer on .NET / Azure technologies, specializing in scalable and high performance API designs.

Denmark Katılım Kasım 2009
141 Takip Edilen175 Takipçiler
Nick Chapsas
Nick Chapsas@nickchapsas·
@sajanvtech It's not a spec issue. My machine is a beast with much better specs than this
English
4
0
12
3.3K
Nick Chapsas
Nick Chapsas@nickchapsas·
Ok, I'm done with Windows, enough is enough
Nick Chapsas tweet media
English
76
1
311
60.1K
Anders Borum
Anders Borum@borumnet·
@mkristensen There’s a fundamental shift going on when even supposedly senior developers use prompts for even trivial and simple tasks that are easily solved by hand in minutes; we’re witnessing decades worth of skills degenerating before our eyes.
English
1
0
2
52
Anders Borum
Anders Borum@borumnet·
@mkristensen AI features once again for yet another update, just an utter focus on AI, always. Is this really what professional .NET developers are looking for in an IDE? Am I the single developer left writing code by hand?
English
1
0
4
213
Mads Kristensen
Mads Kristensen@mkristensen·
It’s time to grab the latest August update for Visual Studio - don’t miss out on the newest features and improvements!
Mads Kristensen tweet media
English
6
14
74
5.6K
Anders Borum retweetledi
Matt DeMuth
Matt DeMuth@SourSkills·
@Dave_DotNet I prefer using Moq with AutoMocker (Moq.AutoMock nuget package) because I can reduce a little bit of the boilerplate. It becomes more apparent if you have a couple of dependencies.
Matt DeMuth tweet media
English
1
1
8
540
Anders Borum retweetledi
Amanda Silver
Amanda Silver@amandaksilver·
🐘💻 PostgreSQL just got a glow-up in VS Code! Now you can query, design, and manage your DBs without leaving your favorite editor. It’s like giving your SQL superpowers a cozy new home. Check it out 👉 aka.ms/AAwdd7v #PostgreSQL #VSCode #DevTools
English
7
47
278
17.6K
Anders Borum retweetledi
Nikita Rokotyan
Nikita Rokotyan@ernaem·
Big news for cosmos.gl — the core layout and rendering library behind cosmograph.app — it is going completely open source (MIT) and joining the OpenJS Foundation @openjsf
English
2
3
11
1.7K
Anders Borum retweetledi
Julien Couvreur
Julien Couvreur@jcouv·
We merged a C# 14 feature into VS 17.14p3: Null-conditional assignment Permits assignment to occur conditionally within a `a?.b` or `a?[b]` expression. Example: `x?.P = M();` Spec: github.com/dotnet/csharpl…
English
2
18
104
9.7K
Anders Borum retweetledi
.NET
.NET@dotnet·
In this #dotNETConf session on demand, we show you how to instrument a .NET Blazor application to use OpenTelemetry and #dotNETAspire to help us visualize what is really happening in our application. Check it out. 🎥 msft.it/6014qoRBs
.NET tweet media
English
0
5
27
5K
Anders Borum retweetledi
Stefan Đokić | .NET
Stefan Đokić | .NET@TheCodeMan__·
Here is the pattern that will make your life easier. You can register Minimal APIs automatically ⬇️ When building APIs in .NET, keeping the Program.cs file clean and maintainable becomes increasingly important as your project grows. Minimal APIs simplify creating lightweight endpoints, but manually registering every endpoint in Program.cs can lead to repetitive code. IEndpoint interface: a pattern to organize and automatically register Minimal APIs in a modular and scalable way. This approach separates API logic from the core application configuration and enables the automatic discovery of API definitions. Here’s how you can implement this pattern step by step: 𝟏. 𝐃𝐞𝐟𝐢𝐧𝐞 𝐭𝐡𝐞 𝐈𝐧𝐭𝐞𝐫𝐟𝐚𝐜𝐞 Start by creating the IEndpointDefinition interface. This will act as a contract for registering endpoints. 𝟐. 𝐈𝐦𝐩𝐥𝐞𝐦𝐞𝐧𝐭 𝐭𝐡𝐞 𝐈𝐧𝐭𝐞𝐫𝐟𝐚𝐜𝐞 𝐢𝐧 𝐘𝐨𝐮𝐫 𝐄𝐧𝐝𝐩𝐨𝐢𝐧𝐭 𝐂𝐥𝐚𝐬𝐬𝐞𝐬 Each group of Minimal APIs can be defined in its own class, implementing the IEndpointDefinition interface. 𝟑. 𝐂𝐫𝐞𝐚𝐭𝐞 𝐚𝐧 𝐄𝐱𝐭𝐞𝐧𝐬𝐢𝐨𝐧 𝐟𝐨𝐫 𝐀𝐮𝐭𝐨𝐦𝐚𝐭𝐢𝐜 𝐑𝐞𝐠𝐢𝐬𝐭𝐫𝐚𝐭𝐢𝐨𝐧 To keep the Program.cs clean, move the registration logic to a separate method. This method scans the assemblies for all classes implementing IEndpoint and registers them automatically. 𝟒. 𝐔𝐬𝐞 𝐈𝐭 𝐢𝐧 𝐭𝐡𝐞 𝐏𝐫𝐨𝐠𝐫𝐚𝐦.𝐜𝐬 Finally, update Program.cs to use the new extension. With this setup, adding new APIs is as simple as creating a new class that implements IEndpoint. There’s no need to modify the Program.cs anymore. Get the Source code for free: thecodeman.eo.page/89jch #Dotnet
Stefan Đokić | .NET tweet mediaStefan Đokić | .NET tweet mediaStefan Đokić | .NET tweet mediaStefan Đokić | .NET tweet media
English
1
13
76
3.3K
Anders Borum retweetledi
Isaac Levin
Isaac Levin@isaacrlevin·
Discover how to optimize EF Core performance by effectively tracking queries with event counters. #dotnet #ef isaacl.dev/gc9
English
0
1
0
117
Anders Borum
Anders Borum@borumnet·
@simped What would be an obvious use case to sell me this feature?
English
1
0
0
10
Anders Borum
Anders Borum@borumnet·
@davidfowl Well, judging from a search on the topic, there's ample evidence of other devs getting caught; basically just wondering if supporting string-based enums could or should be part of the default project template(s).
English
1
0
0
78
Anders Borum
Anders Borum@borumnet·
JsonStringEnumConverter (apparently) isn't added to the default serialization options used by #aspnet .. and it caught me off hand (again) today; @davidfowl is there a particular reason it's left out of the built-in extensions?
English
3
0
0
790
Anders Borum retweetledi
Oleg Kyrylchuk ✙ 🇺🇦
Oleg Kyrylchuk ✙ 🇺🇦@okyrylchuk·
.NET 9 is great, but let's not forget the awesome features of the previous versions. The C# compiler uses the Range struct to support a range operator '..' Since .NET 6, the Take method from IEnumerable<T> supports the Range type.
Oleg Kyrylchuk ✙ 🇺🇦 tweet media
English
5
18
185
9.5K