Click here to Skip to main content
15,890,825 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: NuGet H.E.Double Hockey Sticks Pin
TNCaver10-Feb-22 4:17
TNCaver10-Feb-22 4:17 
QuestionRe: NuGet H.E.Double Hockey Sticks Pin
Eddy Vluggen9-Feb-22 11:42
professionalEddy Vluggen9-Feb-22 11:42 
AnswerRe: NuGet H.E.Double Hockey Sticks Pin
TNCaver10-Feb-22 2:46
TNCaver10-Feb-22 2:46 
GeneralRe: NuGet H.E.Double Hockey Sticks Pin
Richard Deeming9-Feb-22 22:00
mveRichard Deeming9-Feb-22 22:00 
RantRe: NuGet H.E.Double Hockey Sticks Pin
TNCaver10-Feb-22 4:34
TNCaver10-Feb-22 4:34 
GeneralRe: NuGet H.E.Double Hockey Sticks Pin
Richard Deeming10-Feb-22 6:02
mveRichard Deeming10-Feb-22 6:02 
GeneralRe: NuGet H.E.Double Hockey Sticks Pin
TNCaver11-Feb-22 3:50
TNCaver11-Feb-22 3:50 
GeneralRe: NuGet H.E.Double Hockey Sticks Pin
Richard Deeming11-Feb-22 3:56
mveRichard Deeming11-Feb-22 3:56 
That part actually makes sense: the extension methods are defined in the assemblies they're used for. Otherwise, all of the classes to configure eg: logging would need to be included in the DI assembly, which would be an absolute mess. Smile | :)

For the Microsoft extensions I've seen, the class where the extension methods are defined is usually deliberately added to the Microsoft.Extensions.DependencyInjection namespace, even though that's not the correct namespace for the assembly. That way, you don't have to add extra using statements to your code to configure the services; you just need a reference to the assembly.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralIs it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
swampwiz9-Feb-22 10:30
swampwiz9-Feb-22 10:30 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
Eddy Vluggen9-Feb-22 10:45
professionalEddy Vluggen9-Feb-22 10:45 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
Peter_in_27809-Feb-22 11:31
professionalPeter_in_27809-Feb-22 11:31 
JokeRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
trønderen9-Feb-22 12:46
trønderen9-Feb-22 12:46 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
Gary R. Wheeler9-Feb-22 13:12
Gary R. Wheeler9-Feb-22 13:12 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
trønderen9-Feb-22 19:33
trønderen9-Feb-22 19:33 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
Kornfeld Eliyahu Peter9-Feb-22 18:48
professionalKornfeld Eliyahu Peter9-Feb-22 18:48 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
Richard Deeming9-Feb-22 22:03
mveRichard Deeming9-Feb-22 22:03 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
Clumpco10-Feb-22 1:28
Clumpco10-Feb-22 1:28 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
obermd10-Feb-22 3:30
obermd10-Feb-22 3:30 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
swampwiz10-Feb-22 14:35
swampwiz10-Feb-22 14:35 
GeneralRe: Is it possible to have a non-ad-spam experience surfing the 'net with Android? Pin
dandy7223-Feb-22 10:26
dandy7223-Feb-22 10:26 
PraiseWho is a champion? I'm a champion! =) PinPopular
honey the codewitch8-Feb-22 23:43
mvahoney the codewitch8-Feb-22 23:43 
GeneralRe: Who is a champion? I'm a champion! =) Pin
CPallini9-Feb-22 0:05
mveCPallini9-Feb-22 0:05 
GeneralRe: Who is a champion? I'm a champion! =) Pin
Mike Hankey9-Feb-22 2:41
mveMike Hankey9-Feb-22 2:41 
GeneralRe: Who is a champion? I'm a champion! =) Pin
CPallini9-Feb-22 3:48
mveCPallini9-Feb-22 3:48 
GeneralRe: Who is a champion? I'm a champion! =) Pin
jeron19-Feb-22 4:00
jeron19-Feb-22 4:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.