473,799 Members | 3,121 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Playing and downloading songs in ASP.NET

Hi,

Is there any way of playing songs and downloading songs from a server
onto a client machine.
I want to develop an application such as a music portal which allows
clients to play songs that reside on a Web Server. So does the web
server need to send the song as an attachment to the ASP.NET Web
application or does it do streaming?? And how is it achieved??

Please any ideas or any hints will be highly appreciated.

Thanks and Regards,
Sumaira
Nov 18 '05 #1
4 2413
you will have to use windows media services for streaming music
http://www.microsoft.com/windows/win...a/default.aspx

scroll down a bit and under professionals look under streaming delivery

--

Regards,

Hermit Dave (D'way)
http://hdave.myvnc.com

(I hear what you're saying.. but lets try it my way first)

"Sumaira Ahmad" <su***********@ gmail.com> wrote in message
news:16******** *************** ***@posting.goo gle.com...
Hi,

Is there any way of playing songs and downloading songs from a server
onto a client machine.
I want to develop an application such as a music portal which allows
clients to play songs that reside on a Web Server. So does the web
server need to send the song as an attachment to the ASP.NET Web
application or does it do streaming?? And how is it achieved??

Please any ideas or any hints will be highly appreciated.

Thanks and Regards,
Sumaira

Nov 18 '05 #2
You can use the media player activex control for starters.
Here's more info:
http://msdn.microsoft.com/library/de...t/winmedia.asp
http://msdn.microsoft.com/library/de...un01242003.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Sumaira Ahmad" <su***********@ gmail.com> wrote in message
news:16******** *************** ***@posting.goo gle.com...
Hi,

Is there any way of playing songs and downloading songs from a server
onto a client machine.
I want to develop an application such as a music portal which allows
clients to play songs that reside on a Web Server. So does the web
server need to send the song as an attachment to the ASP.NET Web
application or does it do streaming?? And how is it achieved??

Please any ideas or any hints will be highly appreciated.

Thanks and Regards,
Sumaira

Nov 18 '05 #3
Thanks for your responses..But I am a little confused since I am
relatively new to .NET...

Firstly can i know if this is an easy and straightforward task??
Basically when the client requests for a song ( song stored on the Web
server's hard disk), he will send the song name in the SOAP Message
after instantiating the Web Service method . When the service's method
sees the request then he has to perform some steps.. Basically he has
to play the song for the client. Would he send back the song as an
attachment? How will it be linked to Windows Media Player so that the
client can hear the song??Can you'll tell me how that works a little
bit in detail.. I haven't used ActiveX controls ever.. I would really
appreciate it.. Or if some samples are available on this using C# on
..NET...

I would really be thankful if you'll reply to my mail and help me
understand this better..
Thank you so much.
Regards,
Sumaira

"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message news:<OB******* *******@TK2MSFT NGP15.phx.gbl>. ..
You can use the media player activex control for starters.
Here's more info:
http://msdn.microsoft.com/library/de...t/winmedia.asp
http://msdn.microsoft.com/library/de...un01242003.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Sumaira Ahmad" <su***********@ gmail.com> wrote in message
news:16******** *************** ***@posting.goo gle.com...
Hi,

Is there any way of playing songs and downloading songs from a server
onto a client machine.
I want to develop an application such as a music portal which allows
clients to play songs that reside on a Web Server. So does the web
server need to send the song as an attachment to the ASP.NET Web
application or does it do streaming?? And how is it achieved??

Please any ideas or any hints will be highly appreciated.

Thanks and Regards,
Sumaira

Nov 18 '05 #4
This is not a trivial task that you are talking about, but it can be done.

Download the Windows Media SDK from this URL:
http://msdn.microsoft.com/library/de...t/winmedia.asp

It contains thorough documentation that will answer most of your questions.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Sumaira Ahmad" <su***********@ gmail.com> wrote in message
news:16******** *************** ***@posting.goo gle.com...
Thanks for your responses..But I am a little confused since I am
relatively new to .NET...

Firstly can i know if this is an easy and straightforward task??
Basically when the client requests for a song ( song stored on the Web
server's hard disk), he will send the song name in the SOAP Message
after instantiating the Web Service method . When the service's method
sees the request then he has to perform some steps.. Basically he has
to play the song for the client. Would he send back the song as an
attachment? How will it be linked to Windows Media Player so that the
client can hear the song??Can you'll tell me how that works a little
bit in detail.. I haven't used ActiveX controls ever.. I would really
appreciate it.. Or if some samples are available on this using C# on
.NET...

I would really be thankful if you'll reply to my mail and help me
understand this better..
Thank you so much.
Regards,
Sumaira

"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message
news:<OB******* *******@TK2MSFT NGP15.phx.gbl>. ..
You can use the media player activex control for starters.
Here's more info:
http://msdn.microsoft.com/library/de...t/winmedia.asp
http://msdn.microsoft.com/library/de...un01242003.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Sumaira Ahmad" <su***********@ gmail.com> wrote in message
news:16******** *************** ***@posting.goo gle.com...
> Hi,
>
> Is there any way of playing songs and downloading songs from a server
> onto a client machine.
> I want to develop an application such as a music portal which allows
> clients to play songs that reside on a Web Server. So does the web
> server need to send the song as an attachment to the ASP.NET Web
> application or does it do streaming?? And how is it achieved??
>
> Please any ideas or any hints will be highly appreciated.
>
> Thanks and Regards,
> Sumaira

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2498
by: Shelly | last post by:
I have a list of file descriptions in a list box that is filled via a php mysql select. I know the name of the file that is described by the file that is select from that list box. It is an audio file. I have a "Play" button. I know how to get to a section of code when the user clicks that button. Question 1: What do I have to do to make it play on the the user's machine when he clicks the "Play" button. Question 2: When he...
5
2666
by: a.dheeraj.kumar | last post by:
Is there a way to play music(MP3 or Wav) using c or c++?
4
1728
by: Shazia Sadiq | last post by:
Hi! i m developing a website for sell of songs all songs are place in songs folder. and at front end of website url to download shows the link of songs folder so it is threat that may be soem try to access the songs directly from folder without paying. I Had paced a index page in those folders which redirect back to website. But if their is some better approach then plz tell me With Best Regards
0
1509
by: ctrent | last post by:
I have a client who built a Java app to compose music tracks. They have mp3 files broken down into segments (intro, verse, chorus, turnaround, etc) that the user can piece together to form complete songs. My job is to find a way to preview their selections in a Flash player. Their Java app does a great job at building the composed mp3's, but they still need a way to preview their selections when the user is composing. So far I've been...
2
1285
by: apking | last post by:
hi friends, i want to play mp3 songs when check marks checked and then click play songs when get a popup flash player then play song automatically.i have done flash player.but how to get popup window and check boxes. any one can help me lease? regards chowdary
2
13365
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post by:
How can I best play several mp3 files one immediately after the other? Will this tie up the AxWindowsMediaPlayer1 instance such that I can't use the instance again until the files finish playing or can I break out of this "playlist" early? Thanks! Bob
0
942
by: Sobin Thomas | last post by:
Hi,All... I found in one of the articles on the net that an audio file can be played in asp.net by setting the Hyperlink's Navigate Url as the audio file name. ie, Hyperlink1.NavigateUrl="~\\songs\\mysong.wav"; And it works pretty well for me.Is there any disadvantage in using this method.If so, what is the preferred method of playing an audio file in asp.net? Thanking you in advance for your reply... Best regards.......
0
1115
by: Sobin Thomas | last post by:
Hi,All... I found in one of the articles on the net that an audio file can be played in asp.net by setting the Hyperlink's Navigate Url as the audio file name. ie, Hyperlink1.NavigateUrl="~\\songs\\mysong.wav"; And it works pretty well for me.Is there any disadvantage in using this method.If so, what is the preferred method of playing an audio file in asp.net? Thanking you in advance for your reply... Best regards.......
1
1278
by: Sobin Thomas | last post by:
Hi,All... I found in one of the articles on the net that an audio file can be played in asp.net by setting the Hyperlink's Navigate Url as the audio file name. ie, Hyperlink1.NavigateUrl="~\\songs\\mysong.wav"; And it works pretty well for me.Is there any disadvantage in using this method.If so, what is the preferred method of playing an audio file in asp.net? Thanking you in advance for your reply... Best regards.......
0
10482
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10251
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10225
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9072
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7564
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4139
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.