WCF Client Inside SQL CLR

后端 未结 5 1813
借酒劲吻你
借酒劲吻你 2021-01-15 08:52

I know it\'s not supported, and I know it\'s not even a terribly good idea. But, I want to have a WCF client inside a SQL Table Valued Function.

I\'ve (seemingly) re

5条回答
  •  清酒与你
    2021-01-15 09:05

    I had similar problems while trying to call WCF web services within SQL CLR. It loads so much assemblies from .NET and I couldn't make it work.

    Eventually, I use generic WebClient to make HTTP request to the WCF server which works really well and it requires min assemblies loaded into SQL Server.

提交回复
热议问题