简体   繁体   English

将数据从 .NET Core 控制台应用程序传递到 .NET Core Web 应用程序

[英]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.

相关问题 从控制台应用程序启动 ASP.NET Core Web API - Start ASP.NET Core Web API from a Console App 无法从 IConfigurationRoot .NET 核心控制台应用程序获取部分数据 - Cannot get section data from IConfigurationRoot .NET Core console app .net核心Web应用程序并从Azure事件中心读取数据 - .net core web app and reading data from azure event hub 如何将.net框架数据层引用到.net核心控制台应用程序 - How reference .net framework data layer to .net core console app .net core web app JQuery AJAX前端没有从后端.net core api获取数据 - .net core web app JQuery AJAX Front end not getting data from Backend .net core api 如何在 .NET Core 5 控制台应用程序中托管 REST web api - How to host a REST web api in a .NET core 5 console app 通过web浏览器在.Net core 3.1中公开控制台应用程序信息 - Expose console app info through web browser in .Net core 3.1 使用肥皂网络服务的.net核心控制台应用程序出现问题 - Issue with an console app with .net core which uses a soap web service 为什么 .NET Core Web 应用程序最初作为控制台应用程序启动 - Why .NET Core Web Application initially boots as Console app 阅读AppSettings数据控制台App .net Core 2.0 - Read AppSettings Data Console App .net Core 2.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM