Day of .Net Presentation

I thoroughly enjoyed my presentation and the time at Day of .Net this past Saturday. Special thanks to those folks who attended my presentation.

Here is my slide deck.

This is a zip file of the code from the presentation. Remember you need the .Net 3.0 framework and the SDK for Open XML Formats CTP in order to run the code.

Posted: Monday, October 22, 2007 4:30:13 PM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback
Office | Speaking

Open XML References

Resources

ECMA-376  Standard Specification

Word 2007 Content Control Toolkit

Open XML Code Snippets for Visual Studio 2005

OpenXmlDeveloper.org

Open XML e-book

XML in Office Developer Portal

SDK for Open XML Formats CTP (online)

MSDN Forum for Open XML SDK

Software

Package Explorer

ExcelPackage

Word 2007 Content Control Tookit

Open XML Code Snippets for Visual Studio 2005

SDK for Open XML Formats CTP (download)

Microsoft .Net Framework 3.0

Articles

Introducing the Office (2007) Open XML File Formats

Building Server-Side Document Generation Solutions Using the Open XML Object Model (Part 1 of 2)

Building Server-Side Document Generation Solutions Using the Open XML Object Model (Part 2 of 2)

Manipulating Excel 2007 and PowerPoint 2007 Files with the Open XML Object Model (Part 1 of 2)

Manipulating Excel 2007 and PowerPoint 2007 Files with the Open XML Object Model (Part 2 of 2)

Dive Into SpreadsheetML (Part 1 of 2)

Dive Into SpreadsheetML (Part 2 of 2)

Manipulating Word 2007 Files with the Open XML Object Model (Part 1 of 3)

Manipulating Word 2007 Files with the Open XML Object Model (Part 2 of 3)

Manipulating Word 2007 Files with the Open XML Object Model (Part 3 of 3)

Blogs

Wouter van Vugt

Brian Jones

Kevin Boske

Posted: Friday, October 19, 2007 6:24:25 PM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback
Office | Speaking

ASP.NET Web Project Build Events

I have a web project (the original 2005 web project type, not a web application project) and had a problem getting files copied to the bin directory. Essentially, one of the library projects referenced by the web project has an XML file in the project output, but when the solution is built, the XML file in the bin directory of the library project is not pulled into to the bin directory of the web project. Of course, a post-build event seemed like the thing to do, but web projects don't have support for that.

A little digging and I found this post by Scott Guthrie that describes a "Build Helper Project". You simply add an empty class library project to your solution. You then use the build events in the empty project use to add build events to your web project. You just make sure the project build order is correct so the events get called when you need them.

Posted: Monday, October 08, 2007 4:28:16 PM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback
.Net 2.0 | ASP.NET

Speaking at Day of .Net in Ann Arbor

I will be speaking at Day of .Net in Ann Arbor, MI on October 20th. It's a Saturday, and it's a completely free event. I will be presenting Creating Office Documents with Open XML. I will be going over the Packaging API and how to programmatically create and manipulate Office docs.

There are four concurrent sessions all day long covering many aspects of .Net.

See you there!

 

Day of .Net October 20, 2007 - See You there!

Posted: Thursday, October 04, 2007 5:03:49 PM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback
Office | Speaking

Laws from DDJ

Got my new November Dr. Dobbs issue today. The back column "Swaine's Flames" has reminded me of some programming "laws" that I have seen before. I have added my own corollaries for each:

Kernighan's Law: "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."

My corollary: "The developer who's code that you inherit believed they were twice as smart as they really are."

Eagleson's Law: "Any code of your own that you haven't looked at for six or more months might as well have been written by someone else."

My corollary: "You can recognize that you have written code to solve a particular problem but will be unable to locate the specific instance you recall."

Posted: Tuesday, October 02, 2007 4:50:05 AM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback
Programming

Links for VSTS Database Professional Edition

Resources

Team Site
http://msdn2.microsoft.com/en-us/teamsystem/aa718764.aspx

Product Forum
http://forums.microsoft.com/msdn/showforum.aspx?forumid=725&siteid=1

Good Blogs
http://blogs.msdn.com/camerons
http://blogs.msdn.com/sachinre

 

Downloads

Service Release 1
http://support.microsoft.com/kb/936612/

PowerTools
http://go.microsoft.com/fwlink/?LinkId=88852

Posted: Tuesday, September 25, 2007 5:00:06 PM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback
Visual Studio | VSTS

Day of .Net in Ann Arbor, MI

Registration is now open for Day of .Net in Ann Arbor on October 20th, 2007 at Washtenaw Community College in Ann Arbor, MI. Register here for this completely-free, all day learning event. Start planning now to take advantage of this event!

Day of .Net October 20, 2007 - See You there!

Posted: Tuesday, September 11, 2007 3:40:49 PM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback

Use RunAs to Connect to SQL Servers in Another Domain

Doh! Another simple thing I wish I knew (or thought of) previously: Using RunAs to connect to SQL Servers in other domains

Posted: Friday, September 07, 2007 4:31:07 PM (Eastern Standard Time, UTC-05:00)  #    Comments - Trackback
SQL Server