Skip to content

Commit 29eda4e

Browse files
authored
Merge pull request #1 from claudiaregio/add-readme
Add readme
2 parents 241a301 + 63a4f20 commit 29eda4e

File tree

6 files changed

+23
-18
lines changed

6 files changed

+23
-18
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"GitHub.copilot-nightly",
2323
"GitHub.vscode-github-actions",
2424
"ms-dotnettools.vscode-dotnet-runtime",
25+
"ms-dotnettools.csdevkit",
2526
"ms-dotnetools.csharp"
2627
]
2728
}

images/BlazorApp.png

350 KB
Loading

images/RunAll.png

67.7 KB
Loading

images/StopRun.png

57.2 KB
Loading

images/Swagger.png

109 KB
Loading

readme.md

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,41 @@
1-
# .NET on Codespaces
1+
# GitHub Codespaces ♥️ .NET 8
22

3-
Copy for Claudia to write
3+
Want to try out the latest performance improvements coming with .NET 8 for web development?
4+
5+
This repo builds a Weather API using Minimal APIs, opens Swagger so you can call and test the API, and displays the data in a web application using Blazor with .NET 8.
6+
7+
We've given you both a frontend and backend to play around with and where you go from here is up to you!
8+
9+
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish Branch" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.
10+
11+
### Run Options
412

513
[![Open in GitHub Codespaces](https://img.shields.io/static/v1?style=for-the-badge&label=GitHub+Codespaces&message=Open&color=lightgrey&logo=github)](https://codespaces.new/bradygaster/dotnet-codespace)
614
[![Open in Dev Container](https://img.shields.io/static/v1?style=for-the-badge&label=Dev+Container&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/bradygaster/dotnet-codespace)
715

16+
You can also run this repository locally by following these instructions:
17+
1. Clone the repo to your local machine `git clone https://github.com/bradygaster/dotnet-codespace`
18+
1. Open repo in VS Code
19+
820
## Getting started
921

1022
1. **📤 One-click setup**: [Open a new Codespace](https://codespaces.new/bradygaster/dotnet-codespace), giving you a fully configured cloud developer environment.
11-
3. **▶️ Run, one-click again**: Use VS Code's built-in *Run* command and open the forwarded ports *8080* and *8081* in your browser.
12-
5. **🔄 Iterate quickly:** Codespaces updates the server on each save, and VS Code's debugger lets you dig into the code execution.
13-
14-
## Run
15-
16-
This repository can be run in Codespaces, in Dev Containers, or locally on your development machine.
23+
2. **▶️ Run all, one-click again**: Use VS Code's built-in *Run* command and open the forwarded ports *8080* and *8081* in your browser.
1724

18-
### Run in Codespaces
25+
![](images/RunAll.png)
1926

20-
1. Click here to open in GitHub Codespaces
27+
3. The Blazor web app and Swagger tabs should now be open on your browser. On Swagger, click "Try it out" and "Execute" to call and test the API.
2128

22-
[![Open in GitHub Codespaces](https://img.shields.io/static/v1?style=for-the-badge&label=GitHub+Codespaces&message=Open&color=lightgrey&logo=github)](https://codespaces.new/bradygaster/dotnet-codespace)
29+
![](images/BlazorApp.png)
30+
![](images/Swagger.png)
2331

24-
### Run in Dev Container
2532

26-
1. Click here to open in Dev Container
33+
4. **🔄 Iterate quickly:** Codespaces updates the server on each save, and VS Code's debugger lets you dig into the code execution.
2734

28-
[![Open in Dev Container](https://img.shields.io/static/v1?style=for-the-badge&label=Dev+Container&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/bradygaster/dotnet-codespace)
35+
5. To stop running, return to VS Code, and click Stop twice in the debug toolbar.
2936

37+
![](images/StopRun.png)
3038

31-
### Run Locally
32-
33-
1. Clone the repo to your local machine `git clone https://github.com/bradygaster/dotnet-codespace`
34-
1. Open repo in VS Code
3539

3640
## Contributing
3741

0 commit comments

Comments
 (0)