provider-model

Provider model in .net

When the .net 2.0 framework first came out, the provider model was all the rage. 2.0 even shipped with a bunch of default providers (Membership, sitemap, role). Since the release of 2.0, the hype has died down, and whilst I still use providers day to day, it seems to get far less press. I was wondering if this is because people are usin...

How do I integration testing to my code written using the ASP.NET Provider Model?

I'm fairly new to unit testing. I have a site built in the 3-tier architecture, UI -> BLL -> DAL. And I used the asp.net Provider Model, so by making changes to web.config I can switch to DAL dll to target different data sources, to be complete the DAL is written with Entity Framework. Now, my question is how do I unit test my BLL? I...

Is the provider model using the factory pattern?

Hi, Is the provider model really just the factory pattern? ...

Provider model and performance

Hi, Are there any performance implications with using the provider pattern? Does it rely on reflection for each instantiation or anything? ...

Is the Repository Pattern the same as the Asp.net Provider Model?

Since Asp.net 2.0, there is the Provider Model. On the implementation detail, a provider is class derived from ProviderBase which is an abstract class rather than an interface, but anyway the Provider Model is there so that we can have different implementation to swap in the out by just editing the web.config. For example if you create...

Has anyone been able to use the .NET provider model with a winforms app?

I've seen oodles of examples for ASP.NET, but none for winforms. In other words, using the app.config instead of web.config. It would be a shame if it did not work. ...