473,665 Members | 2,820 Online
Bytes | Software Development & Data Engineering Community
+ 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 1424
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*******@spam hole.com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
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.pl ease.leadit.be> wrote in message news:<uC******* ******@TK2MSFTN GP10.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*******@spam hole.com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
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*******@spam hole.com> schreef in bericht
news:1c******** *************** ***@posting.goo gle.com...
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.pl ease.leadit.be> wrote in message

news:<uC******* ******@TK2MSFTN GP10.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*******@spam hole.com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
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.pl ease.leadit.be> wrote in message news:<eO******* *******@TK2MSFT NGP10.phx.gbl>. ..
See answer inline...

--
Greetz,
Jan
_______________ _______________ ____
Read my weblog: http://weblogs.asp.net/jan
"Yoni Gibbs" <yo*******@spam hole.com> schreef in bericht
news:1c******** *************** ***@posting.goo gle.com...
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.pl ease.leadit.be> wrote in message

news:<uC******* ******@TK2MSFTN GP10.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*******@spam hole.com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
> 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
1102
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" Event gets fired, I cannot access the Control property at all, so set it's text equal to te data received. There's no error, the code just stop executing on the line Control.Text = e.Data. I've tried Invoking a method, thinking it could be...
6
1710
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 I've just begun to work in, there are customer-facing web sites, internally-accessed maintenance and admin web sites, middle-tier business logic assemblies, services, and Windows Forms apps that run on the middle-tier. The policy is to sign the...
1
6929
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 compiling the Max.UI.Win project with the following error Satellite assemblies could not be built because the main project output is missing.
1
2049
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
979
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 HttpContext. Much like the old VB 6.0 App.ExeName. - Thomas
8
1770
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 lists _loaded_ assemblies and their version, but I have one assembly that is not loaded until the user has done something quite specific in the program, and I need to list this one too. Other applications seem to manage it, so I wonder how it can...
3
2072
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 depot. Although they are different, in some of them we share C# code by referencing source files that are external (not part of the projects) on each project. For instance, some of our projects have the typical “sources” file with:
5
7461
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 copy the same program to a network share (I have a drive mapped to it) and execute the same program I get an error message that reads === Start Error Pop-up Window === Reporter.exe has encountered a problem and needs to close. We are sorry for...
29
2478
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 the application on the web, it give me an error about net framework version information.
0
8438
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8863
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8779
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8549
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,...
0
8636
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7376
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 projectplanning, coding, testing, and deploymentwithout 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...
1
6187
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5660
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4186
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.