---
title: "Discussion on \"How to Avoid Duplicate 404 Code in .NET Core APIs - Part 2\" | Hashnode"
description: "Discussion on \"How to Avoid Duplicate 404 Code in .NET Core APIs - Part 2\". Part 1:  https://thedoodledad.hashnode.dev/how-to-avoid-duplicate-404-code-in-net-core-apis-part-1 \nTaking Advantage of TypeFilterAttribute\nLast time we looked at how to make NotFound entities much simpler, by using the IAsyncActionFilter. However, e..."
url: "https://hashnode.com/posts/how-to-avoid-duplicate-404-code-in-net-core-apis-part-2/615b698fad6beb6f6506f827"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Avoid Duplicate 404 Code in .NET Core APIs - Part 2](https://thedoodledad.hashnode.dev/how-to-avoid-duplicate-404-code-in-net-core-apis-part-2?utm_source=hashnode&utm_medium=feed)

Part 1: https://thedoodledad.hashnode.dev/how-to-avoid-duplicate-404-code-in-net-core-apis-part-1 Taking Advantage of TypeFilterAttribute Last time we looked at how to make NotFound entities much simpler, by using the IAsyncActionFilter. However, e...

Oct 4, 2021 · 3 min read · thedoodledad.hashnode.dev  
Read the article

-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)
-   [#apis](https://hashnode.com/tag/apis)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#clean-code](https://hashnode.com/tag/clean-code)

## Written by

[Michael Welte](https://hashnode.com/@TheDoodleDadDev)

@TheDoodleDadDev · Warrington, PA

  
[View profile](https://hashnode.com/@TheDoodleDadDev)

Software Engineer by day, doodle dad by night

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
