Browse by Tags
All Tags »
Development (RSS)
This is something that I've been asked more than once, and so here goes an answer that might help if you run into this. Let's say that you create a new project and borrow code or do something of the sort, and suddenly start getting an error message such
Read More...
Debugging is hard. There are many things we do to make it easier on ourselves. Feature-level things like building tracing and logging capabilities. Design-level things like having clear points at which state is checked for consistency (internal or parameters
Read More...
As a short follow-up to my last post on reasoning about code , I wanted to touch upon abstraction in general - meaning "information hiding" in the general sense, and not necessarily a particular programming mechanism such as polymorphism or some such
Read More...
When we have conversation about API design, or more generally about fragments of code that we write or we think customers will write, we often talk about reasoning about code . We typically mean that someone reading the code will be able to understand
Read More...
To wrap up a bit on the partial class support for generated code scenario , let's look at a case we missed. Although our workflow is great for "structural" code (fields and simple properties and such), what about methods? For example, let's say that we
Read More...
C# allows you to create nested classes - that is, classes that exist "within" a different class. Depending on what visibility you give these classes, they can be just as public as anything else (the Environment.SpecialFolder enumeration is such an example).
Read More...
Frequently you'll write classes that represent a concept that is also described elsewhere. For example, you'll have a class that represent a row in a table, a service the web or the graphical design of a form. These external concepts have descriptions
Read More...
Got bit by this a few moments ago... Thankfully it didn't take long, but probably because this was fairly isolated in my case; I could imagine getting stuck for a bit longer if this were a larger piece of code. Anyway, I was running method that goes through
Read More...
Next Monday I'll be at DevConnections in Orlando, talking about Velocity (Microsoft Project Code Named "Velocity", if you like formality). It's going to be a bit of a challenge to sum up all that awesomeness into a single session, but I promise I'll do
Read More...
Edward discusses how to set an integer in the MSXML APIs in this thread . I wanted to provide the snippet of code necessary to do this on an attribute, using the very awesome wrappers generated by the Visual C++ #import directive. The catch is that becausae
Read More...
The MVP Summit starts on Sunday ( http://www.mvpsummit2009.com/ ). I want to warmly welcome all MVPs, and please let me know if you'd like to get in touch with while you're here. See you soon!
Read More...
The MIT campus map at http://whereis.mit.edu/map-jpg has some very, very funny messages displayed as you zoom in and out. Even despite the comment on large Seattle-based companies (thankfully Microsoft is Redmond-based), you'll surely appreciate the humor.
Read More...
Some data one would expect that will be around for a long time . Longevity however has some interesting challenges associated with them. At the physical level, the piece of hardward on which data lives may deteriorate to the point that the data is unrecoverable.
Read More...
Beth Massi has written a couple of very good posts involving ADO.NET Data Services, which I strongly encourage folks to read. Using ADO.NET Data Services (the fundamentals, great walk-through) Building an Office Business Application for TechReady 8 (awesome
Read More...
The praises haven't been sung loud enough for MSDN Virtual Labs , and I intend to do my part to correct that. So, what is this? It's a part of MSDN where you can go through a "lab" online without messing your environment. A lab is typically a walk-through
Read More...