2

Hi i would like to send data from my netduino board directly to my app that is hosted on appharbor, I couldn't find any examples. I may be asking the question wrongly, if so thanks for you patience. :)

2 Answers2

4

This post has resources on how to send http reqeusts from .NET Micro Framework apps. If you send JSON from the board, you can receive in an ASP.NET MVC 3 action on AppHarbor. There's an example on this question: Receive JSON from external server, parse it and save it to local database with MVC2

Community
  • 1
  • 1
friism
  • 19,068
  • 5
  • 80
  • 116
  • Hi frism, thank you for your answer, is there an example on how I get appharbor to accept the data from the device. – user1146665 Jan 14 '12 at 11:36
  • You can really do whatever you want on the AppHarbor side. I would send JSON from the board and receive it an ASP.NET MVC 3 action. There's an example here: http://stackoverflow.com/questions/5922206/receive-json-from-external-server-parse-it-and-save-it-to-local-database-with-m – friism Jan 16 '12 at 02:35
1

http://netduinohacking.blogspot.com/ has a good example.

Dan
  • 10,531
  • 2
  • 36
  • 55
  • Its a good code base but it doesn't actually allow you to send a request directly, only a a response to an incoming request. +1 – Piotr Kula Jul 30 '14 at 20:21