Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 1cb6dd1

Browse files
committed
Removed test projects in favor of test steps
1 parent 30284b4 commit 1cb6dd1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+68
-1769
lines changed

containers/azure-functions-dotnetcore-2.1/.vscode/extensions.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

containers/azure-functions-dotnetcore-2.1/.vscode/launch.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

containers/azure-functions-dotnetcore-2.1/.vscode/settings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

containers/azure-functions-dotnetcore-2.1/.vscode/tasks.json

Lines changed: 0 additions & 57 deletions
This file was deleted.

containers/azure-functions-dotnetcore-2.1/README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,20 @@ This definition includes some test code that will help you verify it is working
3838
2. Clone this repository.
3939
3. Start VS Code, press <kbd>F1</kbd>, and select **Remote-Containers: Open Folder in Container...**
4040
4. Select the `containers/azure-functions-dotnetcore-2.1` folder.
41-
5. After the folder has opened in the container, in a moment you will see a notification to restore packages. Click "Restore".
42-
6. Once packages are restored, press <kbd>F5</kbd> to start the project.
43-
7. After the debugger is started, open a local browser and enter the URL: `http://localhost:7071/api/HttpTriggerCSharp?name=remote`.
44-
8. You should see "Hello, remote" echoed by the Azure Function.
45-
9. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing.
41+
5. After the folder has opened in the container, press <kbd>F1</kbd> and select **Azure Functions: Create Function...**.
42+
6. Enter these options:
43+
1. Yes (when prompted to create a new project)
44+
2. C#
45+
3. HTTP Trigger
46+
4. HttpTriggerCSharp
47+
5. Anonymous
48+
6. Open in current window
49+
7. After the files are added, in a moment you will see a notification to restore packages. Click "Restore".
50+
8. After the restore has completed, press <kbd>F5</kbd> to start debugging project.
51+
9. After the debugger is started, open a local browser and enter the URL: `http://localhost:7071/api/HttpTriggerCSharp?name=remote`.
52+
- If the port 7071 is not already open, press <kbd>F1</kbd>, select **Remote-Containers: Forward Port from Container...", and then port 7071.
53+
10. You should see "Hello, remote" echoed by the Azure Function.
54+
11. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing.
4655

4756
## License
4857

containers/azure-functions-dotnetcore-2.1/test-project/.gitignore

Lines changed: 0 additions & 264 deletions
This file was deleted.

0 commit comments

Comments
 (0)