Andrew Connell

Debunking a myth: You *CAN* use code behinds in SharePoint v3 sites

Last week I had a post that was a bit emotionally charged in talking about SharePoint as a development platform. In that post I mentioned that you could do code behind files in SharePoint v3 sites. Since that post I've been hit with a good bit of email asking me "how?" I've also heard the question from quite a few people over the last year or so since this product has really been out there in this version. Instead of talking about it again and again, I figured it would be a good time to write up a little sample with screenshots to show how to do it. Finally, something to point people to! When I show this technique to people during my WCM developer classes, it is just another notch towards realizing that SharePoint, specifically v3, is truly just an enterprise ASP.NET 2.0 application and helping knock down the impression that SharePoint is this monstrous beast that can't be tamed. Hey... I'll listen to that argument for v2, but v3 is totally different and a fantastic Stepping down off the soapbox... I hope this article opens up some eyes and helps you in any projects you're working on! Granted,...

Last week I had a post that was a bit emotionally charged in talking about SharePoint as a development platform. In that post I mentioned that you could do code behind files in SharePoint v3 sites. Since that post I’ve been hit with a good bit of email asking me “how?” I’ve also heard the question from quite a few people over the last year or so since this product has really been out there in this version. Instead of talking about it again and again, I figured it would be a good time to write up a little sample with screenshots to show how to do it. Finally, something to point people to!

When I show this technique to people during my WCM developer classes, it is just another notch towards realizing that SharePoint, specifically v3, is truly just an enterprise ASP.NET 2.0 application and helping knock down the impression that SharePoint is this monstrous beast that can’t be tamed. Hey… I’ll listen to that argument for v2, but v3 is totally different and a fantastic

Stepping down off the soapbox… I hope this article opens up some eyes and helps you in any projects you’re working on! Granted, it’s a super simple example, but it should demonstrate the HOW part of using code behind files in SharePoint pages. The goal was to keep it real simple so you can see where the SharePoint piece is.

ยป Using ASP.NET 2.0 Code Behind Files in SharePoint v3 Sites

Andrew Connell
Founder & Chief Course Artisan, Voitanos LLC. | Microsoft MVP
Written by Andrew Connell

Andrew Connell is a web developer with a focus on Microsoft Azure & Microsoft 365. He’s received Microsoft’s MVP award every year since 2005 and has helped thousands of developers through the various courses he’s authored & taught. Andrew’s the founder of Voitanos and is dedicated to delivering industry-leading on-demand video training to professional developers. He lives with his wife & two kids in Florida.