Welcome to MSDN Blogs Sign in | Join | Help

Marcelo's WebLog

Improving the world one entity at a time

Browse by Tags

All Tags » Development   (RSS)
Vistual Studio visualizer for OData
Fabian Winternitz is one of our awesome tools developers, and you can see some of his work in this post . That's a Visual Studio extension that will display searchable diagrams for the model exposed by any service endpoint that exposes OData metadata. Read More...
XmlLite says: error C2146: syntax error : missing ';' before identifier 'IXmlReader'
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 and PDBs
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...
Abstraction, simplicity and predictability
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...
Reasoning about code
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...
Using partial methods to extend generated code
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...
Using partial classes with nested classes for maintainability
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...
Using partial classes for cleaner, more maintainable code
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...
GetCurrentMethod and lambdas - watch out
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...
Velocity at DevConnections
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...
How to set an XML attribute to an integer
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...
Welcome MVPs!
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...
Awesome MIT campus map messages
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...
Thoughts on data longevity
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...
ADO.NET Data Servces in action (and in Word and Outlook!)
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...
More Posts Next page »
Page view tracker