Profile avatar
andrewlock.bsky.social
Microsoft MVP and blogger, focused on ASP.​NET Core. Author of ASP.​NET Core in Action (https://mng.bz/5mRz) Blog: https://andrewlock.net Mastadon: @[email protected] Twitter: @andrewlocknet
806 posts 2,219 followers 325 following
Prolific Poster
Active Commenter

This is so much fun to read. And a perfect example of how you can use a website as a source for a RAG-style application. I wonder if the website will be affected by the Andrew Lock hug of death.

Blogged: Using the new .NET AI template to create a chatbot about a website andrewlock.net/using-the-ne... In this post I use the new Microsoft's new .NET AI template to ingest the contents of a website and create a chatbot that can answer questions with citations #dotnet #aspnetcore #ai

Exploring the new .NET AI chat template | by Andrew Lock. buff.ly/KkaViLs #dotnet #ai #visualstudio #csharp #webdev #azure #openai

Check out my latest article: Wolverine Hits the Magical Million Download Mark www.linkedin.com/pulse/wolver... via @LinkedIn

Just blogged: Turn your .NET CLI tool into a local MCP Server for use with GitHub Copilot in VS Code #dotnet #github #copilot buff.ly/ye7Lg2m

Blogged: Exploring the new AI chat template andrewlock.net/exploring-th... In this post I explore the new .NET AI Chat Web App template (currently in preview) and take a brief look at the implementation it provides #dotnet #aspnetcore

Sorry it's a few days late this time! I've just published April's newsletter. Software Dev news items (#dotnet centric), a dev comic pick, a dev tip, podcast news, and more! danclarke.beehiiv.com

Blogged about ref readonly vs in parameters in #dotnet blog.ladeak.net/posts/refrea...

Live now on Twitch, join me and @davidwhitney.co.uk for a chat on #OSS and #tech live on @dennisdoomen.com. Come say hello and join the conversation! https://www.twitch.tv/isaacrlevin

Blogged: Creating a 'pooled' dependency injection lifetime andrewlock.net/creating-a-p... In this post I investigate how to create a 'pooled' dependency injection scope that automatically pools services between multiple requests. #dotnet #aspnetcore

NetEscapades.​AspNetCore.​SecurityHeaders 1.0.0 has been released by @andrewlock.bsky.social andrewlock.net/netescapades... #aspnetcore

Blogged: Going beyond singleton, scoped, and transient lifetimes—tenant, pooled, and drifter andrewlock.net/going-beyond... In this post I investigate some 'experimental' dependency injection scopes that provide additional features over Singleton, Scoped, and Transient #dotnet #aspnetcore

🎉 I am delighted to share that open-feature/dotnet-sdk is now publishing artifact attestations! 🌟 Check out the details here: github.com/open-feature... Thanks to @andrewlock.bsky.social for the blog post! @openfeature.dev #dotnet

Blogged: NetEscapades.​AspNetCore.​SecurityHeaders 1.0.0 has been released andrewlock.net/netescapades... In this post I describe the recent major changes to NetEscapades.AspNetCore.SecurityHeaders, a NuGet package for adding security headers to your apps #dotnet #aspnetcore #security

Oh I missed this #git tool ! Thank you for putting it under the spotlight !

Blog post images are, by and large, superfluous. But this one by @andrewlock.bsky.social is fantastic on a lot of levels.

Blogged: Verifying tricky git rebases with git range-diff andrewlock.net/verifiying-t... In this post I look at the git range-diff feature, show what it's for and how it works, explain the output format, and demonstrate it with a toy scenario #git

blogged - AutoMapper and MediatR are going commercial: www.jimmybogard.com/automapper-a... - I don't have details yet because I haven't worked it out yet. But wanted to give folks the heads up

Blogged: Creating SBOM attestations in GitHub Actions andrewlock.net/creating-sbo... In this post I show how you can create attestations for SBOM documents that you have created for your application or Nuget package #dotnet #security #github

Blogged: Creating a software bill of materials (SBOM) for an open-source NuGet package andrewlock.net/creating-a-s... In this post I discuss several tools you can use to create a software bill of materials (SBOM) for an application or a NuGet package #nuget #security

The moment "allows ref struct" was introduced, my first thought was "we can improve LINQ and also make it available for Span". And someone has done it. Great work, kudos to the author. #dotnet #csharp github.com/Cysharp/ZLinq

How do you build reputation at work? www.youtube.com/watch?v=iC_O...

Running an ASP .NET Core app inside IIS in a Windows container by @andrewlock.bsky.social andrewlock.net/running-an-a... #aspnetcore

Blogged: Creating provenance attestations for NuGet packages in GitHub Actions andrewlock.net/creating-pro... In this post I discuss software provenance, what attestations are for, how they work, how to create an attestation for a NuGet package, and why that doesn't really work😅 #dotnet #security

Blogged: Running an ASP.​NET Core app inside IIS in a Windows container andrewlock.net/running-an-a... In this post I describe how to run an ASP.​NET Core app inside IIS in a Windows Docker container #aspnetcore #docker #dotnet

I published the fifth part of my series of articles about writing a .NET garbage collector in C#. This time, we learn about GCDesc, a runtime structure that indicates where to find the references of a given object. minidump.net/writing-a-ne... #dotnet

Blogged: Creating an analyzer to detect infinite loops caused by ThreadAbortExceptions andrewlock.net/creating-an-... In this post I describe a Roslyn Analyzer that detects code which can result in infinite loops if a ThreadAbortException is raised #dotnet #csharp

Blogged: Disabling localized satellite assemblies during dotnet publish andrewlock.net/disabling-lo... In this post I show how to reduce the size of the publish output for .NET apps by preventing the publishing of localization resources when they're not needed #dotnet #aspnetcore #csharp

Blogged: Setting application environment variables in IIS without restarts andrewlock.net/setting-envi... In this post I outline how IIS works, describe how to add environment variables to app pools, and show how to prevent automatic app pool recycling on changes #aspnet #aspnetcore #iis #windows

Blogged: Customizing a single client sign-in using parameters in Duende IdentityServer damienbod.com/2025/02/17/c... #aspnetcore #dotnet #identity #duende #oauth #openidconnect