Re: referenced dlls
From: DJA (dja_at_progressive.dk)
Date: 01/24/05
- Next message: Ivan Pololi: "IRowConsumer webpart runat client"
- Previous message: Kit Kai: "Re: Disabling IE Specific Menus in Sharepoint."
- In reply to: Noble Lesmana: "RE: referenced dlls"
- Messages sorted by: [ date ] [ thread ]
Date: 24 Jan 2005 07:01:42 -0800
Indeed all assemblies in the "code calling chain" must have the
permissions needed. So if the assembly you call from your webpart
assembly needs to call a webservice, the called assembly as well as
your webpart assembly must have the WebPermission.
Strong name all your assemblies with the same public key and grant them
permissions using their common PublicKeyBlop.
What is also important is that if your webpart assembly is not granted
full trust it will only be able to call assemblies which have the
[assembly: AllowPartiallyTrustedCallers] attribute set. So you need to
set this attribute in the assemblyInfo file of the assmeblies your
webpart assembly calls.
- Next message: Ivan Pololi: "IRowConsumer webpart runat client"
- Previous message: Kit Kai: "Re: Disabling IE Specific Menus in Sharepoint."
- In reply to: Noble Lesmana: "RE: referenced dlls"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|