Reputation: 328
Is it possible to configure a WCF service that:
basicHttpBinding
bindingServiceContract(SessionMode:=ServiceModel.SessionMode.Required)
)I know the easiest thing to do would be to buy an SSL cert, but for reasons beyond my control I am being required to match the 4 constraints above.
thanks,
Tom
Upvotes: 0
Views: 199
Reputation: 364389
Tell your boss that basicHttpBinding
supports real security only when using with SSL certificate (otherwise all data are passed as a plain text) and it doesn't support WCF sessions out of the box. WCF session is dependent on either:
Sessions can be probably added by building your own service behavior and replacing IInstaceContextProvider
and perhaps also IInstanceProvider
.
Upvotes: 3