Click here to Skip to main content
15,885,914 members
Home / Discussions / C#
   

C#

 
AnswerRe: Free licensing solution Pin
Gerry Schmitz1-Oct-22 9:01
mveGerry Schmitz1-Oct-22 9:01 
AnswerRe: Free licensing solution Pin
Dave Kreskowiak1-Oct-22 11:48
mveDave Kreskowiak1-Oct-22 11:48 
QuestionC# Service Locator Pin
Kevin Marois28-Sep-22 7:01
professionalKevin Marois28-Sep-22 7:01 
AnswerRe: C# Service Locator Pin
Gerry Schmitz29-Sep-22 7:54
mveGerry Schmitz29-Sep-22 7:54 
GeneralRe: C# Service Locator Pin
Kevin Marois29-Sep-22 11:45
professionalKevin Marois29-Sep-22 11:45 
GeneralRe: C# Service Locator Pin
Richard Deeming29-Sep-22 21:39
mveRichard Deeming29-Sep-22 21:39 
AnswerRe: C# Service Locator Pin
lmoelleb29-Sep-22 22:40
lmoelleb29-Sep-22 22:40 
AnswerRe: C# Service Locator Pin
jochance4-Nov-22 5:48
jochance4-Nov-22 5: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 4:36
Member 1462363928-Sep-22 4:36 
AnswerRe: Skype Personal integration with C# Pin
Gerry Schmitz28-Sep-22 5:26
mveGerry Schmitz28-Sep-22 5:26 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363928-Sep-22 6:10
Member 1462363928-Sep-22 6:10 
GeneralRe: Skype Personal integration with C# Pin
Victor Nijegorodov28-Sep-22 20:14
Victor Nijegorodov28-Sep-22 20:14 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363928-Sep-22 20:22
Member 1462363928-Sep-22 20:22 
GeneralRe: Skype Personal integration with C# Pin
Mycroft Holmes29-Sep-22 13:18
professionalMycroft Holmes29-Sep-22 13:18 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363929-Sep-22 19:48
Member 1462363929-Sep-22 19:48 
QuestionAsync - await Pin
dataminers20-Sep-22 4:22
dataminers20-Sep-22 4:22 
AnswerRe: Async - await Pin
OriginalGriff20-Sep-22 4:57
mveOriginalGriff20-Sep-22 4:57 
GeneralRe: Async - await Pin
Richard Deeming20-Sep-22 5:01
mveRichard Deeming20-Sep-22 5:01 
AnswerRe: Async - await PinPopular
Richard Deeming20-Sep-22 5:06
mveRichard Deeming20-Sep-22 5:06 
GeneralRe: Async - await Pin
MarkTJohnson20-Sep-22 5:47
professionalMarkTJohnson20-Sep-22 5:47 
GeneralRe: Async - await Pin
dataminers21-Sep-22 0:04
dataminers21-Sep-22 0:04 
GeneralRe: Async - await Pin
Richard Deeming21-Sep-22 2:07
mveRichard Deeming21-Sep-22 2:07 
GeneralRe: Async - await Pin
dataminers21-Sep-22 5:33
dataminers21-Sep-22 5:33 
QuestionHow to make a license key system with Realtime DB? Pin
Moses Man19-Sep-22 0:11
Moses Man19-Sep-22 0:11 
AnswerRe: How to make a license key system with Realtime DB? Pin
OriginalGriff19-Sep-22 2:21
mveOriginalGriff19-Sep-22 2: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.