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
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.
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.
Tuesday, March 14, 2006
Friday, March 03, 2006
Winning Forms - Practical Tips For Boosting The Performance Of Windows Forms Apps
Here u go...Good Tips and Techniques for improving performance of Win Form Apps
http://msdn.microsoft.com/msdnmag/issues/06/03/WindowsFormsPerformance/default.aspx#Tips
http://msdn.microsoft.com/msdnmag/issues/06/03/WindowsFormsPerformance/default.aspx#Tips
Tuesday, January 31, 2006
ASP.NET 2.0 Tutorials - No Need of Google!!
Excellent and daily use code grocerry shop for ASP.NET 2.0....
http://www.asp.net/QuickStart/aspnet/default.aspx
Happy Programming!!
http://www.asp.net/QuickStart/aspnet/default.aspx
Happy Programming!!
Wednesday, January 25, 2006
Thursday, January 19, 2006
Performance Considerations for Run-Time Technologies in the .NET Framework
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetperftechs.asp
Performance Tips and Tricks in .NET Applications
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetperftips.asp
Rescue to all kind of Debugging in .NET !!
http://www.gotdotnet.com/team/csharp/learn/whitepapers/howtosolvedebuggerproblems.doc
Wednesday, January 18, 2006
Top Intv Ques: Nth Highest Salary of Emp !!
I m always having trouble to build this query but now i got it forever!!!
Say "Emp" table structure is:
EmpID Salary
1 100
2 500
3 200
4 400
Say we have to find 2nd highly paid employee...Here we go.....::
select Salary from Emp A where 1 = (select count(Salary) from Employee B where B.Salary > A.Salary)
Note: "1" in above query is Nth Max - 1 or in other words if we have to find say 3rd highest see how many are there above three ?? Obviously two sp put 2 na intead of 1....(here we are looking for 2nd highest thats why i have put 1...Samje...)
Simple and Perfect....Kya baat hai!!! Wah Wah....
Say "Emp" table structure is:
EmpID Salary
1 100
2 500
3 200
4 400
Say we have to find 2nd highly paid employee...Here we go.....::
select Salary from Emp A where 1 = (select count(Salary) from Employee B where B.Salary > A.Salary)
Note: "1" in above query is Nth Max - 1 or in other words if we have to find say 3rd highest see how many are there above three ?? Obviously two sp put 2 na intead of 1....(here we are looking for 2nd highest thats why i have put 1...Samje...)
Simple and Perfect....Kya baat hai!!! Wah Wah....
Friday, January 13, 2006
Excellent E-Books
Here i got good collection of e-books....
http://www.maththinking.com/boat/booksIndex.html
http://www.maththinking.com/boat/booksIndex.html
Subscribe to:
Posts (Atom)