Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.75 KB

README.md

File metadata and controls

38 lines (34 loc) · 1.75 KB

AzureIoTDemo

Simple ASP.NET Core app that collects data from ESP8266 or other IoT devices
Link: http://azureiotdemonet.azurewebsites.net/

Available requests:

Type Path Data
GET /api/temperature All temperature reads
GET /api/temperature/{id} Temperature read with selected id
POST /api/temperature Uploads a new temperature read. Place and value string needed in request body
DELETE /api/temperature/{id} Deletes selected read

Troubleshooting

Azure deployment tutorial:

  1. First create new web app
  2. Download publising profile
  3. Create new SQL database instance
  4. Copy connection string
  5. Remember to edit that string with proper user name and password
  6. Right click on your solution and click Publish
  7. Import your publishing proflie that you've downloaded in step 2
  8. Check both of those checkboxes and paste that edited connection string (step 4/5)
  9. Pray
  10. Now you can edit AzureIoTDemo.ino with SSID, password and IP of your published app and flash it to your IoT device
  11. ???
  12. Profit.