nservicebus4 - NServiceBus 4 configuration error using .XmlSerializer() -


using nsb 4 configuration:

configure.with()     .defaultbuilder()     .xmlserializer() 

gives error warning

'nservicebus.configurexmlserializer.xmlserializer(nservicebus.configure, string, bool)'  obsolete: 'please use 'configure.serialization.xml()' instead. treated  error version '5.0'. removed in version '6.0'.' 

how should configure.serialization.xml() used?

use configure.serialization.xml() anywhere before configure.with()... block.

or don't. xml default, don't need block @ unless want use 1 of overloads set specific setting.

these new settings taking place of fluent config goal of making configuration order-agnostic , introducing sensible defaults self-hosting becomes lot easier.

at point in future, you'll able use configure.createbus() if want defaults!


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -