Search code examples
asp.netwcfdynamic-dataasp.net-4.0

Does WCF require a separate hosting


I am using WCF with asp.net 4.0 (using Dynamic Data). I need to tell my Client how many domains does he require to book. So, do i require a separate domain/sub-domain for WCF or just 1 domain for website and WCF would work. FYI: We might acquire a hosting space at shared hosting servers like GoDaddy.com. I need to calculate the hosting cost of the application.

Thanks


Solution

  • You can host WCF in IIS, or you can host it in a separate program/service. If you're hosting it in IIS, you can create a .svc file and have it live alongside your other ASP.NET pages.

    So it's entirely possible to have your WCF service live in the same domain as your ASP.NET app.