Andrew Lock "Sock"

5.9K posts

Andrew Lock "Sock" banner
Andrew Lock "Sock"

Andrew Lock "Sock"

@andrewlocknet

Microsoft MVP and blogger, focused on ASP.​NET Core. Author of ASP.​NET Core in Action: https://t.co/GTRJ4hBm9s @[email protected] @andrewlock.bsky.social

Plymouth, England Katılım Mayıs 2016
909 Takip Edilen16.4K Takipçiler
Kevin Gosse
Kevin Gosse@KooKiz·
I tried @wavetermdev, unfortunately it's missing some critical features for me to adopt it, but I'm really jealous at their tab management. Just drag the tabs around to reorganize them, and it works with zero learning curve. Why aren't all terminals like this? I'm a Windows guy, I don't want to learn a bunch of keyboard shortcuts just to organize my tabs.
English
1
0
17
4.4K
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
Blogged: Configuring contextual options with Microsoft.Extensions.Options.Contextual andrewlock.net/configuring-co… In this post I take a brief look at the Microsoft.Extensions.Options.Contextual package to understand what it's for, how to use it, and decide whether to use it #dotnet
English
2
7
48
5.1K
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
Blogged: Splitting the NetEscapades.EnumGenerators packages: the road to a stable release andrewlock.net/splitting-the-… In this post I describe the recent architectural changes to the NetEscapades.EnumGenerators package, which is now a metapackage, to support more scenarios #dotnet
English
0
4
14
1.3K
Marc Gravell
Marc Gravell@marcgravell·
The enquickening continues; have made case-sensitive and insensitive work in similar time now. But most importantly: parse from bytes rather than chars. Does it handle unicode? No. Does it handle flags? Also no. Does most protocol token parsing involve those things? Again, no!
Marc Gravell@marcgravell

Current status: going completely OTT with Roslyn code-generator for parsing protocol literals (in my case, for RESP parsing) - and I haven't even added SIMD yet...

English
1
0
15
3.7K
Andrew Lock "Sock" retweetledi
Particular Software
Particular Software@ParticularSW·
Sometimes the best takeaway from a source generator review is that the underlying API is already well designed. If the manual code is simple and performant, maybe a generator isn't needed. Good analysis from @andrewlocknet on #dotnet metrics andrewlock.net/creating-stron…
English
0
1
5
850
Andrew Lock "Sock" retweetledi
Particular Software
Particular Software@ParticularSW·
#dotnet has had built in metrics APIs since .NET 6, but many teams still aren't using them for custom application or business metrics. This post by @andrewlocknet covers what's available and how to get started with System.Diagnostics.Metrics andrewlock.net/creating-and-c…
English
0
3
11
1.2K
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
Blogged: Exploring the (underwhelming) System.Diagnostics.Metrics source generators andrewlock.net/creating-stron… In this post I explore the source generators shipped in Microsoft.Extensions.Telemetry.Abstractions, explore the code, and discuss whether I would use them #dotnet
English
0
8
42
3.2K
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
Blogged: Creating and consuming metrics with System.Diagnostics.Metrics APIs andrewlock.net/creating-and-c… In this post I provide an introduction to the System.Diagnostics.Metrics API, show how to create a custom metric, and show how to read it with dotnet-counters #dotnet
English
6
10
50
3.3K
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
Blogged: Making foreach of an IEnumerable allocation-free, using reflection and dynamic methods andrewlock.net/making-foreach… In this post I describe why foreach sometimes allocates, and show how you can use DynamicMethod and Reflection.Emit to go allocation-free #dotnet #csharp
English
3
8
39
3.1K
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
@KooKiz I've been using it for a couple of weeks and I've not seen a single crash, or even a bug. I've since spotted other missing features, like zip file handling etc, but the speed has still been worth it so far
English
0
0
1
201
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
Blogged: The Windows File Explorer replacement, File Pilot, is awesome andrewlock.net/windows-explor… In this post I describe my experience with the Windows File Explorer replacement, File Pilot. It's blazingly fast, feature rich, and has hotkeys everywhere
English
5
8
71
7K
Andrew Lock "Sock"
Andrew Lock "Sock"@andrewlocknet·
Blogged: Recent updates to NetEscapades.EnumGenerators: new APIs and System.Memory support andrewlock.net/updates-to-net… In this post I describe the recent changes to the NetEscapades.EnumGenerators source generator including support for the System.Memory package and new APIs #dotnet
English
0
3
19
2.1K