Skip to content

Simple ASP.NET Core app that collects data from ESP8266 or other IoT devices

Notifications You must be signed in to change notification settings

QuiZr/AzureIoTDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple ASP.NET Core app that collects data from ESP8266 or other IoT devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published