Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
配置文件中的自定义WCF算法套件_Wcf_Wcf Binding_Wcf Security - Fatal编程技术网

配置文件中的自定义WCF算法套件

配置文件中的自定义WCF算法套件,wcf,wcf-binding,wcf-security,Wcf,Wcf Binding,Wcf Security,我按照上的说明创建了一个自定义算法套件类。但是,我不想在代码中指定类,而是想在XML配置文件中指定自定义类。可能吗 例如: <basicHttpBinding> <binding name="Binding1"> <security mode="Message"> <message clientCredentialType="Certificate" algorithmSuite="MyCustomAlgo

我按照上的说明创建了一个自定义算法套件类。但是,我不想在代码中指定类,而是想在XML配置文件中指定自定义类。可能吗

例如:

<basicHttpBinding>
    <binding name="Binding1">
        <security mode="Message">
            <message clientCredentialType="Certificate" algorithmSuite="MyCustomAlgorithmSuite"/>
        </security>
    </binding>
</basicHttpBinding>

你试过了吗?您可能需要使用自定义绑定。这似乎是。。。