Wednesday, February 08, 2012
Silverlight Gems
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri("http://cnn.com")); //You can use "_blank" as a second paramter to popup the cnn.com in a new window
Response.QueryString
System.Windows.Browser.HtmlPage.Document.DocumentUri.Query;
Monday, February 28, 2011
Tips for Pilgrimage to Mecca
Friday, February 18, 2011
VSS2005 to TFS2008 Migration steps

Then in your project folder, create the AnalysisSettings.xml and MigrationSettings.xml and should probably call them from a batch file. Your folder should look something like this
Thursday, February 03, 2011
RFID operation
Monday, December 06, 2010
تجربة الحج 2010 ونصائح للحج فى السنين المقبلة









Thursday, October 28, 2010
Webfarm and Servername
Wednesday, October 13, 2010
WCF over Https and User Name/Password
2- Bind IIS: You will need to make sure that your IIS is bound to your domain name. usually when you host a WCF on an IIS server IIS will always recognize the local server name and does not recognize the domain name. In order to learn about this issue and find out what to do read this article here But in a nutshell, you will need to issue two commandThursday, September 09, 2010
Sand Castle in two minutes
Friday, August 27, 2010
Tic Tac Toe Algorithm
| 3 | 2 | 3 |
| 2 | 4 | 2 |
| 3 | 2 | 3 |
| 2 | 1 | 2 |
| 1 | - | 1 |
| 2 | 1 | 2 |
| 2 | 1 | 2 |
| 1 | - | 1 |
| 2 | 1 | 2 |
| - | 0 | 1 |
| 0 | - | 1 |
| 1 | 1 | 1 |
Wednesday, May 26, 2010
MSMQ load balancing
If you have two MSMQ machines then your writer application will write half of the messages to the first MSMQ and the other half to the second MSMQ. your reader application however can not use the load balancer to do the read. since this read will be a remote read which will be stopped by RPC protocol, your reader applications should be local to the MSMQ. In the diagram below
The writer application writes to the load balancer, the load balancer distributes the messages and check the health of the MSMQ server before sending a message to it. In case one of the MSMQ servers is taken down the load balancer will only forward the traffic to the active MSMQ. which should achieve your load balance and fail-over requirement. You can also add a third or fourth MSMQ to the cluster if you encounter higher load and you want to scale your architecture up. you can also take MSMQ down and your application will not be aware since it always communicate with the load balaner.
Wednesday, April 14, 2010
WCF [Global Variables] and [Caching]
Total Cache Hits - NumberOfItems64
Total Cache Expiries - NumberOfItems64
Total Cache Scavenged Items - NumberOfItems64
Total Cache Entries - NumberOfItems64
Total Updated Entries - NumberOfItems64
Total # of Cache Access Attempts - RawBase
Updated Entries/sec - RateOfCountsPerSecond32
Cache Scavenged Items/sec - RateOfCountsPerSecond32
Cache Expiries/sec - RateOfCountsPerSecond32
Cache Hits/sec - RateOfCountsPerSecond32
Cache Misses/sec - RateOfCountsPerSecond32
Cache Hits/sec - RateOfCountsPerSecond32
Cache Misses/sec - RateOfCountsPerSecond32
Cache Hit Ratio - RawFraction

