开发者

Silverlight File Upload not working on server side

I made File Upload following this tutorial, but for some reason my server side is not worki开发者_运维技巧ng at all.

http://www.c-sharpcorner.com/UploadFile/nipuntomar/FileUploadsilverlight03182009030537AM/FileUploadsilverlight.aspx


Just guessing, but the code includes a line:

UriBuilder ub = new UriBuilder("http://localhost:3840/receiver.ashx");

For this to work in your project, you'll have to change the 3840 to the port number that Visual Studio creates for you when you debug your project. Otherwise you're pointing at a port that isn't listening for anything. Check the URL of the test page to find the correct number.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜