473,473 Members | 1,953 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Executing assemblies in the GAC

Hi,

Once an assembly has been downloaded into the GAC, is it possible to
execute it locally somehow? e.g. if I download an exe into the GAC,
can the client PC simply run this assembly directly, rather than going
back to the URL that it downloaded the assembly from?

Additionally, is there a way to execute local assemblies on startup?

Thanks in advance,

Yoni.
Nov 15 '05 #1
4 1406
Are you using no touch deployment (aka href exe's) or are you actually
deploying your assemblies into the GAC. Then using no touch deployment, the
assemblies are not stored locally in the GAC, but in an Assembly Cache.

The location of these locally stored assemblies (either in the GAC or AC)
are known, but I don't thik it's a good idea to directly call them using
these locations. Although there is a way to use the local cache for the no
touch deployment assemblies. Please explain your situation a little bit
more...
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Yoni Gibbs" <yo*******@spamhole.com> wrote in message
news:1c**************************@posting.google.c om...
Hi,

Once an assembly has been downloaded into the GAC, is it possible to
execute it locally somehow? e.g. if I download an exe into the GAC,
can the client PC simply run this assembly directly, rather than going
back to the URL that it downloaded the assembly from?

Additionally, is there a way to execute local assemblies on startup?

Thanks in advance,

Yoni.

Nov 15 '05 #2
Hi,

Basically we're going to be creating a control that will be used in
two ways: occassional users will access a web front end and download
the user control whenever they first access a particular page. It
will be downloaded into the GAC and used from within the IE page, just
like an ActiveX control. But there will also be heavy users of the
system who will be using the control hosted inside another executable,
locally. However, we don't people to actually have to install this
executable. We'd like the executable to be downloaded using no touch
deployment. So, once the executable has been downloaded into the GAC
using no touch deployment, how does the regular system user actually
execute this executable later on, other than through a shortcut which
points at the original URL where they downloaded it?

Also, we need some sort of executable which constantly runs in the
background (e.g. to remember the client's sessions state, so that they
don't need to log in more than once) - is there a way to get
assemblies to load on system startup? Is this possible with
assemblies in the GAC?

I hope this clarifies things.

Cheers,

Yoni.
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message news:<uC*************@TK2MSFTNGP10.phx.gbl>...
Are you using no touch deployment (aka href exe's) or are you actually
deploying your assemblies into the GAC. Then using no touch deployment, the
assemblies are not stored locally in the GAC, but in an Assembly Cache.

The location of these locally stored assemblies (either in the GAC or AC)
are known, but I don't thik it's a good idea to directly call them using
these locations. Although there is a way to use the local cache for the no
touch deployment assemblies. Please explain your situation a little bit
more...
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Yoni Gibbs" <yo*******@spamhole.com> wrote in message
news:1c**************************@posting.google.c om...
Hi,

Once an assembly has been downloaded into the GAC, is it possible to
execute it locally somehow? e.g. if I download an exe into the GAC,
can the client PC simply run this assembly directly, rather than going
back to the URL that it downloaded the assembly from?

Additionally, is there a way to execute local assemblies on startup?

Thanks in advance,

Yoni.

Nov 15 '05 #3
See answer inline...

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Yoni Gibbs" <yo*******@spamhole.com> schreef in bericht
news:1c**************************@posting.google.c om...
Hi,

Basically we're going to be creating a control that will be used in
two ways: occassional users will access a web front end and download
the user control whenever they first access a particular page. It
will be downloaded into the GAC and used from within the IE page, just
like an ActiveX control. But there will also be heavy users of the
system who will be using the control hosted inside another executable,
locally. However, we don't people to actually have to install this
executable. We'd like the executable to be downloaded using no touch
deployment. So, once the executable has been downloaded into the GAC
using no touch deployment, how does the regular system user actually
execute this executable later on, other than through a shortcut which
points at the original URL where they downloaded it?
I don't think it's possible to download an assembly to the GAC by using no
touch deployment... propably you mean the download assembly cache? You can
execute it by navigating to the original url and by setting the "Work
offline" setting in Internet Explorer. By doing so the exe won't be
downloaded.
Also, we need some sort of executable which constantly runs in the
background (e.g. to remember the client's sessions state, so that they
don't need to log in more than once) - is there a way to get
assemblies to load on system startup? Is this possible with
assemblies in the GAC?
You could put a shortcut in the start menu. A nicer solution would be
creating a windows service which would start up when your system boots.
I hope this clarifies things.

Cheers,

Yoni.
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message

news:<uC*************@TK2MSFTNGP10.phx.gbl>...
Are you using no touch deployment (aka href exe's) or are you actually
deploying your assemblies into the GAC. Then using no touch deployment, the assemblies are not stored locally in the GAC, but in an Assembly Cache.

The location of these locally stored assemblies (either in the GAC or AC) are known, but I don't thik it's a good idea to directly call them using
these locations. Although there is a way to use the local cache for the no touch deployment assemblies. Please explain your situation a little bit
more...
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Yoni Gibbs" <yo*******@spamhole.com> wrote in message
news:1c**************************@posting.google.c om...
Hi,

Once an assembly has been downloaded into the GAC, is it possible to
execute it locally somehow? e.g. if I download an exe into the GAC,
can the client PC simply run this assembly directly, rather than going
back to the URL that it downloaded the assembly from?

Additionally, is there a way to execute local assemblies on startup?

Thanks in advance,

Yoni.

Nov 15 '05 #4
Thanks Jan. Yup, I did mean the "download assembly cache" - sorry, my
mistake. I think you were confirming what we thought, which is that
in order to execute the downloaded assemblies, you have to direct the
user to the URL from where the assembly was originally downloaded.

For the NT service - yup, I agree this would be nice. But we'd like,
if possible, to avoid any sort of client-side installation, so that
our solution would be easier to deploy to lots of clients, so I think
we might have to stick with the shortcut in the Start menu.

Thanks again for your help.

Cheers,

Yoni.
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message news:<eO**************@TK2MSFTNGP10.phx.gbl>...
See answer inline...

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Yoni Gibbs" <yo*******@spamhole.com> schreef in bericht
news:1c**************************@posting.google.c om...
Hi,

Basically we're going to be creating a control that will be used in
two ways: occassional users will access a web front end and download
the user control whenever they first access a particular page. It
will be downloaded into the GAC and used from within the IE page, just
like an ActiveX control. But there will also be heavy users of the
system who will be using the control hosted inside another executable,
locally. However, we don't people to actually have to install this
executable. We'd like the executable to be downloaded using no touch
deployment. So, once the executable has been downloaded into the GAC
using no touch deployment, how does the regular system user actually
execute this executable later on, other than through a shortcut which
points at the original URL where they downloaded it?


I don't think it's possible to download an assembly to the GAC by using no
touch deployment... propably you mean the download assembly cache? You can
execute it by navigating to the original url and by setting the "Work
offline" setting in Internet Explorer. By doing so the exe won't be
downloaded.
Also, we need some sort of executable which constantly runs in the
background (e.g. to remember the client's sessions state, so that they
don't need to log in more than once) - is there a way to get
assemblies to load on system startup? Is this possible with
assemblies in the GAC?


You could put a shortcut in the start menu. A nicer solution would be
creating a windows service which would start up when your system boots.
I hope this clarifies things.

Cheers,

Yoni.
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message

news:<uC*************@TK2MSFTNGP10.phx.gbl>...
Are you using no touch deployment (aka href exe's) or are you actually
deploying your assemblies into the GAC. Then using no touch deployment, the assemblies are not stored locally in the GAC, but in an Assembly Cache.

The location of these locally stored assemblies (either in the GAC or AC) are known, but I don't thik it's a good idea to directly call them using
these locations. Although there is a way to use the local cache for the no touch deployment assemblies. Please explain your situation a little bit
more...
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Yoni Gibbs" <yo*******@spamhole.com> wrote in message
news:1c**************************@posting.google.c om...
> Hi,
>
> Once an assembly has been downloaded into the GAC, is it possible to
> execute it locally somehow? e.g. if I download an exe into the GAC,
> can the client PC simply run this assembly directly, rather than going
> back to the URL that it downloaded the assembly from?
>
> Additionally, is there a way to execute local assemblies on startup?
>
> Thanks in advance,
>
> Yoni.

Nov 15 '05 #5

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

Similar topics

0
by: Jon Brunson | last post by:
I've got a class in a plugin (loaded at run-time) with a Property of type Control. This Control is added to a Panel at run-time when a Form loads. Later on, when the "serial port data received"...
6
by: Tom Dacon | last post by:
If you're not putting assemblies in the GAC, but are referencing shared code with copylocal=true into the projects that use them, is there any value to signing the assemblies? In the environment...
1
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while...
1
by: new1s.on.sympatico.ca | last post by:
Hey There! Any one have any ideas on how to prevent the DOS window from appearing when executing an Output Assembly (exe) generated using CodeDom? Thanks, Roland
1
by: Thomas | last post by:
Hi, I want to get the name of the web application dll from within several library external assemblies deep. How do I do that? The assemblies runs outside the web application too - so I can't use...
8
by: Charles Law | last post by:
I'm sorry to keep harping on about this one, but it is really quite important for me to be able to list _all_ required assemblies in my Help About box. Herfried kindly posted some code before that...
3
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source...
5
by: Jose Cintron | last post by:
I created a pretty basic program based on the "Windows Forms Application" template using C++ in VS 2005. When I run the program from my local system it runs properly (do happy dance), now when I...
29
by: =?Utf-8?B?SGVybWF3aWg=?= | last post by:
Hello, Please anybody help me. I have only a little experience with web development. I created simple project using ASP NET 2.0 (VS 2005) It works fine on local computer. When I tried to run...
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...
0
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...
0
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,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.