Tuesday, September 09, 2008

Drops Of Wisdom

 

Self satisfaction is a sure sign of lacking intellect. [Ali radi Allah anhu]

Drops Of Wisdom

Nice prayer of St. Francis of Assisi

Lord, make me an instrument of your peace, Where there is hatred, let me sow love; where there is injury, pardon; where there is doubt, faith; where there is despair, hope; where there is darkness, light; where there is sadness, joy; O Divine Master, grant that I may not so much seek to be consoled as to console; to be understood as to understand; to be loved as to love. For it is in giving that we receive; it is in pardoning that we are pardoned; and it is in dying that we are born to eternal life

 

del.icio.us Tags:

Sunday, September 07, 2008

ASP.NET MVC: Store Routes in the Database

Found just what I was looking for.

ASP.NET MVC: Store Routes in the Database

An Introduction to URL Routing : The Official Microsoft ASP.NET Site

I wish MS comes out with some better way of handling routes in MVC type applications. Adding all these to Global.asax.cs file is not just going to work for Intranet type applications where you have one application with several directories under it (each directory is actually another complete application of it's own as well). Defining routes in Global.asax and having the whole domain to reload for each new file is just not gong to work.

 

Has anyone come across another method of defining routes for MVC application?

An Introduction to URL Routing : The Official Microsoft ASP.NET Site