473,387 Members | 3,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ClickOnce app available online only a good thing?

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

Jan 4 '07 #1
3 7420
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
Jan 4 '07 #2
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]" <ga*********@bluewin.chwrote in message
news:On**************@TK2MSFTNGP03.phx.gbl...
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
Jan 4 '07 #3
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
Jan 5 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Asaf | last post by:
Hi, After publishing my test application using ClickOnce with VS.NET 2005 I am getting these warnings: Warning: Could not download 'ClickOnce.application' from… Warning: Could not download...
11
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
0
by: Magnus Bergh | last post by:
I have some questions about ClickOnce: 1) If I want to run a Clickonce published application from another program (not .NET) how should I run it, calling the application manifest file? 2) Is...
0
by: kovac | last post by:
By ClickOnce technologie, we have two types for the availability selection: - The application is available online only - The application is available offline as well If I select first...
8
by: Tina | last post by:
While ASP.Net is migrating toward more robust presentation by using things like AJAX I am wondering if ClickOnce will errode a lot of ASP.Net presence in Corporate Applications. I've been reading...
2
by: Michael D. Reed | last post by:
I am using ClickOnce to distribute a program. It works well except for one detail. When a new version is installed, the program does not initialize properly immediately after the update. The...
0
by: Sergio Montero | last post by:
Hi, I've been googling for a while trying to figure out how to solve this problem, pleasy, I'll appreciate any sugestions. I have a Winforms App that should work Online and Offline. Online...
0
by: Sergio Montero | last post by:
Hi, I've been googling for a while trying to figure out how to solve this problem, pleasy, I'll appreciate any sugestions. I have a Winforms App that should work Online and Offline. Online...
6
by: =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post by:
Here is my problem. I have an app that has over 9 web services. For years I had not issues with clickonce but now it looks like the build is missing XmlSerializers.dll.deploy. I did have this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.