Wednesday, June 13, 2007

TechEd Session: Deploying Smart Client Architectures

One of my breakout sessions at TechEd last week was ARC304: Deploying Smart Client Architectures.

The talk covered what the options are for deploying both the client and server side artifacts in a smart client architecture, and spent most of the time discussing these things with respect to ClickOnce as a smart client technology. I covered how ClickOnce works at a high level, then dove into what is going on behind the scenes, how the manifests drive the show, what you need to put where in your server side architecture for publishing a smart client, and then what ends up where after deployment on the client side.

One the options side, it really boils down to the following:

  • ClickOnce - best choice for most .NET 2.0 and later smart client apps (or even prior using some tricks outlined in my book), but only affects deploying client side application and components that are not system wide.
  • Updater Application Block - still a good option for automatic or on-demand update of client side (or even server side) components, allows a lot more flexibility in performing custom install steps during the update process, but requires more work to integrate with your application. Also does not address initial deployment in any way.
  • Windows Installer (MSI) - not going anywhere. Still appropriate for heavyweight client side installs that affect system-wide settings or directories, and the primary choice for deploying server side components.

I won't try to summarize all the ClickOnce stuff I covered, that has all been addressed in various previous blog posts on my blog as well as in my book.

Slides and demos here:   Slides   Demos





Wednesday, June 13, 2007 4:25:05 PM (GMT Standard Time, UTC+00:00)
Comments [2]  | 


Friday, June 15, 2007 6:52:04 PM (GMT Standard Time, UTC+00:00)
Hi Brian,

Thanks for the much information you provide us on a regular basis.

I have a problem with deploying an application using ClickOnce. It's a small Windows application that uses Cassini to run a website deployed as part of the same ClickOnce package. It works fine if I double click the executable in the location where ClickOnce deploys the files (or if I create a shortcut to it), but it doesn't work if I run it in the normal way, using the shortcut created by ClickOnce (application reference). The error that I get is that a dll cannot be found, I'm pretty sure that it is about webengine.dll. I found these suggestions on Internet:
- Put the Cassini dll in the bin folder of the web application. Done.
- Put the Cassini dll in gac. Done.
- Put the webengine.dll in the folder(s) where the Cassini dll is. Done.

No luck. It's full trust deployment.

Do you have any idea what is wrong?

Thank you.
With kind regards,
Tom
Tom Romanul
Monday, June 18, 2007 11:13:22 AM (GMT Standard Time, UTC+00:00)
Hi, unfortunately download links don't work.
Thanks.
Leonid Shirmanov
Comments are closed.



















Sign In
Copyright © 2006-2007 Brian Noyes. All rights reserved.
designed by NUKEATION STUDIOS