Skip to content

Commit 3ffd461

Browse files
Merge pull request #227834 from w-azure/winona-net-template
.NET template change updates
2 parents 209ea5a + 02302ab commit 3ffd461

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/iot-edge/how-to-vs-code-develop-module.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ The default module code that comes with the solution is located at the following
410410
411411
# [C\#](#tab/csharp)
412412
413-
modules/*<your module name>*/**Program.cs**
413+
modules/*<your module name>*/**ModuleBackgroundService.cs**
414414
415415
# [Azure Functions](#tab/azfunctions)
416416
@@ -455,7 +455,7 @@ In the Visual Studio Code integrated terminal, change the directory to the ***&l
455455
dotnet build
456456
```
457457
458-
Open the file `Program.cs` and add a breakpoint.
458+
Open the file `ModuleBackgroundService.cs` and add a breakpoint.
459459
460460
Navigate to the Visual Studio Code Debug view by selecting the debug icon from the menu on the left or by typing `Ctrl+Shift+D`. Select the debug configuration ***<your module name>* Local Debug (.NET Core)** from the dropdown.
461461
@@ -521,7 +521,7 @@ On your development machine, you can start an IoT Edge simulator instead of inst
521521
522522
### Build and run container for debugging and debug in attach mode
523523
524-
1. Open your module file (`Program.cs`, `app.js`, `App.java`, or `<your module name>.cs`) and add a breakpoint.
524+
1. Open your module file (`ModuleBackgroundService.cs`, `app.js`, `App.java`, or `<your module name>.cs`) and add a breakpoint.
525525
526526
1. In the Visual Studio Code Explorer view, right-click the `deployment.debug.template.json` file for your solution and then select **Build and Run IoT Edge solution in Simulator**. You can watch all the module container logs in the same window. You can also navigate to the Docker view to watch container status.
527527
@@ -685,7 +685,7 @@ Open the module file for your development language and add a breakpoint:
685685
686686
# [C\#](#tab/csharp)
687687
688-
Add your breakpoint to the file `Program.cs`.
688+
Add your breakpoint to the file `ModuleBackgroundService.cs`.
689689
690690
# [Azure Functions](#tab/azfunctions)
691691

0 commit comments

Comments
 (0)