Last post May 15, 2014 12:03 AM by damienBod
May 14, 2014 07:21 PM|Lopezd|LINK
I'm creating an app that has to present a html page with charts.
Initialy i've created a web api to do it, but i was later informed that it as to be self hosted, so i convert it to a console application, creating the self host part and the service(it returns json) but i can't find a way to create a client that presents
me the html file.
I've checked a post from Yao, creating help page to web api using T4 but i'm strugling with including my css and js files and my angular app (will call the json resource) now doesn't work.
Am i complicating this? Is there another way?
May 15, 2014 12:03 AM|damienBod|LINK
You can create a MediaFormatter which returns Html or Razor views. Here's some examples: