简体   繁体   English

NService总线从1.9更新到2.0?

[英]Updating NService Bus from 1.9 to 2.0?



I currently implemented NService 1.9 in one of my project. 我目前在我的一个项目中实现了NService 1.9。 I want to update the project from NServicebus 1.9 to NServiceBus 2.0. 我想将项目从NServicebus 1.9更新为NServiceBus 2.0。

Will there be any major changes that I need to do.. or Only configuration changes are fine? 我需要做任何重大更改吗?还是仅配置更改就可以了?

Can anybody help on this, provide me any links containing about this information? 有人可以帮忙吗,向我提供包含此信息的任何链接吗?


nRk R

The major thing that we had to deal with is moving to the Generic Host. 我们必须处理的主要问题是转移到通用主机。 You can stick with hosting NSB on your own, but the GH brings some nice things like the concept of Profiles. 您可以自己托管NSB,但是GH带来了一些不错的功能,例如Profiles的概念。 This was a really simple upgrade and you can ditch your custom host. 这是一个非常简单的升级,您可以放弃自定义主机。 The other change we noticed was in the logging area. 我们注意到的另一个更改是在日志记录区域。 There are two places to handle configuration of this, part of it is in the config file and part of it is via code. 有两个地方可以处理此配置,其中一部分在配置文件中,一部分通过代码处理。 Other than that, there wasn't much to change as the guys did a good job of backwards compat. 除此之外,由于这些家伙在向后兼容方面做得很好,因此变化不大。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM