Results 1 to 3 of 3

Thread: [RESOLVED] Silverlight not writing file in server

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2004
    Location
    India
    Posts
    524

    Resolved [RESOLVED] Silverlight not writing file in server

    Hi Guys,

    I have written a test app in Silverlight. This app is running in Windows Server 2008 R2 and it should read and write files. It it reading files in server but not writing. To do the latter part what changes do I have to make ? I am using Silverlight 5.

    Please advice.

    Thank you,

    Cheers,
    GR

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Silverlight not writing file in server

    Hey,

    One thing that you have to remember is that Silverlight is executing on the client, NOT on the server. Therefore, although you might be able to "read" the files from the server, you can't write back. This is the same restriction in standard web pages, where the content is only be rendered to the client, the client has no direct access back to to the server.

    To do what you are talking about, you might want to think about creating a web service (or perhaps a WCF or Web API) that is located on the server, which will do the writing of the files, based on a call that is made to it from the Silverlight application on the client.

    Gary

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2004
    Location
    India
    Posts
    524

    Re: Silverlight not writing file in server

    I know I am replying two months late but thanks for your reply. I will apply what you have mentioned.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width