目前是使用Windows Iot Core架设Web Server,
主要是参考https://goo.gl/dQD5Lw
html内有些资讯内容在页面呈现前就要先填入,
目前是采用原作者的教学,再将从其他地方读到的内容填入input text内,
类似下方这样..
var html = Encoding.UTF8.GetBytes($"<html><head><title>Background Message
</title></head><body>Hello from the background process!<br/>{query}</body>
</html>");
其中,{query}是C#变量值。
然后页面的input text内就都不会是空白的,且有数值..
不晓得有没有其他比较好的方法呢? 谢谢。