Marcelo's WebLog
Improving the world one entity at a time (now tweeting on @mlrdev)
Windows 7 - 7 Second Demos
Very, very cute of showing off some new Windows love - it even fits my attention span....
Author: Marcelo Lopez Ruiz - MSFT Date: 10/24/2009
MSXML4 SP3, now with a CAB
Yep, the redistributable CAB for MSXML4 SP3 is now available for download. Now you can deploy the...
Author: Marcelo Lopez Ruiz - MSFT Date: 10/01/2009
ADO.NET Data Services - CTP and more
In case you haven't seen this yet, the CTP release has been announced at...
Author: Marcelo Lopez Ruiz - MSFT Date: 09/02/2009
Problems when installing SQL Server 2005 on an upgraded Windows XP SP3 with MSXML6 SP2
As mentioned in the SQL Server Support Blog, you may find an issue installing SQL Server 2005 if you...
Author: Marcelo Lopez Ruiz - MSFT Date: 08/31/2009
ADO.NET Data Services and PHP
Data, data, data everywhere... Go ahead and click - code samples ahead....
Author: Marcelo Lopez Ruiz - MSFT Date: 08/21/2009
ADO.NET Data Services Cheat Sheet
Just run into this today - very nifty cheat sheet for ADO.NET Data Services....
Author: Marcelo Lopez Ruiz - MSFT Date: 07/31/2009
XSLT Timer Released on Code Gallery
Over this past weekend, the XSLT Timer tool has been released on Code Gallery. This is a very simple...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/16/2009
History of Microsoft
There's a fascinating look at Microsoft's history, year-by-year, on Channel 9. I hadn't looked at...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/15/2009
Performance Tools
I've written about performance tools in the past - it's a topic that interests me quite a bit,...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/12/2009
Group slicing in XSLT with parameters
One other twist on the last slicing stylesheet. Let's say that we didn't want to hard-code the...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/10/2009
StackPanel, DockPanel and scrolling items
I spent a little bit of time with this the other day, and I thought I'd pass the learnings on, in...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/09/2009
Aaron Dunnington on Velocity
Aaron published an MSDN article on using Velocity that is very much worth checking out. Some of the...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/08/2009
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...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/05/2009
More group slicing in XSLT
To continue on my previous example on slicing (I made the term up, by the way), today we'll do...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/04/2009
LINQ to XSD on CodePlex
I'm very, very pleased about today's announcement on LINQ to XSD being available on CodePlex. The...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/03/2009
Simple group slicing in XSLT
First, let me start with a disclaimer: I'm not an XSLT guru. I know folks that can truly do amazing...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/02/2009
XmlConvert helps to verify valid XML characters
One of my popular past entries is Working around invalid characters in XML. I don't know if folks...
Author: Marcelo Lopez Ruiz - MSFT Date: 06/01/2009
XSLT Resources Posted
I've posted a page on XSLT Resources that I hope to add to over time - stay tuned.
Author: Marcelo Lopez Ruiz - MSFT Date: 05/28/2009
XSLT Resources
Welcome to the XSLT Resources Page. I'm maintaining this page as a hub of links to additional...
Author: Marcelo Lopez Ruiz - MSFT Date: 05/27/2009
Debugging and PDBs
Debugging is hard. There are many things we do to make it easier on ourselves. Feature-level things...
Author: Marcelo Lopez Ruiz - MSFT Date: 05/12/2009
OpenXML and XML Literals - great video
Beth Massi shows off how you can use XML literals in VB.NET to do some very, very powerful stuff in...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/21/2009
DTD resolution and network behavior
Following up from my last post, danieldsmith asked about a couple of additional details. I think I...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/20/2009
Faster XML - don't resolve DTDs if you don't need to
When loading an XML document through XmlDocument.Load or XDocument.Load, the default behavior when...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/17/2009
Abstraction, simplicity and predictability
As a short follow-up to my last post on reasoning about code, I wanted to touch upon abstraction in...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/16/2009
Reasoning about code
When we have conversation about API design, or more generally about fragments of code that we write...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/15/2009
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...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/14/2009
Using partial classes with nested classes for maintainability
C# allows you to create nested classes - that is, classes that exist "within" a different class....
Author: Marcelo Lopez Ruiz - MSFT Date: 04/13/2009
Using partial classes for cleaner, more maintainable code
Frequently you'll write classes that represent a concept that is also described elsewhere. For...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/10/2009
SQL Server 2008 SP1 Available
I know, I know - two announcements in a row? What's happening to this blog? This is big enough to...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/09/2009
Velocity CTP3 Is Available!
Find all the goodness at https://msdn.microsoft.com/en-us/data/cc655792.aspx, including cache...
Author: Marcelo Lopez Ruiz - MSFT Date: 04/08/2009
GetCurrentMethod and lambdas - watch out
Got bit by this a few moments ago... Thankfully it didn't take long, but probably because this was...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/31/2009
Back from DevConnections
Had a great time there, met a lot of great folks, and now I've got a bunch of ideas for posts that...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/26/2009
IE8 Built-in Developer Tools
I've already run across a number of developers who aren't aware of this, and it's too good to pass...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/23/2009
Velocity at DevConnections
Next Monday I'll be at DevConnections in Orlando, talking about Velocity (Microsoft Project Code...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/20/2009
ADO.NET Data Services v1.5 CTP1 released
The announcement is available here. There's a video showing how to get started, a FAQ, and a link to...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/18/2009
Fast XmlDocument to XDocument conversion with extension method
Really just a variation based on Kris' comment on my previous XmlDocument to XDocument conversion...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/17/2009
XmlSchema and XmlSchemaSet thread safety
Here's a good word of warning: even if an object "feels" read-only because you're not calling code...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/16/2009
Fast way to convert XmlDocument into XDocument
This question came up in the forums a little while ago, and I thought it might be interesting to do...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/13/2009
My latest countdown program
I frequently find myself needing to set a 'countdown timer'-type of thing on my computer. A typical...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/12/2009
Writing xml:lang with an XmlWriter
I've written in the past about XML & languages, and why you might be interested in being aware...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/11/2009
Project Codename "Astoria Offline", Alpha Preview
As recently announced, early preview bits are available for Astoria that provide synchronization...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/10/2009
MSXML4 SP3 Released!
Late last week, MSXML4 SP3 was made available to the world. Here are some highlights. Improved...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/09/2009
XmlDocument.PreserveWhitespace and memory usage
The PreserveWhitespace property is sometimes misunderstood. As this MSDN page describes, this...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/06/2009
Reading int and byte values from XElement
The XElement class has a very nice capability that is not very well known - the ability to by...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/05/2009
Cloning an XmlDocument doesn't make the copy thread safe
This could be a gotcha, but cloning an XmlDocument doesn't quite make a completely independent copy....
Author: Marcelo Lopez Ruiz - MSFT Date: 03/04/2009
ADO.NET Data Services v1.5 CTP announced
If you haven't seen this yet, ADO.NET Data Services is announcing an upcoming CTP for the v1.5...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/03/2009
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...
Author: Marcelo Lopez Ruiz - MSFT Date: 03/02/2009
Welcome MVPs!
The MVP Summit starts on Sunday (https://www.mvpsummit2009.com/). I want to warmly welcome all MVPs,...
Author: Marcelo Lopez Ruiz - MSFT Date: 02/27/2009
Awesome MIT campus map messages
The MIT campus map at https://whereis.mit.edu/map-jpg has some very, very funny messages displayed as...
Author: Marcelo Lopez Ruiz - MSFT Date: 02/25/2009
StackOverflowException with XslCompiledTransform
Pawel recently looked into a customer report about XslCompiledTransform failing with a...
Author: Marcelo Lopez Ruiz - MSFT Date: 02/19/2009