Click here to Skip to main content
15,565,020 members
Home / Discussions / C#
   

C#

 
AnswerRe: Free licensing solution Pin
Gerry Schmitz1-Oct-22 10:01
mveGerry Schmitz1-Oct-22 10:01 
AnswerRe: Free licensing solution Pin
Dave Kreskowiak1-Oct-22 12:48
mveDave Kreskowiak1-Oct-22 12:48 
QuestionC# Service Locator Pin
Kevin Marois28-Sep-22 8:01
professionalKevin Marois28-Sep-22 8:01 
AnswerRe: C# Service Locator Pin
Gerry Schmitz29-Sep-22 8:54
mveGerry Schmitz29-Sep-22 8:54 
GeneralRe: C# Service Locator Pin
Kevin Marois29-Sep-22 12:45
professionalKevin Marois29-Sep-22 12:45 
GeneralRe: C# Service Locator Pin
Richard Deeming29-Sep-22 22:39
mveRichard Deeming29-Sep-22 22:39 
AnswerRe: C# Service Locator Pin
lmoelleb29-Sep-22 23:40
lmoelleb29-Sep-22 23:40 
AnswerRe: C# Service Locator Pin
jochance4-Nov-22 6:48
jochance4-Nov-22 6:48 
That link suggests that DI has the same issue of service locator with regard to runtime discovery of failure.

That is only true if you equate "app will not launch runtime" with "app conditionally crashes/errors runtime".

Those are not the same beast. The OA at the link wraps up with that, and lots of people chime in with similar reasons.

I think the question should be is there any reason NOT to use DI? There are clearly drawbacks to SL even if someone doesn't care about them. "Anti-pattern"? That's probably a bit of hot air blown hard. But DI is better.
QuestionSkype Personal integration with C# Pin
Member 1462363928-Sep-22 5:36
Member 1462363928-Sep-22 5:36 
AnswerRe: Skype Personal integration with C# Pin
Gerry Schmitz28-Sep-22 6:26
mveGerry Schmitz28-Sep-22 6:26 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363928-Sep-22 7:10
Member 1462363928-Sep-22 7:10 
GeneralRe: Skype Personal integration with C# Pin
Victor Nijegorodov28-Sep-22 21:14
Victor Nijegorodov28-Sep-22 21:14 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363928-Sep-22 21:22
Member 1462363928-Sep-22 21:22 
GeneralRe: Skype Personal integration with C# Pin
Mycroft Holmes29-Sep-22 14:18
professionalMycroft Holmes29-Sep-22 14:18 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363929-Sep-22 20:48
Member 1462363929-Sep-22 20:48 
QuestionAsync - await Pin
dataminers20-Sep-22 5:22
dataminers20-Sep-22 5:22 
AnswerRe: Async - await Pin
OriginalGriff20-Sep-22 5:57
mvaOriginalGriff20-Sep-22 5:57 
GeneralRe: Async - await Pin
Richard Deeming20-Sep-22 6:01
mveRichard Deeming20-Sep-22 6:01 
AnswerRe: Async - await Pin
Richard Deeming20-Sep-22 6:06
mveRichard Deeming20-Sep-22 6:06 
GeneralRe: Async - await Pin
MarkTJohnson20-Sep-22 6:47
professionalMarkTJohnson20-Sep-22 6:47 
GeneralRe: Async - await Pin
dataminers21-Sep-22 1:04
dataminers21-Sep-22 1:04 
GeneralRe: Async - await Pin
Richard Deeming21-Sep-22 3:07
mveRichard Deeming21-Sep-22 3:07 
GeneralRe: Async - await Pin
dataminers21-Sep-22 6:33
dataminers21-Sep-22 6:33 
QuestionHow to make a license key system with Realtime DB? Pin
Moses Man19-Sep-22 1:11
Moses Man19-Sep-22 1:11 
AnswerRe: How to make a license key system with Realtime DB? Pin
OriginalGriff19-Sep-22 3:21
mvaOriginalGriff19-Sep-22 3:21 

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.