Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8331205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:20:41+00:00 2026-06-09T02:20:41+00:00

I believe I’ve made a foolish assumption that the IBus object will be loaded

  • 0

I believe I’ve made a foolish assumption that the IBus object will be loaded throughout an application and it’s referenced assemblies.

For instance if I was to do the following inside of a referenced assembly:

public IBus Bus {get;set;}

Am I correct in saying that this object will only be loaded on classes that implement an NServiceBus class such as IHandleMessages and IWantToBeLoadedAtStartup?

Any help or clarification on the specifics would be great.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:20:42+00:00Added an answer on June 9, 2026 at 2:20 am

    What you’re referring to is Dependency Injection. NServiceBus will inject an IBus instance only into objects which are managed by NServiceBus.

    For example, NServiceBus creates an instance of classes implementing IHandleMessages when a transport message arrives and injects an instance of the bus client using the Dependency Injection container.

    You can extend the dependency injection mechanism as shown here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I believe the application has some parts that target .NET, and some that don't.
I believe that the rallytagpicker is definitely a useful component. However, I do not
I believe my problem stems from my use of weights and the RelativeLayout that
I believe there is nothing currently available in MySQL that allows access to the
I believe the default behavior when loading assembly is into the same application domain
I believe our problem is that we need to run particular builds on a
I believe that I did everything necessary to change my app for ipad (was
I believe that one needs to buy a license(?) to use devexpress. I'm currently
I believe this might be one of the most common problem that users faces
I believe that the main thread cannot die before the child thread. But is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.