0

Hi i have solution with oround 20 projects. My boostrap.cs file is located in UI. I had to add console application which will run as service so not in the contex of UI. This new console application has no idea about boostrap configuration and I would rather ovoid to create all instances manually. Is there any good approach to resolve this? Or kind of sharing bosstrap.cs across multiple projects?

1 Answer 1

1

You want to reuse the Composition Root, but you shouldn't.

(This is a Dependency Injection FAQ.)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.