DEV Community

Andrew Lock "Sock" profile picture

Andrew Lock "Sock"

I'm a full-time developer, working with ASP.NET Core, C#, Docker and Kubernetes. I love learning and writing about my experience to help others!

Location Plymouth, Devon Joined Joined on  Personal website https://andrewlock.net/ twitter website

Education

MEng, MSc, PhD

Work

Software Developer at Elevate Direct Ltd

Exploring the code behind IHttpClientFactory in depth

Exploring the code behind IHttpClientFactory in depth

4
Comments
12 min read
Detecting duplicate routes in ASP.NET Core: Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 5

Detecting duplicate routes in ASP.NET Core: Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 5

Comments
7 min read
Creating a custom endpoint visualization graph: Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 4

Creating a custom endpoint visualization graph: Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 4

Comments
9 min read
Adding an endpoint graph to your ASP.NET Core application: Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 2

Adding an endpoint graph to your ASP.NET Core application: Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline - Part 2

Comments
9 min read
Visualizing ASP.NET Core endpoints using GraphvizOnline and the DOT language

Visualizing ASP.NET Core endpoints using GraphvizOnline and the DOT language

7
Comments
7 min read
Getting started with ASP.NET Core

Getting started with ASP.NET Core

26
Comments
16 min read
Adding host filtering to Kestrel in ASP.NET Core

Adding host filtering to Kestrel in ASP.NET Core

1
Comments
5 min read
Setting global authorization policies using the DefaultPolicy and the FallbackPolicy in ASP.NET Core 3.x

Setting global authorization policies using the DefaultPolicy and the FallbackPolicy in ASP.NET Core 3.x

7
Comments
8 min read
Customising the ASP.NET Core default UI without editing the PageModels

Customising the ASP.NET Core default UI without editing the PageModels

6
Comments
7 min read
Strongly-typed ID update 0.2.1: Using strongly-typed entity IDs to avoid primitive obsession - Part 6

Strongly-typed ID update 0.2.1: Using strongly-typed entity IDs to avoid primitive obsession - Part 6

1
Comments
5 min read
Handling Web API Exceptions with ProblemDetails middleware

Handling Web API Exceptions with ProblemDetails middleware

6
Comments
5 min read
Extending the shutdown timeout setting to ensure graceful IHostedService shutdown

Extending the shutdown timeout setting to ensure graceful IHostedService shutdown

6
Comments
6 min read
Using jQuery and Bootstrap from a CDN with fallback scripts in ASP.NET Core 3.0

Using jQuery and Bootstrap from a CDN with fallback scripts in ASP.NET Core 3.0

1
Comments
10 min read
Preventing mass assignment or over posting with Razor Pages in ASP.NET Core

Preventing mass assignment or over posting with Razor Pages in ASP.NET Core

1
Comments
10 min read
Adding simple email address obfuscation for your blog like Cloudflare Scrape Shield

Adding simple email address obfuscation for your blog like Cloudflare Scrape Shield

Comments
7 min read
How to automatically choose a free port in ASP.NET Core 3.0

How to automatically choose a free port in ASP.NET Core 3.0

7
Comments
7 min read
5 ways to set the URLs for an ASP.NET Core app

5 ways to set the URLs for an ASP.NET Core app

1
Comments
7 min read
Accessing route values in endpoint middleware in ASP.NET Core 3.0

Accessing route values in endpoint middleware in ASP.NET Core 3.0

6
Comments
9 min read
Replacing AJAX calls in Razor Pages with Razor Components and Blazor

Replacing AJAX calls in Razor Pages with Razor Components and Blazor

1
Comments
13 min read
Don't replace your View Components with Razor Components

Don't replace your View Components with Razor Components

2
Comments
13 min read
How to fix the order of commits in GitHub Pull Requests

How to fix the order of commits in GitHub Pull Requests

6
Comments
6 min read
Creating a custom ErrorHandlerMiddleware function

Creating a custom ErrorHandlerMiddleware function

7
Comments
8 min read
When ASP.NET Core can't find your controller: debugging application parts

When ASP.NET Core can't find your controller: debugging application parts

4
Comments
6 min read
Exploring the new rollForward and allowPrerelease settings in global.json

Exploring the new rollForward and allowPrerelease settings in global.json

7
Comments
12 min read
Creating an endpoint from multiple middleware in ASP.NET Core 3.x

Creating an endpoint from multiple middleware in ASP.NET Core 3.x

8
Comments
6 min read
Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 2

Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 2

8
Comments
7 min read
Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 1

Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 1

6
Comments
9 min read
Excluding health check endpoints from Serilog request logging: Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 4

Excluding health check endpoints from Serilog request logging: Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 4

6
Comments
7 min read
Logging MVC properties with Serilog.AspNetCore

Logging MVC properties with Serilog.AspNetCore

6
Comments
6 min read
Logging the selected Endpoint Name with Serilog

Logging the selected Endpoint Name with Serilog

7
Comments
6 min read
Reducing log verbosity with Serilog RequestLogging

Reducing log verbosity with Serilog RequestLogging

8
Comments
9 min read
loading...