HttpWebRequest runs slowly first time within SQLCLR

前端 未结 6 737
一生所求
一生所求 2021-02-06 14:47

When making an HttpWebRequest within a CLR stored procedure (as per the code below), the first invocation after the Sql Server is (re-)started or after a given (but indeterminat

6条回答
  •  生来不讨喜
    2021-02-06 15:04

    HttpWebRequest is part of the System.Net assembly, which is not part of the supported libraries. I'd recommend using the library System.Web.Services instead to make web service calls from inside the SQLCLR.

提交回复
热议问题