Code Snippets

 
Code Sample URL: http://tinyurl.com/rrc-net

 

Ashraf is continuously sharing his basic coding samples at web, In last 1 year he has provided 25 code samples here (as of 19th April 2009). Few of mentionable samples among there includes:

 

WWW Redirector Http Module (http://tinyurl.com/dy2e5z): An http module written in C# that lets an asp.net application to be redirected to a www. prefixed url, which prevent lose of session data.

 

ASP.NET Config Tester (http://tinyurl.com/d64q3y): contains a set of asp.net pages to enable developers of test site configurations quickly.

 

Cache Hash Util (http://tinyurl.com/cmh3g7): contains sample class to utilize cache and hash technique to improve application performance rapidly.

 

Return Value From Pop-up Window (http://tinyurl.com/cuoc7x): shows a technique to return value from a pop-up window to a asp.net page.

 

Detecting Browser Close (http://tinyurl.com/dnmq7q): shows a technique to detect browser close event.
 
Sql School (http://tinyurl.com/c9kguu): Contains a set of common Sql snippets helpful for developer’s everyday.
 

Top 10 VSTS 2008 Load Test Counter Sql Script (http://tinyurl.com/cp4ydu): An SQL Script that shows top 10 performance counter results with respect to last run of VSTS 2008 Load Test.