Microsoft MVP and blogger, focused on ASP.​NET Core. Author of ASP.​NET Core in Action: mng.bz/5mRz @andrewlock@hachyderm.io @andrewlock.bsky.social

Plymouth, England
Andrew Lock "Sock" retweeted
Experimental support for Device Bound Session Credentials (DBSC) in ASP .NET Core: Exploring the .NET 11 preview - Part 8 by @andrewlocknet andrewlock.net/exploring-the… #aspnetcore
1
14
1,299
Understanding Device Bound Session Credentials (DBSC) andrewlock.net/understanding… In this post I provide an introduction to Device Bound Session Credentials, I look at how DBSC protects against session hijacking, and how the protocol works. #security #dotnet
1
7
21
1,828
Blogged: The pain of serializing unions and closed class hierarchies with System.Text.Json in .NET 11 andrewlock.net/exploring-the… In this post I discuss the Json support for unions and closed hierarchies coming in .NET 11, the decisions made, and some of the sharp edges #dotnet
3
19
116
7,034
Blogged: Finding the total number of processors on a machine with .NET andrewlock.net/finding-the-t… In this post I show how to find the total number of logical CPUs on a host (not just those available to a process); something that isn't exposed in modern .NET #dotnet
2
6
34
2,559
3 days and @nuget still hasn't validated 4 of our packages, or responded to a customer support request... Is there anyone left there? Should someone go check on them? Or is this the brave new AI future? 🤷‍♂️
3
3
42
6,743
Andrew Lock "Sock" retweeted
Ever noticed headers like Sec-Fetch-Site and wondered what they're actually for? 👀 @andrewlocknet breaks down the Fetch Metadata headers, when browsers send them, & why devs should care. Have a look. 👇 prgress.co/4yTKOcl
2
2
1,226
Andrew Lock "Sock" retweeted
Automatic CSRF protection based on Fetch Metadata headers: Exploring the .NET 11 preview - Part 6 by @andrewlocknet andrewlock.net/exploring-the… #aspnetcore
4
12
1,593
Andrew Lock "Sock" retweeted
I would really appreciate a retweet! My current contract will be coming to an end in a month or two. I'm therefore starting to look around for my next opportunity, whether that's remote contract work or a permanent role. I'm the author of Blazor-University.com, Fluxor, Roslynk, and some other things. linkedin.com/in/peter-morris… github.com/mrpmorris/
2
22
22
2,574
Andrew Lock "Sock" retweeted
Understanding the Fetch Metadata HTTP headers: Sec-Fetch-Site and friends by @andrewlocknet andrewlock.net/understanding… #aspnetcore
4
13
1,778
Blogged: Automatic CSRF protection based on Fetch Metadata headers - Exploring the .NET 11 preview andrewlock.net/exploring-the… In this post I describe the new Cross-Site Request Forgery protection added to aspnetcore that relies on HTTP headers, not tokens #aspnetcore #security
1
6
20
1,600
Blogged: Understanding the Fetch Metadata HTTP headers: Sec-Fetch-Site and friends andrewlock.net/understanding… In this post I describe the Fetch Metadata HTTP headers like Sec-Fetch-Site which semd info to a server about the context of a request #Security #aspnetcore
1
5
28
1,917
Blogged: Improvements to reading Process outputs - Exploring the .NET 11 preview - Part 5 andrewlock.net/exploring-the… In this post I show some of the improvements to the Process API in .NET 11 for running processes and reading their outputs without risk of deadlock #dotnet
3
33
2,519