RPi托管的ASP.Net Core网页的后端服务。

编程入门 行业动态 更新时间:2024-10-24 17:23:17
本文介绍了RPi托管的ASP.Net Core网页的后端服务。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试在RPi2 / 3上构建一个简单的Web可访问SCADA系统

I am trying to build a simple web accessible SCADA system on a RPi2/3

到目前为止,我能够在RPi上创建一个自托管的Web服务器。说明@

So far I was able to create a self hosted web server on the RPi following the instructions @

carlos.mendible/2017/03/21/step-by-step-running-aspnet-core-on-raspberry-pi/

carlos.mendible/2017/03/21/step-by-step-running-aspnet-core-on-raspberry-pi/

创建UWP后台服务以控制GPIO的时间非常紧张

And it' pretty strait forward to create a UWP background service to control the GPIO's

我遇到的问题是让2进行通信。由于Web服务器是.NetCoreApp,我无法添加对UWP的引用,因为它们不兼容,因此我无法访问ApplicationModel.AppService.AppServiceConnection。

The problem I'm having is getting the 2 to communicate. Since the web server is a .NetCoreApp I cannot add a reference to UWP because they are not compatible so I can't get access to ApplicationModel.AppService.AppServiceConnection.

使用WebSockets的缺点是有没有其他方式获得进程间通信?

Short of using WebSockets is there any other way of getting inter process communications?

谢谢。

推荐答案

hello

hello

我遇到的问题是让2进行沟通。由于Web服务器是.NetCoreApp,我无法添加对UWP的引用,因为它们不兼容,因此我无法访问ApplicationModel.AppService.AppServiceConnection。

工作原理按设计

使用WebSockets是否还有其他方式来进行进程间通信?

UWP应用程序在"安全的沙箱"中运行。环境,并不打算与应用程序平台之外的其他服务/应用程序进行通信

UWP apps are running in a "secured sandboxed" environment and are not intended to communicate to other services/apps outside the app platform

br Andre

br Andre

更多推荐

RPi托管的ASP.Net Core网页的后端服务。

本文发布于:2023-11-16 07:42:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1602328.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:后端   网页   ASP   RPi   Core

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!