---
title: "Discussion on \"Setting up a .NET 5 web API + Running it in Docker // for beginners\" | Hashnode"
description: "Discussion on \"Setting up a .NET 5 web API + Running it in Docker // for beginners\". Hey there! 👋🏼\nIn this tutorial, we'll be setting up a .NET 5 web API and running it locally, then we'll take a look at how to build and run it inside of a Docker container.\nTo set up the project, we'll be using the dotnet CLI -- which is cross-plat..."
url: "https://hashnode.com/posts/setting-up-a-net-5-web-api-running-it-in-docker-for-beginners/61524fd6cf735d72249a8da8"
---

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

Discussion

# [Setting up a .NET 5 web API + Running it in Docker // for beginners](https://blog.salehm.dev/setting-up-a-net-5-web-api-running-it-in-docker-for-beginners?utm_source=hashnode&utm_medium=feed)

Hey there! 👋🏼 In this tutorial, we'll be setting up a .NET 5 web API and running it locally, then we'll take a look at how to build and run it inside of a Docker container. To set up the project, we'll be using the dotnet CLI -- which is cross-plat...

Sep 27, 2021 · 6 min read · blog.salehm.dev  
Updated Oct 3, 2021  
Read the article

-   [#net-cikag7ck9004u4153550rzs6c](https://hashnode.com/tag/net-cikag7ck9004u4153550rzs6c)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)
-   [#docker](https://hashnode.com/tag/docker)
-   [#apis](https://hashnode.com/tag/apis)

## Written by

[Mohamed Saleh](https://hashnode.com/@salehmdev)

@salehmdev

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

Software Engineer

I'm a software engineer who loves coding and learning about new tech. I have a few years of professional experience primarily in C#/ .NET and JavaScript. I enjoy sharing my experiences so others and I can benefit.

## Responses 3

Markdown supported · ⌘↵ to post

[√V!T!√V ♥](https://hashnode.com/@NirvanaBliss)

[Mar 13, 2022](https://hashnode.com/posts/setting-up-a-net-5-web-api-running-it-in-docker-for-beginners/61524fd6cf735d72249a8da8/comment/622d7fefdf08b9b8234184b0)

Gr8 Article. Thanks

[Sumit Kharche](https://hashnode.com/@sumitkharche)

[Oct 11, 2021](https://hashnode.com/posts/setting-up-a-net-5-web-api-running-it-in-docker-for-beginners/61524fd6cf735d72249a8da8/comment/61643eff53401f641ba1206d)

Great Article!!

[Ashish maurya](https://hashnode.com/@theashishmaurya)

[Sep 28, 2021](https://hashnode.com/posts/setting-up-a-net-5-web-api-running-it-in-docker-for-beginners/61524fd6cf735d72249a8da8/comment/6152f06b9c8bfd08f5ba6b0f)

Amazing tutorial [Mohamed Saleh](https://hashnode.com/@salehmdev).
