Archive for the 'Programming' Category
TS: Microsoft .NET Framework 2.0 – Web-Based Client Development
1 Comment Published by Erik Burger October 3rd, 2008 in ProgrammingToday I passed the 70-528 TS: Microsoft .NET Framework 2.0 – Web-Based Client Development exam. One more step towards my MCPD: Enterprise Application Developer certification
SharePoint Custom Templates and Language Packs
0 Comments Published by Erik Burger September 10th, 2008 in Programming, SharePointRecently I’ve been working a lot with the SharePoint standard templates. A client wanted us to build a Web Part that had the look and feel of a standard SharePoint Web Part and the easiest way to achieve that was using templates. Using these, we didn’t have to worry about custom fields, save buttons, validation [...]
Loading SharePoint templates from a different location
1 Comment Published by Erik Burger September 1st, 2008 in Programming, SharePointIn his excellent post on How SharePoint 2007 Renders Its Content Geoff McElhanon shows how to programmatically load SharePoint-based templates. The code he shows us is as follows: 1 2 3 4 5 6 7 // Initialize template container with our custom template templateContainer = new TemplateContainer(); templateContainer.Template = SPControlTemplateManager.GetTemplateByName(RenderingTemplateId); // Add the container [...]
IronRuby Tutorials for C# Developers
1 Comment Published by Erik Burger August 7th, 2008 in Programming, Programming LanguagesI have been advertising Ruby and IronRuby at my company for a while now — or trying too. We are a .NET solution provider and sofar they’re not convinced that Ruby will be worth the effort of learning. Oh well. One of these days I will come up with the decisive argument. Thinking of that, [...]
Copying class properties using .NET Reflection
7 Comments Published by Erik Burger June 6th, 2008 in ProgrammingI ran into a situation a while ago that I needed to retrieve a serialized object from the database, copy its properties to another object and send that object over the wire. Why the copying? The object stored in the database were written in .NET 2.0, whereas the service I was sending the object to [...]

