This sample demonstrates how to use the dotnet integration test
- Docker
- Dotnet Core SDK
- EF Core CLI
- Azure CLI
- Azure Functions Core Tools
- Azurite
- Azure Storage Explorer
- Sql Server Management Studio
- Clone this repository
- Open the solution in Editor of your choice
- command line:
cd src/WebApp && dotnet ef database update
- FunctionApp Project add
local.settings.json
file with the following content:
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
},
"ConnectionStrings": {
"DatabaseConnection": "Server=localhost;Database=functest;User=sa;Password=P@ssw0rd;Trusted_Connection=False;",
"StorageConnection": "UseDevelopmentStorage=true"
}
}