How to host?

Topics: Web Api
May 20, 2011 at 9:28 AM

I want to build a solution which contains:

  • A WCF Web API project(contains resources(services)) and hosted on a server(IIS server).
  • And A silverlight(or ASP.NET MVC) project to consume and hosted on a different server.

So, I did it but it not work, because:

  • IIS 7.5 no support put and delete verb
  • Silverlight(or ASP.Net MVC) project not acces to Web APIs(note: WebAPI work well in web browser)

Please, help me. I am a new member! Thanks!

May 24, 2011 at 8:55 PM

IIS should support all verbs, but they are not all activated by default. It was a pain in the ass to firue out how to enable this in IIS 6 (win2003), but i managed it.

I had to disable Webdav first. cant remember the other steps, but they differ to IIS 7.5...