问题
I have Windows Core running on a Raspberry PI. How do I create a rest API in a Windows universal app to run on it? I want to be able send remote commands to the Raspberry PI from a mobile device. I did several search and couldn't find much information. Thanks.
回答1:
As noted here there's a Restup open source project for this
and NuGet package for it
There's also some experimental (ie fun side project) from Damian on the ASP.NET team about hosting DNX (the host process for your ASP.NET Core apps) located here but that will need some updating to the latest bits.
来源:https://stackoverflow.com/questions/34908372/windows-universal-app-rest-api-raspberry-pi