Search code examples
wcf-binding

wsDualHttpBinding binding = new wsDualHttpBinding()?


I dont have visual studio but I would like to host a wsDualHttpBinding binding with code. The thing is I am getting an error when I compile:

error cs0246:the type or namespace name wsdualhttovinding could not be found (are you missing a using directive or an assemvly reference?)


Solution

  • You need to have a reference to System.ServiceModel and if that is indeed the exact error, you need to check your spelling of WSDualHttpBinding

    WSDualHttpBinding Class