Avoiding TRUSTWORTHY ON and PERMISSION_SET = UNSAFE using System.Net.Http
问题 Trying to create a stored procedure from a DLL that I built to use with SQL using CLR Integration. I think I need a signed version of System.Net.Http and explain why below. Any advice or tips would be appreciated. The solution works 100% if I use the command ALTER DATABASE test2 SET TRUSTWORTHY ON Then I Create the assembly using the following commands CREATE ASSEMBLY [System.Net.Http] AUTHORIZATION dbo FROM 'C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0_