At my first session on Quarters I presented a best practice for maintaining configuration sections in configuration files (web.config / app.config) by using custom sectionGroups and sections. The main advantages of using sectionGroups are: 1. Separate configuration elements into logical groups. 2. Add validation and constraint on configuration elements. 3. Return typed values instead of [...]
Author Archive > Yaya
Fences – Small but yet cool application
Since many people here are using it, I thought sharing it with all of you folks. Fences is a small application that lets you organize your desktop shortcut icons into groups. A feature I found very useful is the ability to create snapshots of the desktop, so incase things go wrong and your icons get [...]
Nuget – Try it now !!!
What’s Nuget ? Nuget is a Visual Studio extension that makes it easy to install and update open source libraries and tools in Visual Studio. Nuget has many cool features which often simplify the everyday development tasks. Instead of re-writing an intro, go and read the detailed info on the Nuget’s site. Why should I [...]
When Small Mistakes have Great Impact
Take a look at the following simple program class Program { static void Main(string[] args) { var numbers = new String[] { “one”, “two”, “three”, “four”, “five”, “six” }; foreach (var number in numbers) { WaitCallback callback = new WaitCallback(state => Console.WriteLine(number)); ThreadPool.QueueUserWorkItem(callback); } Console.Read(); } } Can you predict what will be the outcome [...]
Application_Start, Does It ?
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 [...]
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
Asynchronous HTTP Request Handling
A few days ago, Fufu entered my room troubled with a technical issue. Although the issue was around Fluorinefx (which I have zero knowledge of) and was directed to Yoad, I felt the need to intervene. From here to there, we found ourselves talking about the way ASP.NET handles incoming requests, and the performance implications it [...]
.NET 4 & Visual Studio 2010 – By ScottGu’s
For those of you who are currently using VS 2010, and for those of you who should, these series of posts by Scott Guthrie (VP at Microsoft) are a great introductory of the new features presented in the new .NET4 and VS2010 IDE. This guy is one of two people I consider worth following amongst Microsoft’s personnel, since [...]
New Handy Gmail Feature – Find Docs And Sites
New to Gmail, through Labs, you can Find docs and sites quickly with Apps Search. I find it very handy.

