Sunday, November 08, 2009

Comparing Web Forms And ASP.NET MVC

Another Nice article from Dino Esposito.

http://msdn.microsoft.com/en-us/magazine/dd942833.aspx

Thursday, April 03, 2008

Tree View - ExpandDepth to work on Postback

Here is what is required:


While Creating nodes,

if(node.Depth == 1)
{

node.Expanded = true;

}
else
{

node.Expanded = false;

}

Wednesday, October 10, 2007

Testing for SQL Injection ...Nice One

http://www.owasp.org/index.php/Testing_for_SQL_Injection

SilverLight Continued...

http://www.devx.com/RichInternetApps/Article/35225

Wednesday, July 25, 2007

Silverlight in Action....

Silverlight Adventures


http://west-wind.com/weblog/posts/65291.aspx

http://msdn2.microsoft.com/en-us/silverlight/default.aspx

http://channel9.msdn.com/showpost.aspx?postid=304508

http://download.microsoft.com/download/f/2/e/f2ecc2ad-c498-4538-8a2c-15eb157c00a7/SL_Map_FinalNET.png

http://blogs.msdn.com/tims/archive/2007/04/15/introducing-microsoft-silverlight.aspx

Have Fun.

Friday, July 14, 2006

SOA Myths Explained !!

http://www.dotnetheaven.com/Uploadfile/dmagid/DebunkingMythsofSOA07042006003220AM/DebunkingMythsofSOA.aspx?ArticleID=e454a002-c6e9-4e1d-8e60-db6926b03424

Welcome To Mobile computing @.NET CF

http://www.c-sharpcorner.com/UploadFile/anandkrao/NETCFrameworkandSQLCE07262005031150AM/NETCFrameworkandSQLCE.aspx?ArticleID=f33d8531-bf4d-4589-9ac8-ce26f0e9566a


http://www.csharpcorner.com/uploadfile/anandkrao/netcf_sqlce-part208112005082121am/netcf_sqlce-part2.aspx?articleid=2a71c7e6-de11-4144-a5f1-eb65a339ea22



http://blogs.msdn.com/mikezintel/archive/2004/12/08/278153.aspx


Best Practices of Compact Framework

http://www.c-sharpcorner.com/UploadFile/anandkrao/CompactFrameworkBestPractices05172006002748AM/CompactFrameworkBestPractices.aspx?ArticleID=88dd9ddf-e3b1-4c41-acad-008f84202b6c

Friday, June 09, 2006

All About Character Encoding - Base64 Encoding

http://dotnet.sys-con.com/read/192527.htm

Instead of using a StringBuilder, use Convert.ToBase64String(result). That will do 6 bits per character instead of 4 (so the output string will be shorter).

You should also use MD5CryptoServiceProvider.Create() rather than ‘new’ because it is faster. Or just MD5.Create() for short.

byte[] input = Encoding.UTF8.GetBytes(inputString);
byte[] output = MD5.Create().ComputeHash(input);
return Convert.ToBase64String(output);

Something like this would be sufficient (and faster). If you want to support Unicode, just type Unicode instead of UTF8.

If you want even faster, keep the MD5 in a static variable so that it only has to be created once.