-
May 22nd, 2013, 12:09 AM
#1
Thread Starter
Fanatic Member
[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
-
May 27th, 2013, 12:55 AM
#2
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
-
Jul 25th, 2013, 11:19 PM
#3
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|