Enabling ASP.NET 3.5 in Umbraco

Recently, I started developing new applications around the Umbraco Content Management System. I use the term around very lightly, because Umbraco really doesn't require any constraints on your code (like DNN, Rainbow and virtually every other.Net based CMS that I have used), other than the need to develop in user controls instead of aspx pages - which makes perfect sense given the idea of a CMS. It has worked flawlessly and is easily the best.net based CMS system around from a developer AND designer perspective.

I ran into my first hiccup yesterday when trying to develop using AJAX in Umbraco. My design project had been setup to target the 3.5 extensions, while Umbraco is generally configured to use the 2.0 version with the AJAX extensions. All is well with controls, until trying to use AJAX - apparently enough changed under the hood to require a dependency for the version of the ScriptManager and UpdatePanel being used.

The Umbraco community came to the rescue before the ink was dry on my forum post. The initial reply to my issue came within a few minutes on the public Umbraco forums [My Post] and while their first suggestions didn't fix the problem, it certainly led me in the right direction and on to the final solution:

BTW - all it takes to get Umbraco to start using the 3.5 extensions is the following addition to your web.config:

                                                                   

Just before your closing <\configuration> tag.

Thanks to Doug Robar,, Tim Geyssens, Casey Neehouse and Petr Snobelt and the rest of the Umbraco world for such an awesome application and community. For all of the grief that Umbraco is given about documentation being sparse and decentralized - after you spend a couple of weeks in the forums, setting up your Umbraco tag at del.icio.us and, and learning XSLT, those concerns evaporate and you begin to see an unrivaled depth of support, content and community.

This article is part of the GWB Archives. Original Author: Hal Lesesne

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.