IEnumerable: lazy and dangerous
Time and time again I am burnt by the same bug. There are two kinds of enumerables in .NET: enumerators and generators. Enumerators go over some collection and return its […]
Time and time again I am burnt by the same bug. There are two kinds of enumerables in .NET: enumerators and generators. Enumerators go over some collection and return its […]
The scenario is: someone opens an SSL connection to the Apache server, authenticates himself, and requests access to another host/port via CONNECT command. This is good for secure connection via […]
Trying to upgrade my Apache server, and getting this helpful message from Windows Installer. Well, this time I know it is Apache, but how many times I did not? How […]
Imagine I have a main view that contains a number to sub-views. To be concrete, let’s assume that the sub-view is a user control of type PersonView that displays person’s […]
I am building a WPF demo, and I wanted to include validation. My scenario cannot be simpler: I show a form to create a shipment, and when you click “Save” […]
This will hopefully become a more organized article with code samples, but I need to record my results for now. Here’s the practical problem I encountered in the application I […]
I never thought about it, but it turns out that exception’s stack trace does not contain the full stack. Instead, it contains only frames between the point where the exception […]
Does attribute order in XAML matter? It should not, but sometimes it does. The following XAML compiles, but blows up at runtime with “Item has already been added” exception, both […]
Today ClickOnce publisher came up with this message: “The application platform does not match the existing application on the server. Do you want to overwrite it?” What is the platform […]
After a long while I am back to dealing with databases directly from ADO.NET. Guys, this is ridiculous. Any serious library designed like that would be heckled. This is what […]