Windows 10 IoT Core host Web API ASP.Net Core. Possible?

Im messing around with my Raspberry Pi 3 and Windows 10 IoT Core. I would like to host a WebApi (ASP.NET Core) on the Raspberry. I cant find any guides.

I've found guides like this: https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md

But thats only for console apps maybe?

Has anyone tried? Is it possible?

Your thoughts?

Thanks :)


Seems it's possible and I have some plan to try. But for you will be useful to follow Scott Hanselman. He knows a lot about it. Look at this arcticle: https://www.hanselman.com/blog/HowToRunASPNET5Beta3OrGoLangOnARaspberryPi2.aspx


There's some links about the same thing with potential work arounds. Planning on doing this myself so would be good to know one how you get on.

https://github.com/aspnet/Home/issues/1531

Error in running ASP.Net Web App on ARM processor (Raspberry Pi 3 B) / Ubuntu (Natively without Mono)

https://github.com/dotnet/coreclr/issues/9168


Thanks a lot for your links! I've stumbled upon a great wiki for this, but not on Windows 10 IoT. This guy is using Ubuntu on his Raspberry (Ubuntu mate). He seems dedicated so I will change OS on my Raspberry and try.

Here's the link: https://github.com/challe/dotnet-core-raspberry-pi/wiki/Setting-up-a-Web-API-on-a-Raspberry-Pi-3-(Ubuntu-16.04)-using-.NET-Core-2.x

链接地址: http://www.djcxy.com/p/22408.html

上一篇: 在dot net core MVC中使用Jwt进行简单身份验证

下一篇: Windows 10物联网核心主机Web API ASP.Net核心。 可能?