-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update create .NET console app tutorial series to include sign-file apps with Codespaces #51321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request updates the .NET console application tutorial to support both Visual Studio Code and GitHub Codespaces using zone pivots. The changes enable users to choose between two development environments and follow platform-specific instructions.
Changes:
- Added zone pivot configuration to allow toggling between Visual Studio Code and Codespaces views
- Created Codespaces-specific tutorial content with instructions for single-file C# apps
- Added new code snippet file for the Codespaces tutorial path
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| docs/zone-pivot-groups.yml | Adds new zone pivot group code-editor-set-one with vscode and codespaces pivots |
| docs/core/tutorials/with-visual-studio-code.md | Implements zone pivots throughout the tutorial with separate content for VS Code and Codespaces |
| docs/core/tutorials/snippets/with-visual-studio-code/csharp/HelloWorld.cs | New snippet file containing HelloWorld and MainMethod code examples for Codespaces |
Summary
This pull request updates the .NET console application tutorials to provide dedicated instructions for both Visual Studio Code and GitHub Codespaces environments. The changes introduce content pivots throughout the tutorials, ensuring users receive environment-specific guidance, code snippets, screenshots, and commands. Additionally, the tutorials are updated for clarity, accuracy, and the latest recommended practices.
Environment-specific guidance and pivots:
zone_pivot_groups: code-editor-set-onemetadata and content pivots throughout the tutorials to distinguish steps for Visual Studio Code and GitHub Codespaces users. Each environment now has tailored instructions, prerequisites, and screenshots. [1] [2] [3]Codespaces-specific instructions and assets:
dotnet publish HelloWorld.csand inspecting output in theartifacts/HelloWorlddirectory). [1] [2] [3] [4] [5] [6] [7]Content and instructional improvements:
Sample code and assets:
HelloWorld.cssample file with clear code regions to illustrate the main method and output for the tutorials.Metadata and date updates:
ms.dateto reflect the latest revision dates. [1] [2] [3]These changes ensure that users following the tutorials have a clear, accurate, and environment-appropriate learning experience, whether they're using Visual Studio Code locally or GitHub Codespaces in the cloud.
Fixes #50708
Fixes #50724
Fixes #50725
Internal previews