
Microsoft MVP and blogger, focused on ASP.NET Core. Author of ASP.NET Core in Action: https://xitter.cf/t.co/GTRJ4hBm9s @andrewlock@hachyderm.io @andrewlock.bsky.social
Plymouth, England
Joined May 2016
- Tweets5.9K
- Following907
- Followers16.8K
- Likes3.4K
Blogged: An introduction to Compact Binary Object Notation (CBOR) in .NET
andrewlock.net/an-introducti…
In this post I introduce CBOR as a JSON alternative, and show how to use the System.Formats.Cbor NuGet package to read and write CBOR encoded data
#dotnet #aspnetcore
Andrew Lock "Sock" retweeted
Stripping Extra Dependencies in .NET NativeAOT Apps using Linker Substitutions - andrewlock.net/stripping-ext… @andrewlocknet
Andrew Lock "Sock" retweeted
Just published a new issues of .NET R&D Digest! Thanks to @zodiacon, @lemire, @maartenballiauw, @andrewlocknet, @chnasarre, @AntonMartyniuk, @meziantou, @konradkokosa and other great authors for their amazing content!
olegkarasik.wordpress.com/20…
#dotnet
Stripping extra dependencies in .NET NativeAOT apps using linker substitutions
andrewlock.net/stripping-ext…
In this post I describe how to perform method substitutions with the NativeAOT linker to remove additional dependencies that the linker couldn't see were unused
#dotnet
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
Blogged: Experimental support for Device Bound Session Credentials (DBSC) in ASP.NET Core - Exploring the .NET 11 previews
andrewlock.net/exploring-the…
In this post I look at the new experimental support for DBSC coming in .NET 11
#dotnet #security #aspnetcore
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
Andrew Lock "Sock" retweeted
The Pain of Serializing Unions and Closed Class Hierarchies with System.Text.Json - andrewlock.net/exploring-the… @andrewlocknet
Andrew Lock "Sock" retweeted
A new issue of .NET R&D Digest is here! Thanks to @rfleury, @andrewlocknet, @konradkokosa, @AntonMartyniuk, @lemire, @meziantou, @maartenballiauw and other great authors for their amazing content!
olegkarasik.wordpress.com/20…
#dotnet
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
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
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? 🤷♂️
Andrew Lock "Sock" retweeted
Automatic CSRF Protection Based on Fetch Metadata Headers - andrewlock.net/exploring-the… @andrewlocknet
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
Andrew Lock "Sock" retweeted
This week's ASP .NET Core newsletter is out! This week by @raalhul, @sebnilsson, @yogihosting, @andrewlocknet, and more ❤️ Check out 'Past newsletters' here: aspnetcore.news/
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
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/
Andrew Lock "Sock" retweeted
Understanding the Fetch Metadata HTTP headers: Sec-Fetch-Site and friends by @andrewlocknet andrewlock.net/understanding… #aspnetcore
Andrew Lock "Sock" retweeted
Understanding the Fetch Metadata HTTP Headers - andrewlock.net/understanding… @andrewlocknet
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








