From the title of my blog, one might surmise that I'm kind of into reflection. (Ya think?) Well, although I haven't blogged about using .NET reflection for SharePoint development since back in 2006 (see my article "Use .NET Reflection to Create SharePoint Sites and Site Definitions"), I've continued experimenting with the idea and may have actually come up with something useful.
My original article dealt with the problems associated with writing site definitions for WSS 2.0. Since then, with all the new capabilities they've stuffed into WSS 3.0, the basic problem still remains - how to reduce the ever-increasing "surface area" faced by SharePoint developers? I still find it somewhat disconcerting to write XML markup along with my managed code while keeping everything in sync. Every time I conduct a training class for SharePoint developers, they all echo the same sentiment.
So, what if you could write a SharePoint Feature like this?
All C# - all the time. No CAML to speak of.
Of course, there's the question of how to get SharePoint to understand it. There's also a bit of plumbing required under-the-covers to make everything work. But the end result is somewhat compelling, isn't it?
If you're intrigued, then click here to read the entire article. I've basically created a SharePoint Reflection Framework that I've started to use in my own development work. It's getting to the point now where I'm feeling the need to share the fruits of my labor.
And don't resist the urge to give me some feedback! I'm always on the lookout for beta testers!
Stay tuned.
JFH