|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
UserControl on Web Page - can I use dependent assemblies on clientI want to display a UserControl on a web page using an <object> tag. The
control has dependent assemblies that are quite large. These assemblies are installed on the client, but I don't see a way to use them. The dependent assemblies are always download from the web server resulting in intolerable performance. I have tried using an application configuration file, but the Fusion log reports that it won't probe the specified client location because that is outside the appbase. The ideal solution would be to put the UserControl assembly on the client too, but the object codebase will not allow a file:// location.
Show quote
Hide quote
"Craig P" <Cra***@discussions.microsoft.com> wrote in message
news:F58C72D0-5C6E-4335-9A38-C715E8E9E356@microsoft.com: > I want to display a UserControl on a web page using an <object> tag. The > control has dependent assemblies that are quite large. These assemblies are > installed on the client, but I don't see a way to use them. The dependent > assemblies are always download from the web server resulting in intolerable > performance. I have tried using an application configuration file, but the > Fusion log reports that it won't probe the specified client location because > that is outside the appbase. > > The ideal solution would be to put the UserControl assembly on the client > too, but the object codebase will not allow a file:// location. It would be a good idea to look into using ClickOnce to deploy the
dependent assemblies. You could control the deployment from the hosted UserControl using the classes in the System.Deployment.Application namespace. Keep in mind that programmatically controlling ClickOnce deployments requires Full Trust permissions to execute, but you probably already have the permissions if you are hosting a .Net control in an object tag. Bryan Phillips MCSD, MCDBA, MCSE Blog: http://bphillips76.spaces.live.com Show quoteHide quote "Craig P" <Cra***@discussions.microsoft.com> wrote in message news:F58C72D0-5C6E-4335-9A38-C715E8E9E356@microsoft.com: > I want to display a UserControl on a web page using an <object> tag. The > control has dependent assemblies that are quite large. These assemblies are > installed on the client, but I don't see a way to use them. The dependent > assemblies are always download from the web server resulting in intolerable > performance. I have tried using an application configuration file, but the > Fusion log reports that it won't probe the specified client location because > that is outside the appbase. > > The ideal solution would be to put the UserControl assembly on the client > too, but the object codebase will not allow a file:// location.
CASPOL - StrongName trusts not being applied
Thread.CurrentPrincipal only set once CAS and Strong Named EntLib 2.0 Assemblies Any Obfuscator can hide the Key & iv? strong name validation failed problem Trusting a location for Framework 2.x XML files and .Net, digital signatures, WebService Security how to use microsoft application blocks ent lib june 2005 interop assembly requiring full trust Windows File Encryption |
|||||||||||||||||||||||