Friday, August 24, 2007
Thursday, August 2, 2007
C# Compiler Mysteries
This is an ERROR
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
SortedList sl = new SortedList();
}
This is NOT an ERROR
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
SortedList sl = new SortedList();
}
}
Want to know more about this , check out
http://msdn2.microsoft.com/en-us/library/xaw06638(vs.80).aspx
And here you will find more opinions
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1780871&SiteID=1&pageid=0
Wednesday, August 1, 2007
Role Permission Explosion in Role Base Access Security [RBAC]
Formula: nCr = n! / [(n-r)! r!]
n : Possible Permissions
r : Possible Roles
So for 3 Permissions, possible roles are
3C1+3C2+3C3 = 7
So for 3 permissions, we have 7 possible roles in 1 application. If we have 2 applications then the no of roles will be 14.
Challenge
How to minimize / manage roles?
Solution:
By Grouping
- Role Hierarchy
- Role Linking
By Enforcing Business Rules
Friday, July 6, 2007
Tuesday, May 15, 2007
Monday, April 23, 2007
SaaS in Action!
Check this out
http://www.clocklink.com/ENG/gallery.htm
Just copy the html code from this website on any webpage. This script will give you a decent , ajax enabled world clock. Cool app and good example of software as service.

