473,564 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7443
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*********@bl uewin.chwrote in message
news:On******** ******@TK2MSFTN GP03.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
4542
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 'ClickOnce_1_0_0_3.application' from… Warning: Could not download 'ClickOnce_1_0_0_3/ClickOnce.exe.config.deploy' from… Warning: Could not...
11
14642
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 application folder was set to 'Allow scripts only', I get an error: Failed to connect to 'http://192.168.0.5/TransAct/' with the following error:
0
1045
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 it possible to manually edit .config files for the published application. For example I want to change the datasource name I have in app.config.
0
1076
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 possibility, I can start the application only over IE, but I can find her also on my PC and start it also offline! The application is at the following place...
8
1803
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 a lot about ClickOnce and it seems compelling particularily since Vista will have the .Net framework included along with the other requirements for...
2
2527
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 sequence is the user starts the program, is informed a new version is ready, installs it, when it is complete and the main form is displayed, the user...
0
1381
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 Mode. Is the default mode and occurs when the App have an Internet connection. In this mode the App connects to a SQL Server 2005 database using a XML...
0
1818
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 Mode. Is the default mode and occurs when the App have an Internet connection. In this mode the App connects to a SQL Server 2005 database using a XML...
6
10946
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 issue once in vs 2005 and one the problem just went away. Well now its back. If I build the app 20 times it may work once. I did find that if I...
0
7665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.