---
title: "Comment by DANIEL OYAGHA on \"Designing REST APIs in .NET 5\" | Hashnode"
description: "My leader sir, I am here again ooooo. Apparently, I have concluded the code along of the above project, like I noted in my last question when I scaffold a new p"
url: "https://hashnode.com/posts/designing-rest-apis-in-net-5/6027f954e522c1626f3723bd/comment/603657df05efef7f0a9d3697"
---

[Discussion](https://hashnode.com/posts/designing-rest-apis-in-net-5/6027f954e522c1626f3723bd)

Comment [Designing REST APIs in .NET 5](https://hashnode.com/posts/designing-rest-apis-in-net-5/6027f954e522c1626f3723bd)

[DANIEL OYAGHA](https://hashnode.com/@dyagzie)

[Feb 24, 2021](https://hashnode.com/posts/designing-rest-apis-in-net-5/6027f954e522c1626f3723bd/comment/603657df05efef7f0a9d3697)

My leader sir, I am here again ooooo.

Apparently, I have concluded the code along of the above project, like I noted in my last question when I scaffold a new project template, it already came with a Swagger template already registered in the Startup class. However, I commented out the default swagger registration in the startup class so I could follow yours as described above but when I run the project it throws an error. When I launch the project it goes to this path [localhost/swagger/index.html](https://localhost:44366/swagger/index.html) and I see a default swagger UI similar to yours. But when I navigate to /genre it throws an error "This localhost page can’t be found No webpage was found for the web address: [localhost/genre](https://localhost:44366/genre) HTTP ERROR 404"

Here is a link to my github repo of my codes [github.com/dyagzy/.Net5RestApi](https://github.com/dyagzy/.Net5RestApi)

I will appreciate if you can help debug this... now I will move on to code up the Unit test project while I wait for you...

Thank you in advance chief.

[Gabriel](https://hashnode.com/@Overdosengine)

[Feb 25, 2021](https://hashnode.com/posts/designing-rest-apis-in-net-5/6027f954e522c1626f3723bd/comment/603657df05efef7f0a9d3697#reply-6037626805efef7f0a9d4a91)

Okay. Do you know how to use Swagger? When using Swagger you don't have to change the URL or navigate to any of the actions. The documentation provides ways on how to go about it. You simply just have to click on the endpoint you want to test and follow the instructions and it calls the data you need.
