The Dummy Provider: Testing membership and roles
Asp.net has a wonderful system built in for handling user accounts and roles. The administration interface is encapsulated in a separate web site that can be accessed from within Visual Studio but it is difficult to integrate into the site. This often leads to building a new user administratio...
[More]
WebService Documentation: Using a custom Site Map
Not long ago I started working on changing the look and feel of the default WebService documentation that is generated by asp.net. While I demonstrated how to replace the default page template with a custom one I "glossed" over the details of what you can do with it. By using...
[More]
Beyond Generics, Interfaces, Providers and You : IReadByParentId
Ok so in the Generics, Interfaces, Providers and You series, Part 1, Part 2, Part 3 & Part 4, we made a flexible system of interfaces to make working with a data access provider model easier. In Part 4, I listed some ideas where there was room for improvement in the interfaces/class that w...
[More]
Generics, Interfaces, Providers and You - Part 4: Building the Classes
Now that we have our interfaces we need to make some changes to our existing objects. Back in part 1 we defined an object tree for contact information. For this example, a 3rd parting marketing system is loading new contact information into our data store and management does not want any...
[More]
Generics, Interfaces, Providers and You - Part 3:IProviderCollection & IProviderRepository
In part 1 We talked about the web.config and the basic classes to get started with a provider model. Part 2 covered the interface for the data object and the Provider. Now in part 3 we will address the IProviderCollection and the IProviderRepository. Back in part one we added a provider...
[More]
Generics, Interfaces, Providers and You - Part 2:IDataObject & IProvider
In part 1 we covered the web.config changes and the classes needed to use them. We also created a ProvidersRepositoryGeneric class to load and manage providers. But what good is a repository of providers if there is nothing to provide? While the Provider model can be used for other...
[More]
Generics, Interfaces, Providers and You - Part 1:Getting Started
There are many uses for providers with accessing a data store being one of the most common. I'm not going to talk about why to use providers, I am going to address how to use generics and interfaces with providers to make using them a bit easier. For this series we are going to use a "Co...
[More]