473,384 Members | 1,854 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,384 software developers and data experts.

Can I access global assembly cache on user machine with asp.net?

Hi,

Is it possible to access global assembly cache on user's machine from
asp.net web page.
The user will download assembly, wich will be installed in gac.When he opens
the web page I need to add control from that assembly to a page.
I can host win control in web form but it must be on server and that's not
it.
Pleas help

budhA
Nov 19 '05 #1
11 1299
I don't know where to start. First, I'd love to know how you plan to install
a .Net DLL into the user's GAC from a web page, without any executable on
the client (other than a browser, which certainly WON'T do it). Secondly,
I'd love to see how an HTML document (which is what an ASPX page is on the
client) is going to load an assembly.

I think it's time to step back and take a look at your requirements, as this
solution is NOT going to work. Perhaps if you explain your business
requirements, we can suggest some workable solutions. IOW, what
service/functionality is this app supposed to provide for your user?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"budhA" <bu***@fly.srk.fer.hr> wrote in message
news:cs**********@bagan.srce.hr...
Hi,

Is it possible to access global assembly cache on user's machine from
asp.net web page.
The user will download assembly, wich will be installed in gac.When he
opens
the web page I need to add control from that assembly to a page.
I can host win control in web form but it must be on server and that's not
it.
Pleas help

budhA

Nov 19 '05 #2
O.K.
We have an app that represents the map of a city. User can find a street,
find a path between 2 spots, etc.
We want to download that app to the user and when he loads our page in his
web browser app shuld load from user's machine and should be located inside
web form. The idea is to load app(class) into web form via object
tag(hosting a conctrol in web form). I have to reference that class(.dll)
with classid (for example classid =
"http://loacalhost/WebApp/class.dll#class.MyClass).
Since that .dll file shoud be on user's machine I don't know how to access
it with classid.

Hope U understood.
btw thnx for helping me.
Nov 19 '05 #3
Ok, that's a little more to go on, thanks.

Your best bet is NOT to have the browser download anything. If it does,
you're looking at hosting a .Net Windows form in a browser. However, if you
look at the various mapping services out there (MapPoint and MapQuest come
to mind), you'll notice that neither requires any software other than a
browser. It's really not necessary to put a thick client on the client
machine. You might want to try it their way.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"budhA" <bu***@fly.srk.fer.hr> wrote in message
news:cs**********@bagan.srce.hr...
O.K.
We have an app that represents the map of a city. User can find a street,
find a path between 2 spots, etc.
We want to download that app to the user and when he loads our page in his
web browser app shuld load from user's machine and should be located
inside
web form. The idea is to load app(class) into web form via object
tag(hosting a conctrol in web form). I have to reference that class(.dll)
with classid (for example classid =
"http://loacalhost/WebApp/class.dll#class.MyClass).
Since that .dll file shoud be on user's machine I don't know how to access
it with classid.

Hope U understood.
btw thnx for helping me.

Nov 19 '05 #4
> Your best bet is NOT to have the browser download anything. If it does,
you're looking at hosting a .Net Windows form in a browser.
But taht's the way it has to be :(
We would like to have (host) an application (.Net Windows Form) on the
client
machine so he wouldn't have to download it each time he opens teh page.
That's the idea.
However, if you look at the various mapping services out there (MapPoint and MapQuest come to mind), you'll notice that neither requires any software other than a
browser. It's really not necessary to put a thick client on the client
machine. You might want to try it their way.

Nov 19 '05 #5
And where is this Windows Form supposed to get all of that mapping data?
You're talking about a multi-gigabyte download there. Have you ever seen the
installation CDs for MapPoint? There are 2 of them, and they both contain
compressed data. Might have something to so with why these online mapping
apps don't have a thick client...

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"budhA" <bu***@fly.srk.fer.hr> wrote in message
news:cs**********@bagan.srce.hr...
Your best bet is NOT to have the browser download anything. If it does,
you're looking at hosting a .Net Windows form in a browser.


But taht's the way it has to be :(
We would like to have (host) an application (.Net Windows Form) on the
client
machine so he wouldn't have to download it each time he opens teh page.
That's the idea.
However, if you look at the various mapping services out there (MapPoint

and MapQuest come
to mind), you'll notice that neither requires any software other than a
browser. It's really not necessary to put a thick client on the client
machine. You might want to try it their way.


Nov 19 '05 #6
> And where is this Windows Form supposed to get all of that mapping data?

Mapping dada would be on a server

But the question was can I do that and how?

Thnx.
Nov 19 '05 #7
While it is possible to do this, a better question is should you do this.
No, you shouldn't. This will most likely require a lot of hacks and ugly,
ugly code. Not to mention some potentialy serious security holes that will
probably be opened doing things this way. Also, any user who understands and
cares about security will probably not want to install the activex control
needed and you will drive them to a competitor's product.
Nov 19 '05 #8
hmh... good point
Thnx
Nov 19 '05 #9
Okay, your data is on a server. Why then do you need a thick client?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"budhA" <bu***@fly.srk.fer.hr> wrote in message
news:cs**********@bagan.srce.hr...
And where is this Windows Form supposed to get all of that mapping data?


Mapping dada would be on a server

But the question was can I do that and how?

Thnx.

Nov 19 '05 #10
> Okay, your data is on a server. Why then do you need a thick client?

The app on user's machine would process the data from the server and draw
map.
Data from the server would be about 30 kB at most each time user zooms or do
something else what would request drawing of a map(or a part of it).
That way communication betwen user and a server would be minimal(concidering
data amount send from server).
Nov 19 '05 #11
Well, miro, I have to disagree with your basic architecture, but that's not
what you asked for. You asked how to do it. See the following article:

http://aspnet.4guysfromrolla.com/articles/052604-1.aspx

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"miro" <mi**@miro.mr> wrote in message news:cs**********@bagan.srce.hr...
Okay, your data is on a server. Why then do you need a thick client?


The app on user's machine would process the data from the server and draw
map.
Data from the server would be about 30 kB at most each time user zooms or
do something else what would request drawing of a map(or a part of it).
That way communication betwen user and a server would be
minimal(concidering data amount send from server).

Nov 19 '05 #12

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

Similar topics

3
by: DDE | last post by:
Hi everybody, I developed an assembly common to all my Web Services, so I registered it and put it in the Global Assembly Cache. Now, I modified this assembly, but cannot succed to have this new...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
3
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that...
1
by: Ray | last post by:
Dear all, Now, I am using Global Assembly Cache to share assembly between server and clients. However, it seems that the server and clients use individual Global Assembly Cache. For example, the...
2
by: ctk70 | last post by:
When I try to run an ASP.NET 2.0 application on my Windows 2000 SP4 computer with IIS 5.0 installed, I receive the following message: Failed to execute the request because the ASP.NET process...
5
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all...
4
by: =?Utf-8?B?SmFu?= | last post by:
I have a .NET 2.0 application divided in two assemblies; the exe and a dll. The application generates a plugin-dll which is then loaded in a separate AppDomain (along with a second instance of my...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.