« PreviousNext »

WWWinamp v4.1 WCF Client Example

25 August 2007

Along with this new version of WWWinamp, I am also releasing with it a small example of how to interact with WWWinamp using WCF from another application. This example is a Windows Forms application written in C#. Because this is a WCF application which uses .NET 3.0, you will need the following items installed in order to use/develop from this example:

Once you load up the C# project in visual studio, you need to make a couple updates to the URI’s used to access the service:

  1. Start WWWinamp and start the WCF Service. Make note of the URI that WWWinamp displays, as this is the URI that your WCF client will need to connect to. It will look like the following:
  2. Update the URI’s that are listed in WWWinampWCF.map and app.config

Once you’ve updated the Service URI references, you should be able to launch the Example Client.

The WCF password that is used to secure the WCF Endpoint in WWWinamp is stored in the WWWinamp.config file under the option WWWinamp.WCF.Authentication. Enter this password in the “WCF Password” field and you should be able to communicate with WWWinamp now using WCF!
Example of the WWWinamp WCF Client in Action

Using this example, you can create your own ‘frontend’ for WWWinamp using C#, VB.NET, Java, JSP, you name it!

If you have any questions about the WCF endpoint or bugs that you run into during your development, please let me know!

Cheers!

WWWinamp WCF Client Example - Download (14k)

Posted in C# Programming, General Programming, Internet, Microsoft .NET 3.0 / WinFX, WWWinamp | Trackback | del.icio.us | Top Of Page

No comments yet

Leave a Reply


Powered by WP Hashcash