Upgrade Wizard: auto-upgrades and more

Posted by: the telerik blogs, on 26 Oct 2009 | View original | Bookmarked: 0 time(s)

Developers (yours truly included) often hate when there is a need to deal with an external tool to accomplish a simple task. The upgrade process of RadControls is such a tedious task you need to start a browser, open the Telerik website, login to your account, navigate to the Downloads section, download the installer and run it. Even more - if you want to keep updated you need to either check your e-mail or refresh the Downloads page when youre eagerly waiting for a new version.

 

One of the new features in the RadControls for ASP.NET AJAX and RadControls for Silverlight installations for the Q3 release is the auto-upgrade capability provided by the Visual Studio Extensions. We added a special webservice in the Telerik website to support that.

One of the aspects of the auto-upgrades is the automatic check for a new available version. The check happens once a day when you open a RadControls Web Application in the Visual Studio IDE. See for yourself:

NewVersionAvailableNotification

 

The other aspect is the retrieval of the actual new version. Once new version availability detected, you need to just provide your Telerik site credentials and you get the assemblies and the accompanying files downloaded and extracted to your hard drive*. Check these screenshots:

UpgradeWizard_DownloadLatestVersion

UpgradeWizard_DownloadLatestVersion_InProgress

 

Once retrieved, the new version is available for an upgrade:

UpgradeWizard_SelectDistribution

Here is important information Id like to stress on: When you finish applying the upgrade, youll change the RadControls distribution the project uses. However, having the Visual Studio Toolbox populated with the RadControls you have installed, if you drag and drop a control to your page, you could accidentally revert the Telerik.Web.UI reference to the older version. The next page in the Upgrade Wizard allows you to prevent such an accident:

UpgradeWizard_UpdateToolbox

And finally, to be able to restore any breaking changes, you can automatically create a backup of your project and get a log:

UpgradeWizard_CreateABackup

UpgradeWizard_UpgradeLog

 

Notes:

  • There are two limitations we havent covered yet:
    In contrast to the installer, the auto-upgrade functionality does not add the Telerik.Web.Design assembly to the GAC. While technically possible, there are several side issues we would need to implement to have the auto-upgrades support the GAC addition.
  • The Visual Studio Extensions do not upgrade themselves for the time being. This is one of the major stuff the VSXTeam will be working in the near future.

 

* The download includes all the files affecting a web project operation assemblies, script/skin files, RadSpell dictionaries, RadEditor dialogs. Documentation, Live Examples and Visual Studio Extensions are not included.

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Visual Studio | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1048 | Hits: 158

Similar Posts

  • Welcome the WebUI Test Studio v2.0! more
  • Visual Studio Extensions for RadControls for Silverlight Coming with Q3 2009 Release more
  • Connecting to SQL Azure with Telerik OpenAccess more
  • An alternative to Crystal more
  • Windows Auto Sign On In Locked Mode more
  • An Overview of Partial Classes and Partial Methods more
  • Just say no to 'Poor Mans Dependency Injection. more
  • AutoTest.NET - AutoSpec for .NET more
  • WebUI Test Studio Release History : Q1 2009 SP1 (version 2009.1.402) more
  • The Trickiest Tips in RadControls for ASP.NET (AJAX) Tests Automation more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD