On my MED (Million Euro Drop) project I have a web-service which starts a recurring asynchronous method (using a worker thread) on its application_start (in the global.asax). This method is responsible for updating the show’s status (running, pending, stopped etc.) every 2 seconds. Each client that connects to the MED game, requests the show’s status [...]
Archive > November 2010
Many TIME_WAIT connections
Hi, Lately our system suffered from “strange” DB connectivity issues: connection to DB failed, DB mails failed, etc. We received two exceptions: A netword-related or instance specific error occurred while establishing a connection to SQL server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL [...]
Mastering CSS
Here are several useful articles you should read to get your CSS “black belt”, and save yourself precious time and frustration: 15 CSS Habits to Develop for Frustration-Free Coding 7 Principles Of Clean And Optimized CSS Code Mastering CSS Coding: Getting Started The 30 CSS Selectors you Must Memorize Hope you find it helpful, Roei
IsNullOrWhiteSpace
For those of you who didn’t pay attention (like me until now) there’s a String.IsNullOrWhiteSpace which checks that the string is not null, not empty and does not contain only white-space characters. This is actually the big brother of String.IsNullOrEmpty. Hope you find it helpful, Yair
SQL Server Express – Where is the scheduler?
There isn’t one, Apparently. SQL Server Express edition does not come with the “SQL Agent” component which among other things is responsible for job scheduling. In order to still be able to schedule jobs, several options are available: Stone age technique – Create batch files to run sql scripts using the command line utility “SQLCMD“. Schedule [...]

