---
title: "Discussion on \"How to Avoid Duplicate 404 Code in .NET Core APIs - Part 1\" | Hashnode"
description: "Discussion on \"How to Avoid Duplicate 404 Code in .NET Core APIs - Part 1\". The Bad\nHave you ever started creating an API, and by the second or third controller your code starts to look a lot like this?\n\n\nThe library returning books is not exactly Restful, but for the sake of this article we really just are focused on the to..."
url: "https://hashnode.com/posts/how-to-avoid-duplicate-404-code-in-net-core-apis-part-1/615503439c8bfd08f5baa064"
---

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

Discussion

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

The Bad Have you ever started creating an API, and by the second or third controller your code starts to look a lot like this? The library returning books is not exactly Restful, but for the sake of this article we really just are focused on the to...

Sep 30, 2021 · 3 min read · thedoodledad.hashnode.dev  
Updated Oct 1, 2021  
Read the article

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

## 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.
