Working on developing a smart client application and I am trying to get past
one nasty stumbling block. Hoping someone with previous smart client
deployment experience can steer me in the right direction. My problem is as
follows:
I need to better understand how to have my launcher or stub app load local
versions of a given assembly from the downloaded application cache of the
GAC when the remote web server is offline. I am using the Assembly.LoadFr om
method to load assemblies and have that workng fine when the web server
hosting the assemblies is accessible. However I have not been successful in
getting my application to load/use a local version of the assembly when the
web server is down or stopped. I'm unsure as to what code I should be using
to have load my assemblies directly from the downloaded/application cache of
the GAC. Any help would be appreciated.
Zach Martin 4 2362
GAC == General Average Certificate
You need to reinvent the broom outside your
little facist hegemonic world.
"Zach Martin" <za*********@ve rizon.net> wrote in message
news:uM******** *****@tk2msftng p13.phx.gbl... Working on developing a smart client application and I am trying to get
past one nasty stumbling block. Hoping someone with previous smart client deployment experience can steer me in the right direction. My problem is
as follows:
I need to better understand how to have my launcher or stub app load local versions of a given assembly from the downloaded application cache of the GAC when the remote web server is offline. I am using the
Assembly.LoadFr om method to load assemblies and have that workng fine when the web server hosting the assemblies is accessible. However I have not been successful
in getting my application to load/use a local version of the assembly when
the web server is down or stopped. I'm unsure as to what code I should be
using to have load my assemblies directly from the downloaded/application cache
of the GAC. Any help would be appreciated.
Zach Martin
Hi Zach,
Unfortunately using the download cache as you described is not possible. It
is not meant to be a place where web-deployed applications can be run even
when the server is down. The fact that the download cache exists is really
an implementation detail of fusion rather than a feature to be relied upon.
Your best bet is to follow the example of the "Applicatio n Updater"
component on GotDotNet - explicitly copy all application files to the local
machine and only download from the server to obtain updates to the
application. Otherwise, you are reliant upon the web server being up.
Hope this helps,
Reid [MS]
-------------------- Reply-To: "Zach Martin" <za*********@ve rizon.net> From: "Zach Martin" <za*********@ve rizon.net> Subject: Any smart client gurus?? Date: Thu, 18 Sep 2003 19:34:55 -0400 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <uM************ *@tk2msftngp13. phx.gbl> Newsgroups:
microsoft.publi c.dotnet.framew ork,microsoft.p ublic.dotnet.fr amework.windows f
orms,microsoft. public.dotnet.g eneralNNTP-Posting-Host: pool-141-158-35-93.phil.east.ve rizon.net 141.158.35.93 Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl Xref: cpmsftngxa06.ph x.gbl
microsoft.publi c.dotnet.framew ork.windowsform s:52716
microsoft.publi c.dotnet.genera l:109122
microsoft.publi c.dotnet.framew ork:54149X-Tomcat-NG: microsoft.publi c.dotnet.genera l
Working on developing a smart client application and I am trying to get
pastone nasty stumbling block. Hoping someone with previous smart client deployment experience can steer me in the right direction. My problem is as follows:
I need to better understand how to have my launcher or stub app load local versions of a given assembly from the downloaded application cache of the GAC when the remote web server is offline. I am using the Assembly.LoadFr om method to load assemblies and have that workng fine when the web server hosting the assemblies is accessible. However I have not been successful in getting my application to load/use a local version of the assembly when the web server is down or stopped. I'm unsure as to what code I should be using to have load my assemblies directly from the downloaded/application cache
ofthe GAC. Any help would be appreciated.
Zach Martin
The GAC is NOT the same as the dowloaded application cache. Your assembly
will not be in the GAC unless you installed it there with a setup program
(as opposed to "no-touch deployment"). I don't think you can depend on your
program being available in the downloaded application cache, since the cache
can be cleaned automatically. If you need the executable to be available
when the web server is not, you will probably need to deploy the assemblies
to the client computers, using an MSI or xcopy (as opposed to just launching
from a web page).
"Zach Martin" <za*********@ve rizon.net> wrote in message
news:uM******** *****@tk2msftng p13.phx.gbl... Working on developing a smart client application and I am trying to get
past one nasty stumbling block. Hoping someone with previous smart client deployment experience can steer me in the right direction. My problem is
as follows:
I need to better understand how to have my launcher or stub app load local versions of a given assembly from the downloaded application cache of the GAC when the remote web server is offline. I am using the
Assembly.LoadFr om method to load assemblies and have that workng fine when the web server hosting the assemblies is accessible. However I have not been successful
in getting my application to load/use a local version of the assembly when
the web server is down or stopped. I'm unsure as to what code I should be
using to have load my assemblies directly from the downloaded/application cache
of the GAC. Any help would be appreciated.
Zach Martin
One technique you can use to run the code when the server is offline is to
write code that copies the bits (all assemblies and related files) from the
server to a directory on the local machine. You can then use Load or
LoadFrom using the local directory instead of the remote web server. This
will require your app to have elevated security privileges (to copy the
files), and it will change the security context in which the assemblies
execute from Internet or Intranet zone to LocalComputer (potentially
dangerous as malicious code can execute with more rights).
"Zach Martin" <za*********@ve rizon.net> wrote in message
news:uM******** *****@tk2msftng p13.phx.gbl... Working on developing a smart client application and I am trying to get
past one nasty stumbling block. Hoping someone with previous smart client deployment experience can steer me in the right direction. My problem is
as follows:
I need to better understand how to have my launcher or stub app load local versions of a given assembly from the downloaded application cache of the GAC when the remote web server is offline. I am using the
Assembly.LoadFr om method to load assemblies and have that workng fine when the web server hosting the assemblies is accessible. However I have not been successful
in getting my application to load/use a local version of the assembly when
the web server is down or stopped. I'm unsure as to what code I should be
using to have load my assemblies directly from the downloaded/application cache
of the GAC. Any help would be appreciated.
Zach Martin
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Susan Baker |
last post by:
Hi,
I'm just reading about smart pointers..
I have some existing C code that I would like to provide wrapper classes
for. Specifically, I would like to provide wrappers for two stucts
defined as ff:
typedef struct {
float *data ;
int count ;
|
by: Zach Martin |
last post by:
Working on developing a smart client application and I am trying to get past
one nasty stumbling block. Hoping someone with previous smart client
deployment experience can steer me in the right direction. My problem is as
follows:
I need to better understand how to have my launcher or stub app load local
versions of a given assembly from the downloaded application cache of the
GAC when the remote web server is offline. I am using the...
|
by: Jeff |
last post by:
Please note this is NOT a rant or complaint! And yes, I'm over-simplifying,
but intentionally. Here goes...
With ASP.NET Web applications I like that I can access data from anywhere
without installing anything on the client (but I hate HTML and markup in
general and it's limitations, the request/response model, state management,
etc).
AFAIK, Smart apps or smart clients or whatever we call them are simply
variations of Web applications...
|
by: HM |
last post by:
Hi,
I have an existing web application in ASP/VB which uses OCX controls. I want
to replace them with a Smart client solution, but I do not want to change the
whole application at the first go. First I want to change my Local OCX
control and replace it with a smart client. Is there any way the smart client
can be called form a web application? Also please suggest me a good site
where I can see some examples and build a smart client...
|
by: jack |
last post by:
HI all im have heard little of smart client and wanted to implement it
..
is there any one who could help me with some example or some
explanation of smart client please .
Thanks for replying me.
| |
by: Pieter Coucke |
last post by:
Hi,
What's in general the most performant for a VB.NET Windows Forms (2.0)
application:
- a fat client (everything one the client, the server hosts only the
database)
- a smart client (an application on the client, that communicates with an
application on the server via Webservices/Remoting/..)
I would somehow think a smart client, but would just like to have the
|
by: Jim Langston |
last post by:
Someone made the statement in a newsgroup that most C++ programmers use
smart pointers. His actual phrase was "most of us" but I really don't think
that most C++ programmers use smart pointers, but I just don't know.
I don't like them because I don't trust them. I use new and delete on pure
pointers instead.
Do you use smart pointers?
|
by: Rasheed |
last post by:
We are building a smart client application (.NET 2.0) which uses Web Services
to access the business objects.
Services: The Web Services have been secured by brokered authentication
using X509 certificate along with message level security. (Right now the web
services are consumed only by the smart client application in intranet
environment. However, few services would be exposed as enterprise services in
future. Such services can be...
|
by: Ekart Laszlo |
last post by:
Hi, there
We have currently a Java Applet based solution that we would like to
rewrite to a .NET solution.
The scenario is the following:
1. Starter Client application opens up a web browser window and
makes a HTTP request with a big raw postdata to a remote server.
2. In this web browser window a Java Applet based application shall
start and he will retrieve the posted data and he will work with it.
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |