문제

How do you handle helpers and utility functions in your project? We have all our classes and helpers in a Core project, but I dont want all this stuff referenced over the other projects when all I want is a helper function. Probably I´ll need to break it down further, but would like som suggestions on the road.

올바른 솔루션이 없습니다

다른 팁

We use a private/internal NuGet server for this. But only for helper functions and/or libraries we use on a lot of projects/components. Via NuGet you can even specify versions, old and/or beta versions, etc. Works very well for us. Just know that when there's a bug in one of the functions, that you have some documentation on what is used where.

Don't forget to read up on the 11th fallacy of distributed computing as well.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top