# Getting Started with MongoDB Atlas and Azure Functions using .NET and C#

DevFeed: [Getting Started with MongoDB Atlas and Azure Functions using .NET and C#](<https://devfeed.tech/articles/getting-started-with-mongodb-atlas-and-azure-functions-using-net-and-c-21824.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2023/02/getting-started-with-mongodb-atlas-and-azure-functions-using-net/>)

Author: Nic Raboy

Published: 2023-02-17T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [azure functions](<https://devfeed.tech/topics/azure-functions.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [.NET](<https://devfeed.tech/topics/net.md>), [function as a service](<https://devfeed.tech/topics/function-as-a-service.md>), [Azure](<https://devfeed.tech/topics/azure.md>)

Tags: [atlas](<https://devfeed.tech/tags/atlas.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-functions](<https://devfeed.tech/tags/azure-functions.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cli](<https://devfeed.tech/tags/cli.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [database](<https://devfeed.tech/tags/database.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [http](<https://devfeed.tech/tags/http.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net](<https://devfeed.tech/tags/net.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

The tutorial begins a walkthrough for building a C# Azure Function on .NET that interacts with MongoDB Atlas, with local testing before publishing to Azure. It frames serverless functions as a way to reduce attention to infrastructure and operations while scaling with demand. Prerequisites are the Azure CLI configured for an account, Azure Functions Core Tools, .NET or .NET Core 6.0+, and an Atlas database with suitable user and network rules; Atlas setup itself is out of scope. The walkthrough starts by creating a local Functions project, selecting .NET in the wizard, and creating a "GetMovies" HTTP function. The excerpt ends during that step, so it does not show the implementation or deployment details.

## Source excerpt

So you need to build an application with minimal operating costs that can also scale to meet the growing demand of your business. This is a perfect scenario for a serverless function, like those built... The post Getting Started with MongoDB Atlas and Azure Functions using .NET and C# appeared first on Microsoft.