site image
Andrew Lock avatar

Andrew Lock

  1. Loading...
  2. Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!

    From Zero to Hero: REST APIs in .NET
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Creating a rolling file logging provider for ASP.NET Core 2.0

    Creating a rolling file logging provider for ASP.NET Core 2.0

    In this post I'll show how to create an ILoggingProvider for ASP.NET Core that writes logs to the file system, based on the Azure App Service provider.…

     in  ASP.NET Core ASP.NET Core 2.0 Logging
  5. Banner image for Aligning strings within string.Format and interpolated strings

    Aligning strings within string.Format and interpolated strings

    In this post I describe a feature I only recently discovered: alignment in interpolated strings…

     in  C#
  6. Banner image for Using CancellationTokens in ASP.NET Core MVC controllers

    Using CancellationTokens in ASP.NET Core MVC controllers

    In this post I'll show how you can use CancellationTokens in your MVC action methods to stop execution when a user cancels a request from their browser…

     in  ASP.NET Core Model Binding
  7. Banner image for The SDK 'Microsoft.Net.Sdk.Web' specified could not be found

    The SDK 'Microsoft.Net.Sdk.Web' specified could not be found

    This article describes how to fix "The SDK 'Microsoft.Net.Sdk.Web' specified could not be found" when creating ASP.NET Core 2.0 projects in VS 2017 15.3.…

  8. Banner image for Introduction to the ApiExplorer in ASP.NET Core

    Introduction to the ApiExplorer in ASP.NET Core

    In this post I'll show a quick example of the ApiExplorer MVC feature, and how you can use it to expose metadata about your application.…

     in  ASP.NET Core API Explorer
  9. Banner image for How to format response data as XML or JSON, based on the request URL in ASP.NET Core

    How to format response data as XML or JSON, based on the request URL in ASP.NET Core

    In this post I'll show how to use the FormatFilter, so that you can specify the output format for an action using a URL suffix, e.g. /api/values.xml as XML.…

Andrew Lock | .Net Escapades
Want an email when
there's new posts?