Friday, August 24, 2007

Object Relational Mapping


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

  1. Role Hierarchy
  2. Role Linking

By Enforcing Business Rules

Friday, July 6, 2007

Application Performance and Simplicity




Tuesday, May 15, 2007

Filter and Pipe with Publish and Subscribe Flavor


Filter and Pipe Pattern for SaaS


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.