Home » 2009 » October

Agile/Scrum Task Board for “Real Life”


The agile “Task Board,” also known as a “Scrum Board” has become a staple of the agile programming world.

“Getting Things Done” (GTD) is a process for managing task in the business world.

I mostly like what GTD does, but the classic implementation doesn’t fit how I work.

But what if we could adapt the two?

Continue reading “Agile/Scrum Task Board for “Real Life””

Determine The Role of a User in ASP.NET


There are several controls that allow you to display content based on the role a user is in, including:

– LoginView
– LoginStatus

And the web.config file allows us to control which pages can be viewed based on which role a user is in.

But what if you need to determine the role a user is in using the APIs? How do you do that?

It turns out that the API for this is really rather straightforward.

Continue reading “Determine The Role of a User in ASP.NET”

HttpContext.Items[] vs Session[]


Since .NET first became available, passing data around during a request has become a lot easier.  The ability to set a property has made that so.  Still, there are times when setting a property just won’t do the trick.

One such time is getting data from the middle tier back up to the view separate from a DataBinding operation.  That is, you databind a control to the middle tier and that method needs to set a value that will be used elsewhere in the view, not in the item that is being bound.

The natural, obvious tendency is to set a session variable.  But there is a better way.

Continue reading “HttpContext.Items[] vs Session[]”

Forms Authentication – Manual Authentication


I’ve had several occasions in the past where I’ve needed to do my own authentication or I’ve needed to add some additional methods to the authentication process.

As easy as Microsoft has made the authentication process, you might think that in order to  manually authenticate you’d need to write all of your authentication code manually.  But nothing could be farther from the truth.

In fact, most of the time all you need to do is trap an event handler in the existing login control.

Continue reading “Forms Authentication – Manual Authentication”