Tag Archive for "c#" tag

Picking the right .NET Framework Version with Specific Reference

August 14th, 2008 by stevi | 1 comment

This morning I needed to work on a long-standing ASP.NET web application project. I haven’t had to run it locally for quite a while. I updated my source from TFS, cleaned and built the solution, and started the project in debug mode. After logging in, I went to a page, and was suddenly staring at [...]

Why Are All My Collection Elements the Same as the Last One I Added?

April 29th, 2008 by stevi | 0

I’ve seen several programmers struggle with a similar question. They create a collection of some sort, and add items to it in a loop. When they finish the loop and try to use the collection (or list, or array, or set, or map) it looks like every single object in the collection is the same [...]

Role aware ASP.NET web controls

March 12th, 2008 by stevi | 5 comments

A common feature I’ve found necessary for web applications is role-based security at the field level. For example, I may have a form that allows editing a user’s information. The requirements may include the rule that only certain types (roles) may edit certain fields.
This can be accomplished in myriad ways. You can create a different [...]