Host a web page

Aug 6, 2015 at 2:47 PM
is Casablanca out of the shelf able to support in hosting static web pages like a simple HTML5 file?
If it can not, is there a plugin that can be added to enable this?

Thnx.
Coordinator
Aug 6, 2015 at 6:36 PM
While we do support reading from files, if you only need to host a simple static web page you may be better served with nodejs or python.

https://docs.python.org/2/library/simplehttpserver.html

However, if you want to use some other functionality in C++, you can look at the Search File sample app provided in the source code along with the file_stream functions:
http://microsoft.github.io/cpprestsdk/class_concurrency_1_1streams_1_1file__stream.html