AI agents: use the documentation index at llms.txt to locate machine-readable pages. This section is indexed by https://docs.particular.net/nservicebus/llms.txt. The markdown version of this page is served as plain text. An MCP server at /mcp serves the same content via the search_docs and read_doc tools; it is read-only and needs no credentials. Markdown versions of documentation pages are available by appending .md to the page URL. Directory URLs use index.md. They are served as text/plain because some retrieval backends reject text/markdown.

NServiceBus Host Upgrade Version 4 to 5

Component: NServiceBus Host

This is part of the NServiceBus Upgrade Guide from Version 4 to 5, which also includes the following individual upgrade guides for specific components:

Hosting

Roles are obsolete

In NServiceBus.Host version 5 and above, roles are obsolete and should not be used. The functionality of AsA_Server, and AsA_Publisher is now the default and can be safely removed. Read the Host guidance on alternatives for using roles.