-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df129fa
commit 7bfb0d8
Showing
20 changed files
with
1,099 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Build an API for Water Consumption Tracking | ||
|
||
## Module Source Link | ||
|
||
[Build an API for Water Consumption Tracking, from the .NET Conf Student Zone 2022 Event](https://github.com/microsoft/dotnetconf-studentzone/tree/main/Add%20a%20backend%20to%20your%20website) | ||
|
||
## Goals | ||
|
||
In this workshop, we will discuss how to create an API to serve data from a database. | ||
|
||
| **Goal** | Create an API to serve data related to water consumption | | ||
| ----------------------------- | --------------------------------------------------------------------- | | ||
| **What will you learn** | .NET APIs, Entity Framework | | ||
| **What you'll need** | [.NET SDK](https://dotnet.microsoft.com/download/dotnet/6.0?WT.mc_id=academic-78652-leestott), [Visual Studio Code](https://code.visualstudio.com/), [Azure Tools](https://code.visualstudio.com/docs/azure/extensions)| | ||
| **Duration** | 1 hour | | ||
| **Microsoft Cloud Topics taught** | Azure | | ||
| **Just want to try the app or see the solution?** | [Solution](solution) | | ||
| **Slides** | [Powerpoint](slides.pdf) | ||
|
||
## Video | ||
|
||
[Train the Trainer Video](https://aka.ms/studentzone-apis) | ||
|
||
## Pre-Learning | ||
|
||
- [Tutorial Build a web API with minimal API, ASP.NET Core, and .NET 6](https://learn.microsoft.com/training/modules/build-web-api-minimal-api/?WT.mc_id=academic-78652-leestott) | ||
- [Documentation: Create a minimal web API with ASP.NET Core](https://learn.microsoft.com/aspnet/core/tutorials/min-web-api?view=aspnetcore-6.0&tabs=visual-studio?WT.mc_id=academic-78652-leestott) | ||
|
||
## Prerequisites | ||
For specific instructions, go to [.NET Conf Student Zone 2022: Backend APIs](https://github.com/microsoft/dotnetconf-studentzone/blob/main/Add%20a%20backend%20to%20your%20website/README.md) | ||
|
||
- [.NET SDK](https://dotnet.microsoft.com/download/dotnet/6.0?WT.mc_id=academic-78652-leestott) | ||
- [Visual Studio Code](https://code.visualstudio.com/) | ||
- [Azure Tools](https://code.visualstudio.com/docs/azure/extensions) | ||
- | ||
## What students will learn | ||
|
||
*This workshop build on the activity in the [IoT Water Consumption Tracker Workshop](../track-water-consumption-iot-dotnet/) and [ML.NET Water Consumption Prediction Workshop](../ml-dotnet-water-tracker/). These workshops do not need to be completed before this workshop.* | ||
|
||
In this workshop, you will learn how to take data from a database and serve it using an API. You will create the API and deploy it to the cloud. | ||
|
||
## Workshop Milestones | ||
|
||
For the full instructions go here: [.NET Conf Student Zone 2022: Backend APIs](https://github.com/microsoft/dotnetconf-studentzone/blob/main/Add%20a%20backend%20to%20your%20website/README.md) | ||
|
||
1. Milestone 1: Transform a CSV into database tables | ||
2. Milestone 2: Creat an API to serve data from a database | ||
3. Milestone 3: Deploy an API to the cloud | ||
|
||
## Next steps | ||
|
||
- [Tutorial Build a web API with minimal API, ASP.NET Core, and .NET 6](https://learn.microsoft.com/training/modules/build-web-api-minimal-api/?WT.mc_id=academic-78652-leestott) | ||
|
||
|
||
## Feedback | ||
|
||
Be sure to give [feedback about this workshop](https://forms.office.com/r/MdhJWMZthR)! | ||
|
||
[Code of Conduct](../CODE_OF_CONDUCT.md) | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.vscode | ||
appsettings | ||
appsettings* |
181 changes: 181 additions & 0 deletions
181
full/backend-api-water-tracker/solution/Migrations/20221026125921_InitialCreate.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.