r/learncsharp

MongoDB + Docker + .NET: A Simple Local Development Setup
▲ 4 r/learncsharp+1 crossposts

MongoDB + Docker + .NET: A Simple Local Development Setup

If you're working with MongoDB and .NET, Docker can make the local development setup much simpler.

Instead of installing and configuring MongoDB directly on your machine, you can run it in a Docker container and connect your .NET application to it.

I put together a practical guide covering:

  • Creating a MongoDB Docker container
  • Configuring MongoDB
  • Connecting a .NET Core application
  • Understanding the container-to-application connection
  • Setting up a consistent local development environment

📖 https://geeksarray.com/blog/create-mongodb-docker-image-and-connect-from-dot-net-core-app

For those using MongoDB locally, what's your preferred setup—Docker, local installation, or something else?

u/geeksarray — 1 day ago

What happens to the task when a synchronous method returns?

I have a synchronous method which calls an async method (obviously without awaiting) and then returns. What happens to the task after that? Will it finish executing? Do I have to use something like 'RunSynchronously'?

reddit.com
u/angryvoxel — 4 days ago

Sharpen your Debug and Code Review skills with theses 2min challenges

Lately, I've felt the desire to share more of what I've learned. And I must say, teaching is a skill that's much harder to develop than I expected...

While experimenting with ways to make learning funnier, I came up with that series idea. Funny challenges with code setup as a story, delivering jokes or even edgy context 😅

Challenge yourself and keep sharp, at any level.

https://youtu.be/3lJcE1lMHNI

May you have any feedbacks, I'ld love to ear them :)

u/Coding-Mojo — 9 days ago