Dino Viehland wrote:
I thought we were going directly to the web server but I could be wrong.  
Looking at the code it's not too clear to me - we go to 
Application.GetResourceStream(uri).  I'm not sure whether that's a resource in 
the XAP or if that's the URI to get the resource from.

If it is coming from the XAP then we might be able to check 
Application.ResourceDictionary to see if it has the specified URI.  I'll have 
to talk to Jimmy about it more tomorrow.


In Silverlight 2 Beta 2 imports are definitely done from inside the xap file - and the module names that come back indicate that at the very least you know the name of the file fetched.

Michael

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Tuesday, September 09, 2008 3:26 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Reopening closed issues

Dino Viehland wrote:
In Silverlight we don't have access to the local file system.  Instead we the DLR's 
PlatformAdaptionLayer, which IronPython 2.x builds upon for file access, and that is 
redirected to the web server.  So our "file system" becomes limited by what 
HTTP is capable of supporting.


But import is done from the xap file and not from the server right?

Michael

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Eloff
Sent: Tuesday, September 09, 2008 2:43 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Reopening closed issues

On Mon, Sep 8, 2008 at 11:22 AM, Dino Viehland <[EMAIL PROTECTED]> wrote:

On the Silverlight one there may be nothing we can do about it - HTTP doesn't 
have a dir or ls command so I
believe we can only ask for the files by name and get them or not.

Forgive me, but how is HTTP connected to importing?

-Dan
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to