Last post May 09, 2014 07:49 AM by Lopezd
Apr 30, 2014 05:20 AM|Lopezd|LINK
I' ve created a web Api based on this
but now i have to make it self-host.
I have understand this post
and code and try it myself and after adding some other references (System.Net.Http.Formatting, ...) it work, but i can't see how can i make a self-host WebApi using both links info. do i have to make it from scratch adding the entity framework and everything
May 07, 2014 07:01 AM|om1042|LINK
find sample attached for self hst web api console application.if you need EF then add it as this is a basic application to show selfhosted web api.
May 09, 2014 07:49 AM|Lopezd|LINK
Hi, thk for your reply.
I was able to create a self-host web api service.
But now i have a problem, my service returns values as json so i can create charts in a web page, but i don't know how to create that part (client).
I've checked T4 trying to use the help page self host example i found but got stuck with my css and js files.
I have no idea on how to fix this, is there any other way that when i insert a link it returns me what i want, another type of project or somthing?