Wednesday, November 30, 2005

Demos from ClickOnce MSDN Webcast

For those who attended or are interested, here are the demos from my MSDN Webcast on ClickOnce yesterday.

You can find the webcast link for on-demand viewing here.

For the demo that went awry demonstrating on-demand updates, the little mistake I made was that I said that if you turn off automatic updates (Check for updates option at top of Updates dialog), then you need to put in an Update location, which is true. But what I was doing was fully qualifying the path to the deployment manifest, which is incorrect. What you need to put is just the URL to the root folder where the deployment manifest resides. VS will automatically append the deployment manifest file name. So when I was putting in:

http://localhost/ClickOnceOnDemand/ClickOnceOnDemand.application

I should have just been putting

http://localhost/ClickOnceOnDemand/

Another little tidbit I didn't mention is that you will need Full Trust for on-demand updates, which is unfortunate because it means the app has to request full trust even though it may not be doing anything privileged beyond on-demand updates.





Friday, December 02, 2005 1:52:18 PM (GMT Standard Time, UTC+00:00)
Brian,

Have you any thoughts on deploying ClickOnce apps in a Citrix Farm environment. Lets say there are 1000 users accessing 50 citrix servers. How would you deal with multiple users trying to download on one machine. Can we get away with just one download per cirtix box and not 1 per user profile? Any ideas would be a great help.
Eric
Friday, December 02, 2005 2:02:23 PM (GMT Standard Time, UTC+00:00)
As I understand it, Citrix works like Terminal Services, in that when a user logs in through Citrix, they are logging in using a profile on the Citrix server as if they logged in locally to that box. If that is not correct, I apologize. Let me know how it does work from the perspective of the Citrix server.

If that is the case, then having them launch a ClickOnce app while logged in through Citrix means the app would be deployed to their local profile on the Citrix server, and yes you get one per server per user.

There is no way through the ClickOnce mechanisms to avoid this. Keep in mind that .NET apps are typically very small, on the order of a couple of megs for a fairly large application with no resources. If the app will have large resources like images, local databases, etc., then you may have a storage problem.
Brian
Friday, December 02, 2005 2:10:30 PM (GMT Standard Time, UTC+00:00)
Thanks for a quick response Brian.

You are absolutely correct about Citrix and user profiles. Currently we use N0-Touch deployment in this environment and we download each user's application files to a separate "user" server where each user has a folder mapping. This avoids the same user to have downloaded the files on more than 1 machine.

Thanks again...
Eric
Thursday, March 09, 2006 8:56:13 PM (GMT Standard Time, UTC+00:00)
Hi Brian,

I am having trouble with the NorthwindDataApp demo. When I click on the button to update the application I get a security permission error. to clear this error I modified the security permissions to 'allow calls to unmanaged assemblies'. It's now throwing an error indicating that a security policy demand has not been satisfied. It looks like you have to be running in full trust mode in order to check if an update is available. Tell me this isn't so... I don't wish to deploy my application in full trust.

Thanks

Comments are closed.



















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