Asp.net has a wonderful system built in for handling user accounts and roles.
Read the rest of this entry
Posts
11/2008
2
Windows 2008 and SQL 2000
Ok we all know SQL2K has lost support from Microsoft. We all know it is marked with "compatibility" issues with Win2k8.
Read the rest of this entry
Read the rest of this entry
8/2008
29
The returning event delegate
Delegates have been a great help to developers everywhere; coupled with Events they form the basis of every asp.net web application.
Read the rest of this entry
Read the rest of this entry
8/2008
18
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.
Read the rest of this entry
Read the rest of this entry
8/2008
11
WebService Documentation: Using a custom template
Web Services: they are an easy way to make information accessible or use information from some other site. For example, weather.
Read the rest of this entry
Read the rest of this entry
7/2008
28
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.
Read the rest of this entry
Read the rest of this entry
7/2008
28
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.
Read the rest of this entry
Read the rest of this entry
7/2008
28
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.
Read the rest of this entry
Read the rest of this entry
7/2008
28
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.
Read the rest of this entry
Read the rest of this entry
7/2008
28
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 we made.
Read the rest of this entry
Read the rest of this entry
7/2008
9
The DropDownList, the DataBind and the Missing Value
I sat there and blinked at the ArgumentOutOfRangeException. It was just a DropDownList that had the selected value data bound inside a FormView.
Read the rest of this entry
Read the rest of this entry
6/2008
18
Enum - the good, the bad, the ugly and how to kill them
The blessed enumeration I remember when I first learned about enumerations; they opened a whole world of easy coding and I think they have their place….CommandType anyone?
Read the rest of this entry
Read the rest of this entry
6/2008
10
Snippets - Prop
If you have ever typed prop and hit tab twice in Visual Studio 2005 or 2008, you have used a snippet even if you do not know a snippet is. In VS2005 I used the prop snippet all the time to create a field and property automatically for me.
Read the rest of this entry
Read the rest of this entry
5/2008
30
Reflecting your assemblies in an ASP.Net web site
It never fails. You need to reflect through all of the assemblies in you web site and you find that the reflection is missing some of the classes.
Read the rest of this entry
Read the rest of this entry
5/2008
29
Extending the ASP.Net Security model to use rights : Part Four - RightPermission
The RightPermission works in the background. Out of sight, out of mind and easily forgotten.
Read the rest of this entry
Read the rest of this entry
5/2008
28
Extending the ASP.Net Security model to use rights : Part Three - Attributes
Part Three- Attributes. Now that we have a Principal object with rights loaded as the current requests user we can begin assigning security to code by the users rights as well as their role membership.
Read the rest of this entry
Read the rest of this entry
5/2008
24
Extending the ASP.Net Security model to use rights : Part two - the IHttpModule
In part one - IPrincipal, I talked about the right and IPrincipal objects needed to add "right" based security to asp.net applications in addition to role based security.
Read the rest of this entry
Read the rest of this entry
4/2008
28
Extending the ASP.Net Security model to use rights : Part one - IPrincipal
Every now and again I find myself disappointed in the asp.net security model.
Read the rest of this entry
Read the rest of this entry