site image
Andrew Lock avatar

Andrew Lock

Front End
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  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 Adding Segment client-side analytics to an ASP.NET Core application

    Adding Segment client-side analytics to an ASP.NET Core application

    In this post I show how to add the Segment analytics.js library to your ASP.NET Core application using Razor, to give client-side analytics for your app.…

     in  ASP.NET CoreRazorFront End
  5. Banner image for Creating an If Tag Helper to conditionally render content

    Creating an If Tag Helper to conditionally render content

    In this post, I create a simple tag helper to conditionally render content in a Razor page, equivalent to adding an @if statement to standard Razor.…

     in  RazorASP.NET CoreFront End
  6. Banner image for Adding favicons to your ASP.NET Core website with Real Favicon Generator

    Adding favicons to your ASP.NET Core website with Real Favicon Generator

    In this post I will show how you can add favicons to your ASP.NET Core MVC application, using the website RealFaviconGenerator.net.…

     in  ASP.NET CoreFront End
  7. Banner image for How to pass parameters to a view component

    How to pass parameters to a view component

    In this post I will show how you can pass parameters to a view component when invoking it from your view, from a controller, or as a tag helper.…

  8. Banner image for An introduction to ViewComponents - a login status view component

    An introduction to ViewComponents - a login status view component

    In this post I use the example of a Login widget to introduce View Components. I show how to create them, how they're invoked, and the 1.1.0 Tag Helper syntax.…

  9. Banner image for Fixing a bug: when concatenated strings turn into numbers in JavaScript

    Fixing a bug: when concatenated strings turn into numbers in JavaScript

    This is a very quick post about trying to fix a JavaScript bug that plagued me for an hour this morning, when string concatenation started giving me NaNs!…

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