WCF does allow for code based configuration. There are actually 3 way to configure everything in WCF: Imperative code, Declarative attributes and (xml-based) config files.
Conventions are supported as well, but is woefully underused.
That said, WCF is a beast. If you need SOAP with federated security and bells and whistles, it is a very solid choice.
If you can make it through with REST you should avoid WCF. It is a time sink.
Conventions are supported as well, but is woefully underused.
That said, WCF is a beast. If you need SOAP with federated security and bells and whistles, it is a very solid choice.
If you can make it through with REST you should avoid WCF. It is a time sink.