 |
Exercise 30: Web UI
Summary
An in-house AI's main interface is voice communication, but it should also support remote interaction via the web.
Create a web UI to view, add to, and clear the current grocery list. Add a web service to Grace to allow the ASP.NET page to submit a textual query and get a string response back.
Solution
Since Grace is a standalone Windows application (not an ASP.NET web site), adding a web service isn't quite as straightforward. It requires the Web Service Extension 3.0 and a URI such as soap.tcp://99.236.137.8/graceservice.
Aside from the web service quirks, implementing this functionality was actually quite straight forward!
Click here
Web UI
Click here
NOTE: This will only work if my PC is running. |
|
 |