my site uses an AngularJS controller with the ng-resource directive to call a RESTful controller using WebAPI The issue I'm having is undoubtedly that I've never been in charge of deploying anything. So, I'm not sure how to configure the webservice project and web project so that the web project talks to the service. I am publishing to: slysoccerstats.com/TeamSchedules/UASO/TeamSchedule The limited information I was given from support would suggest that the route is: http://www.slysoccerstats.com/TeamSchedules/UASO/Schedule/TeamSchedule/api/sports/sports In my dev environment, which works fine, I point to local host with the correct port number. e.g., http://localhost:99999/api/sports/sports. This works fine. What I need to figure out is the equivalent of the URI for the localhost:99999 above. Appreciate any assistance.
Did you get your answer in configuring webAPI at winhost? more than 3 years later the information still appears scant.
Sorry for the late reply. I probably missed this post, but the only thing that stands out to me is the port number. You'll have to communicate on port 80 since that's the only port that is exposed. Also, I wasn't sure if you were talking about a webservice or WebAPI. They are a bit different. I'm also more familiar with WebAPI than a webservice.
How do I configure webapi? I have the webapi at api.website.com and when I try to type in the url, I am redirected to www.website.com
It depends on the route you setup. You should be accessing the API at http://www.website.com/api/controllername/methodname. The route is setup in WebApiConfig.cs file in /App_Start. Microsoft offers a tutorial here.