Partager via


Programming tidbits: store & retrieve

Coding & debugging: The more you'll do it, the better you'll do it!

From C# to C++: Creating a blog demo project – coding style rules

Like I mentioned in my previous post, for the last months I had to change my programming language...

Date: 10/05/2010

Back to C++: From managed to native

The project I’ve been working on for the last several months is using native C++. Since I haven’t...

Date: 10/05/2010

Optimize for the Hot path

The Pareto principle (also known as the 80-20 rule, the law of the vital few, and the principle of...

Date: 02/04/2010

[Multithreading] Asynchronous Sleep in Distributed applications

Scenario: You have to design and implement a distributed application where a lot of clients call...

Date: 02/02/2010

Explorer crash when installing Windows Live – How do you bring it back?

For quite a while I’ve been using Live Writer to edit and publish blogs and I am quite satisfied...

Date: 02/01/2010

WCF Communication Objects states Cheat Sheet

WCF is all about communication objects – channels, listeners, factories, all implement the...

Date: 10/30/2009

ETW (Event Tracing For Windows) – what it is and useful tools

Event Tracing for Windows is the standard way to trace used by all features of Windows. Like the...

Date: 08/04/2009

Design patterns: How do you notify components about events that happen in different components?

I recently had to solve these kind of requirements: some components execute actions and at some...

Date: 07/02/2009

.NET Framework 4.0 implements WS-Discovery

The .NET Framework 4.0 and Visual Studio 2010 Beta 1 are live. If you haven’t tried the bits, do so...

Date: 06/11/2009

Performance: Don't trust, don't make assumptions... Measure!

When it comes to performance, there's a hard lesson I had to learn: never trust anyone, measure for...

Date: 05/08/2009

Fix Corrupted Performance Counters

As part of the project I am working on, I had to create performance counter categories and counters...

Date: 04/24/2009

Performance Comparison: Regex versus string operations

I consider regular expressions one of the most useful features ever. I use them a lot, not only when...

Date: 04/04/2009

Visual Studio Templates – Add New Item to project

Using Visual Studio to write code requires creating a project (well, you can use Visual Studio...

Date: 03/05/2009

Registry Editor Favorites

The registry editor has a very useful functionality that many people overlook – the favorites. You...

Date: 02/26/2009

Problems with CLR Windows Error Reporting (WER) Integration

Like I mentioned in my previous article, CLR integrates WER in order to be able to add...

Date: 02/01/2009

Windows Error Reporting and CLR integration

Windows Error Reporting (WER) monitors and collects information on crashes and hangs on Windows...

Date: 01/30/2009

Windows Error Reporting (WER) for developers

Windows Error Reporting is the replacement for Dr. Watson on OSs newer that Windows XP. It monitors...

Date: 01/27/2009

Can’t load sos when looking at a dump

I sometimes hear people complain that they tried to open a dump file in windbg, but couldn’t get sos...

Date: 09/26/2008

Interviewing at Microsoft

2 years ago I interviewed at Microsoft for a Software Development Engineer in Test – and I probably...

Date: 09/22/2008

Access Violation in a simple C++ program

I wrote a simple C++ program that removes the duplicate spaces in a string. The function doing the...

Date: 09/07/2008

The Beauty of Visual Studio Immediate Window

The Visual Studio Immediate Window is a great tool to increase your productivity. A lot of people...

Date: 08/23/2008

Working with Streams

The System.IO namespace contains types that allow reading and writing to files and data streams, and...

Date: 08/07/2008

Toastmasters? What for? I’m a developer…

In my day to day life, I write code and I debug code. Most of the times, the interaction with others...

Date: 07/13/2008

Server.Transfer / Response.Redirect

Server.Transfer and Response.Redirect are causing a new page to be processed, but the big difference...

Date: 06/27/2008

ArgumentException when adding objects in Session: Item has already been added to the dictionary

Did you ever see this ArgumentException when you innocently tried to add something to session? I...

Date: 06/20/2008

Attach debugger across different logon sessions

Attaching a debugger to a service/application in a different logon session might be a little tricky....

Date: 06/13/2008

Visual Studio 2008: Missing items from toolbox

A couple of days ago I reinstalled VS 2008 RTM version and I happily tried to create a website....

Date: 06/08/2008