locked
Windows Phone 7 Lists and Details Pages RRS feed

  • Question

  • Hi.

    I have looked at a tutorial that i whould like to make but instead of haveing everything in classes and not generating all info i want to use a WCF to fetch the data from my database.

    Here is the tutorial:
    http://www.silverlight.net/learn/videos/windows-phone/windows-phone-7-lists-and-details-pages/

    Can i get some help with this, i have both SQL server and Mysql, figure that its WCF no matter what database i use.

    I wish that the principle should be the same as in the tutorial but without the random selection of names, the info must be retrieved from any of my databases.

    Saturday, October 9, 2010 12:39 PM

Answers

  • Hi,

    If you already know how to create and consume
    WCF Web Service then you shouldn't have problems.

    You could first start by creating a WCF Service Application.
    and define all your queries logic which you'll need afterwards to retrieve your datas
    in you WP 7 app....

    Then once you're done, you can then create a Windows Phone 7 project
    in which you'll consume the same WCF service and add the proper
    bindings in your list and detail page.

    You can have a look at the following link which explains the basics.

    Creating a Windows Phone 7 Application consuming data using a WCF Service

    http://www.c-sharpcorner.com/UploadFile/UrmimalaPal/1858/Default.aspx

    Hope this helps.

     

    Saturday, October 9, 2010 1:11 PM