Does anyone know how to register a SOAP extension without requiring web.config that is cross-platform safe?
See article: http://msdn.microsoft.com/en-us/magazine/cc164007.aspx
I cannot use SlSvcUtil "Service References" because there is an unresolved bug that causes my code to crash, so I'm stuck using the older "Web References".
EDIT: I found this (http://social.msdn.microsoft.com/Forums/en-US/88f8dbbb-3aa9-418b-bbc0-156e023abb9d/programmatically-registering-a-soap-extension?forum=netfxnetcom) but it seems kind of hacky, using reflection to access read-only fields makes me nervous. Is there a better way?