May be i am wrong but i think that you do not need to Download the assembly with a downloader before loading it with Assembly.Load. Well, when i noticed that the assembly must be in the project folder, i had some doubt that the loader is getting the assembly
directly from the project directory and not because it was downloaded. I tried to test that in a new project where i putted my DLL in the project directory then i tried to load it directly with Assembly.Load and i added it to the main Canvas and this work
fine.
I'm affraid that what i said is wrong because in all the article and codes (including Pete and Damoxc codes) i found that the loading is done after downloading the DLL, so could you check out please.
I'm not quite sure I understand what you're saying.
If you mean that an assembly can be downloaded and used without using the downloader object, I assume in that instance, you had a reference to it at compile time and/or you didn't clear your browser cache. If not, I will test this in my own code and see
what happens, however I don't believe anything useful happens without using the downloader to first snag the DLL.
Pete
Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
I was looking for clarification as to what you were saying. I take it my assumption was correct?
Pete
Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Sorry all for the dup posts. Sometimes the editor chokes and hitting the spacebar in between words causes a post, while still letting you continue typing. Nasty stuff that.
Anyway, Assem, you are totally correct. Calling Assembly.Load() is sufficient to get the DLLs from the server to the client. Thanks for bringing that up here.
Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Psychlist1972
Contributor
6802 Points
1079 Posts
Microsoft
Moderator
Re: Re: Using Downloader to load a packaged XAML
Nov 16, 2007 08:13 PM | LINK
I'm not quite sure I understand what you're saying.
If you mean that an assembly can be downloaded and used without using the downloader object, I assume in that instance, you had a reference to it at compile time and/or you didn't clear your browser cache. If not, I will test this in my own code and see what happens, however I don't believe anything useful happens without using the downloader to first snag the DLL.
Pete
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
bayahi
Member
22 Points
12 Posts
Re: Re: Using Downloader to load a packaged XAML
Nov 18, 2007 07:30 PM | LINK
hi, so Pete did you check out ?
thanks,
Psychlist1972
Contributor
6802 Points
1079 Posts
Microsoft
Moderator
Re: Re: Using Downloader to load a packaged XAML
Nov 19, 2007 12:36 AM | LINK
I was looking for clarification as to what you were saying. I take it my assumption was correct?
Pete
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Psychlist1972
Contributor
6802 Points
1079 Posts
Microsoft
Moderator
Re: Re: Using Downloader to load a packaged XAML
Nov 19, 2007 01:03 AM | LINK
(dup post - editor choked)
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Psychlist1972
Contributor
6802 Points
1079 Posts
Microsoft
Moderator
Re: Re: Using Downloader to load a packaged XAML
Nov 19, 2007 01:03 AM | LINK
(dup post - editor choked)
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Psychlist1972
Contributor
6802 Points
1079 Posts
Microsoft
Moderator
Re: Re: Using Downloader to load a packaged XAML
Nov 19, 2007 01:03 AM | LINK
(dup post - editor choked)
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.
Psychlist1972
Contributor
6802 Points
1079 Posts
Microsoft
Moderator
Re: Re: Using Downloader to load a packaged XAML
Nov 19, 2007 01:03 AM | LINK
Sorry all for the dup posts. Sometimes the editor chokes and hitting the spacebar in between words causes a post, while still letting you continue typing. Nasty stuff that.
Anyway, Assem, you are totally correct. Calling Assembly.Load() is sufficient to get the DLLs from the server to the client. Thanks for bringing that up here.
More details here.
Pete
10rem.net - Pete Brown's site and blog | twitter: @pete_brown
I work for the Developer Guidance group in Microsoft. Opinions are my own.