[英]Pass data from .NET Core console app to .NET Core web app
As the title says I need help or pointers on how I can pass data from my console app, that is running on a Raspberry Pi, to my web application.正如标题所说,我需要有关如何将数据从在 Raspberry Pi 上运行的控制台应用程序传递到我的 Web 应用程序的帮助或指示。 Im new too both programming and .NET Core so if you missing some information let me know.
我也是编程和 .NET Core 的新手,所以如果您遗漏了一些信息,请告诉我。 Image to get a bigger picture of the question
图像以获得问题的更大图
The easiest thing to do is a REST (Http) call from the console app running on the Pi to the Web Application.最简单的方法是从运行在 Pi 上的控制台应用程序到 Web 应用程序的 REST (Http) 调用。
The below article should help下面的文章应该有帮助
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-3.1 https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-3.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.