About 32,600 results
Open links in new tab
  1. Difference between a Factory, Provider and a Service?

    Jun 13, 2018 · What is the difference between the terms Factory, Provider and Service? Just getting into NHibernate and its Repository pattern (POCO classes, etc).

  2. c# - Design Pattern Nomenclature & Clarification: Provider, Service ...

    Jan 11, 2013 · A Provider is really just another name for the Strategy Pattern Typically when someone mentions the use of a provider they are talking about some abstract contract to …

  3. C#: Provider vs Factory class example - Stack Overflow

    Oct 1, 2020 · 0 I am using class LoggerProvider to provide ILogger. For each concrete implementation of ILogger I am using specific named method. I am thinking about the …

  4. c# - What kind of pattern is this ('Provider')? - Stack Overflow

    Oct 14, 2014 · Ah, thanks! I wonder if that pattern is always useful though, since we are using it in nearly every single project inside the solution, and 90% of the time there is (and always will …

  5. Provider pattern in C# - Stack Overflow

    Nov 3, 2023 · Am trying to understand provider pattern in detail , When I use a Abstract class and inherit a providerbase with abstract method then create two class when implements the …

  6. c# - What is an ASP.NET Provider? - Stack Overflow

    Apr 27, 2017 · 1 And if you want to implement the Provider pattern in your application, take a look at this .NET Provider Model Template for Visual Studio (shameless plug).

  7. How to resolve services in factory class using dependency …

    Oct 6, 2023 · c# .net-core dependency-injection factory-pattern service-provider edited Oct 6, 2023 at 19:26 asked Oct 6, 2023 at 19:14 Anna Aimeri

  8. c# - How to dynamically resolve keyed services at runtime in .NET …

    May 8, 2025 · How do I dynamically resolve the keyed service using the value from configuration in .NET 8? Additional context .NET 8's DI documentation mentions [FromKeyedServices], but …

  9. c# - Factory pattern with dependency injection, serviceProvider …

    Jul 27, 2022 · Factory pattern with dependency injection, serviceProvider always return null Asked 3 years, 4 months ago Modified 3 years, 4 months ago Viewed 5k times

  10. Is ServiceLocator an anti-pattern? [closed] - Stack Overflow

    Apr 2, 2014 · Here is a paragraph from Adaptive Code Via C#: "Unfortunately, the service locator is sometimes an unavoidable anti-pattern. In some application types— particularly Windows …