PC Review


Reply
Thread Tools Rate Thread

ClickOnce app available online only a good thing?

 
 
Ronald S. Cook
Guest
Posts: n/a
 
      4th Jan 2007
I have a Windows app that I will be deploying using ClickOnce. If I choose
to allow it to be used online and offline, it will create a Start menu item
and add it to add/remove programs. But, I don't really care about that.
Also, the client PC will have to be connected to the network in order to get
at the data, otherwise the app is useless.

So, if I choose to make it available when online only, does it still install
program files to the client hard drive (just hidden)? It doesn't possibly
download all program files into memory each time and then clear our when
closed does it? That would be a performance issue if it was true.

Thanks,
Ron

 
Reply With Quote
 
 
 
 
Laurent Bugnion [MVP]
Guest
Posts: n/a
 
      4th Jan 2007
Hi,

Ronald S. Cook wrote:
> I have a Windows app that I will be deploying using ClickOnce. If I
> choose to allow it to be used online and offline, it will create a Start
> menu item and add it to add/remove programs. But, I don't really care
> about that. Also, the client PC will have to be connected to the network
> in order to get at the data, otherwise the app is useless.
>
> So, if I choose to make it available when online only, does it still
> install program files to the client hard drive (just hidden)? It
> doesn't possibly download all program files into memory each time and
> then clear our when closed does it? That would be a performance issue
> if it was true.
>
> Thanks,
> Ron


A ClickOnce application available online only is cached. When the cache
expires, the files are deleted. The next time the user connects, they
are redownloaded. An offline application is not cached, it's copied, it
doesn't expire. But it leaves traces on the client computer. Depending
on your use case, you may choose one scenario or the other.

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
 
Reply With Quote
 
Ronald S. Cook
Guest
Posts: n/a
 
      4th Jan 2007
Thanks. We were hoping to pass parameters via querystring, which we could
do in an online only app, but our app will be large in size so downloading
each time (for an app that's used all day every day) isn't a good option for
us. -thx


"Laurent Bugnion [MVP]" <galasoft-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Ronald S. Cook wrote:
>> I have a Windows app that I will be deploying using ClickOnce. If I
>> choose to allow it to be used online and offline, it will create a Start
>> menu item and add it to add/remove programs. But, I don't really care
>> about that. Also, the client PC will have to be connected to the network
>> in order to get at the data, otherwise the app is useless.
>>
>> So, if I choose to make it available when online only, does it still
>> install program files to the client hard drive (just hidden)? It doesn't
>> possibly download all program files into memory each time and then clear
>> our when closed does it? That would be a performance issue if it was
>> true.
>>
>> Thanks,
>> Ron

>
> A ClickOnce application available online only is cached. When the cache
> expires, the files are deleted. The next time the user connects, they are
> redownloaded. An offline application is not cached, it's copied, it
> doesn't expire. But it leaves traces on the client computer. Depending on
> your use case, you may choose one scenario or the other.
>
> HTH,
> Laurent
> --
> Laurent Bugnion [MVP ASP.NET]
> Software engineering: http://www.galasoft-LB.ch
> PhotoAlbum: http://www.galasoft-LB.ch/pictures
> Support children in Calcutta: http://www.calcutta-espoir.ch


 
Reply With Quote
 
Laurent Bugnion [MVP]
Guest
Posts: n/a
 
      5th Jan 2007
Hi,

Ronald S. Cook wrote:
> Thanks. We were hoping to pass parameters via querystring, which we
> could do in an online only app, but our app will be large in size so
> downloading each time (for an app that's used all day every day) isn't a
> good option for us. -thx


If the application is used every day, I think it will still be available
in the cache. I wouldn't dismiss that option right away, try and do a
few tests first maybe.

Also, if your application is very big, check ClickOnce on demand:
http://scorbs.com/2006/06/28/xbaps-ondemand-clickonce/

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ClickOnce - making windows application to be available online and offline maya Microsoft Dot NET Framework 6 8th May 2006 06:09 PM
REQ: Online Diary thing? Anthony Deane Freeware 3 18th May 2005 12:07 PM
SP2 Bad thing or Good? =?Utf-8?B?S2VuIChkb3RuZXRAa2VubG9ja2UuY29tKQ==?= Windows XP General 12 26th Feb 2005 03:45 AM
What Is the First Thing To Do Online Don Trieschman Windows XP New Users 16 21st Feb 2005 06:47 AM
Any online demos of ClickOnce ? A Mackie Microsoft Dot NET Framework Forms 1 3rd Feb 2005 02:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:18 PM.