Click here to Skip to main content
13,091,145 members (49,581 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I have to develop an application to play audio files available in different server.
suppose my application is hosted in Server A.and we have audio files to play available in Server B.

so how to connect to server B programatically using C# and ASP.NET and play that files.

please respond quickly
Thank You very much
D Srinivas
Posted 19-Feb-13 9:04am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Sooo....what are you using on the client to play the audio?? Your ASP.NET code has nothing to do with this as ASP.NET code runs entirely on the web server, not on the client.

If you're not forcing the client to use some component to play the audio, you can let the client chose what player it wants to use. In that case, you just need to send the audio file content with the appropriate MIME type. There's tons of example on how to do this all over the web.
srinvas 19-Feb-13 18:00pm
my question is about how to connect to another server and use the files in the server.
please give one example how to connect to remote server programatically and use the files in the server.please help me.thanks
Dave Kreskowiak 19-Feb-13 19:59pm
You're question is too vague. I already told you what you have to do. You give no examples or sufficient detail of what you're trying to do. I already told you how what you have to do to send the data to a client to get the client to play it.
_Amy 19-Feb-13 23:51pm
+5! Exactly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100