For most web applications, you can test locally, as you normally would before you deploy. I generally tend to use Docker containers to run things locally, like testing or add a .NET Core App to Docker. There are also some emulators to help with local development. Let's start by installing Docker locally; I would make sure you are running Hyper-V locally or Docker will install VirtualBox as the management resource. Before you install, review the documentation at https://docs.docker.com/docker-for-windows/install/. I use Docker to install things like MongoDB, CosmosDB, and so on.
The other things I install (optional) are as follows:
- CosmosDB: https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator
- Azure Functions ...