1

I've implemented an OData service using ASP.NET WebAPI. I also have some existing web methods in a seperate WCF project which is hosted in an ASP.NET Web Application.

By copying some bits of web config around and copying a couple of code files I've managed to get the WCF methods hosted in the WebAPI project.

Everything seems to be working but I've got a nagging doubt I'm doing something horribly wrong that's going to break when I least expect it.

Is this a good idea?

4

1 回答 1

1

取决于您预期的通话量。我能想到的唯一问题是传入的 WCF 请求将由与 OData 服务相同的调度程序线程池提供服务。这使您更有可能在任一端点上遇到基于可用性的问题。

于 2013-10-09T12:42:39.160 回答