我可以使用asp.net访问用户计算机上的全局程序集缓存吗? [英] Can I access global assembly cache on user machine with asp.net?

查看:57
本文介绍了我可以使用asp.net访问用户计算机上的全局程序集缓存吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




是否可以从

asp.net网页访问用户机器上的全局程序集缓存。

用户将下载组件,它将安装在gac中。当他打开

网页时,我需要将控件从该组件添加到页面。

我可以在网络表格中托管胜利控制,但必须在服务器上,并且不是



请求帮助


budhA

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

推荐答案

我不知道从哪里开始。首先,我很想知道你打算如何从网页上将

a .Net DLL安装到用户的GAC中,而无需任何可执行文件。

客户端(除了浏览器,肯定不会这样做)。其次,

我很想知道HTML文档(这是一个ASPX页面在

客户端上)将如何加载程序集。 />

我认为现在是时候退一步看看你的要求,因为这个

解决方案不起作用。也许如果您解释您的业务

要求,我们可以建议一些可行的解决方案。 IOW,这个应用程序应该为您的用户提供什么

服务/功能?


-

HTH,


Kevin Spencer

Microsoft MVP

..Net开发人员

跟随者和贷款人都不是。


" budhA" < BU *** @ fly.srk.fer.hr>在消息中写道

news:cs ********** @ bagan.srce.hr ...
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...

是否可以从用户的asp.net网页访问用户机器上的全局程序集缓存。
用户将下载程序集,将安装在gac中。当他打开时
网页我需要将控件从该程序集添加到页面。
我可以在Web表单中托管win控件,但它必须在服务器上,并且它不是
它。请帮助

budhA
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



OK

我们有一个应用程序代表城市的地图。用户可以找到一条街,

找到2个点之间的路径等。

我们想要将该应用程序下载给用户,当他在他的页面中加载我们的页面时/>
网络浏览器应用程序来自用户机器的负载,应该位于

web表单内。我们的想法是通过对象

标记(在网络表单中托管一个控制)将app(类)加载到Web表单中。我必须使用classid引用该类(.dll)

(例如classid =

" http://loacalhost/WebApp/class.dll#class.MyClass )。

因为那个.dll文件应该在用户的机器上,我不知道如何使用classid访问




希望你明白。

顺便帮我吧。
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.


好的,还有一点可以继续,谢谢。


你最好的选择是不要让浏览器下载任何东西。如果确实如此,那么你需要在浏览器中托管.Net Windows表单。但是,如果你看看各种各样的地图服务(MapPoint和MapQuest来想念),你会注意到它们不需要任何软件而不是

浏览器。实际上没有必要在客户端上安装一个胖客户机。你可能想尝试一下。


-

HTH,


Kevin Spencer
Microsoft MVP

..Net开发人员

跟随者和贷款人都不是。


" budhA" ; < BU *** @ fly.srk.fer.hr>在消息中写道

新闻:cs ********** @ bagan.srce.hr ...
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...
确定
我们有一个应用程序代表城市的地图。用户可以找到一条街道,找到两个点之间的路径等。
我们想要将该应用程序下载给用户,当他在他的
网络浏览器应用程序中加载我们的页面时,请从用户的机器应该位于
网页表格内。我们的想法是通过对象
标记(在Web表单中托管一个控制)将app(类)加载到Web表单中。我必须使用classid引用该类(.dll)
(例如classid =
" http://loacalhost/WebApp/class.dll#class.MyClass)。
从那以后.dll文件应该放在用户的机器上我不知道如何使用classid访问它。

希望你明白。
顺便帮助我。
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.



这篇关于我可以使用asp.net访问用户计算机上的全局程序集缓存吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆