Skip to main content

Steve Gordon – Code with Steve

  • About Me
  • Contact
  • Subscribe

Tag: Model Binding

Custom ModelBinding in ASP.NET MVC Core How to HTML Encode Strings

23rd November 201623rd November 2016 Steve Gordon 9 Comments

In a previous post I showed how we could automatically HTML encode data when deserialising it from a JSON request body. In my case this was to meet some specific security requirements we had for an ASP.NET Core API we were building. This time around I will discuss a similar requirement which stated that we should […]

Read More

Pluralsight Courses


  • Creating Background Services in ASP.NET Core and .NET
  • Dependency Injection in ASP.NET Core 6
  • Configuration and Options in ASP.NET Core 6
  • String Manipulation and Regex in C#10
  • String Manipulation in C#: Best Practices
  • Integration Testing ASP.NET Core Applications: Best Practices
  • Implementing Cross-cutting Concerns for ASP.NET Core Microservices

Follow me

  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon

Support This Blog

Become a Patron!

Support this blog!Buy me a coffee!

Recent Posts

  • How dotnet.exe resolves and loads the hostfxr library – Exploring the .NET muxer
  • A Brief Introduction to the .NET Muxer (aka dotnet.exe)
  • Implementing ASP.NET Core Automatic Span (Activity) Linking for Internal Redirects with Middleware on .NET 9
  • An Efficient Dictionary for IPAddress Tracking using .NET 9 with AlternateLookup and IAlternateEqualityComparer
  • Receiving GitHub Webhooks When Using the ASP.NET Core Developer Certificate

.NET South East

Please come and join our new .NET User  Group in Brighton, UK.

Categories

Archives

  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon
  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon
Copyright © Steve Gordon 2019 Theme by Colorlib Powered by WordPress