Re: Forms authentication and Assembly.LoadFrom

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Dans : news:ufnHlj8zIHA.5892@xxxxxxxxxxxxxxxxxxxx,
Fred écrivait :
Hello,

I am trying to load assemblies from a ASP.NET application using
Assembly.LoadFrom with an Url.
I don't use Click Once because it seems not to work with Forms
Authentication.
My problem is that I don't know how to pass the authentication cookie
to the http request made by LoadFrom.
Is there a way to do this ?
Or do you have another idea to make a windows web service client to
update itself automatically with dll stored on the server in a
protected folder ?

So finally, I programmed a set of functions in the web service to compare the versions of the dll stored on the server and the dll stored locally and download the assemblies if necessary. It's even better as I split the files in packets and can display a progression form.
The local app is only a kind of assembly factory which compares, downloads and loads the assemblies in memory before to launch the complete application.

--
Fred
foleide@xxxxxxx

.



Relevant Pages

  • Re: Which referenes being used?
    ... >>> code to load assemblies that aren't used in the code. ... >> included in your project settings (used by the compiler) but aren't ... Appreciate any references you can ...
    (microsoft.public.dotnet.languages.csharp)
  • Latebinded assemblies: strongname verification
    ... I am having a a plugin-framework, where I need to load assemblies (the ... How can I verify the keypair of a loaded assembly? ...
    (microsoft.public.dotnet.languages.csharp)
  • Latebinded assemblies: strongname verification
    ... I am having a a plugin-framework, where I need to load assemblies (the ... How can I verify the keypair of a loaded assembly? ...
    (microsoft.public.dotnet.security)
  • Re: Multifile Assembly Help
    ... >manifest and then load the assembly when required ... Well the runtime will only download and load assemblies when needed ... so you may as well keep using separate assemblies in this case. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Loading assemblies from remote machines
    ... > I want to create a new AppDomain and then load assemblies into the new ... > The assemblies are stored in another machine. ... so you'll have to set CAS to allow code from that specific site to run. ...
    (microsoft.public.dotnet.framework.clr)