locked
WCF services for Search Box

    Question

  • What is the process and the code for search box class to be functional in the windows store and phone application. What are WCF services i should implement for the application to get the data from the local database? 
    Tuesday, August 26, 2014 10:34 AM

Answers

  • Hi Mummadi,

    With search box you can search context inside the application when ever if you type it with your Start menu. start menu shows and search items inside your application and add it to suggestions

    Here is the guide for it

    With WCF you can connect database to your application. Without web service you cant directly connect SQL database to your store or windows phone app. (except SQLite, IndexDb)

    here is my blog post about WCF
    Here create WCF with database interaction

    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.

    ---------------------------------------

    M Prabath Maduranga Peiris
    Microsoft Student Partner
    Blogs : prabathsl.blogspot.com

    Tuesday, August 26, 2014 3:39 PM
  • Implement ASP.NET Web API and make a rest call.

    http://www.asp.net/web-api

    Thanks

    Tuesday, August 26, 2014 3:49 PM
  • WCF is pretty hard compared with WebApi. And when making a windows phone store app you cant generate a service proxy.

    http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, August 27, 2014 7:27 AM

All replies

  • Hi Mummadi,

    With search box you can search context inside the application when ever if you type it with your Start menu. start menu shows and search items inside your application and add it to suggestions

    Here is the guide for it

    With WCF you can connect database to your application. Without web service you cant directly connect SQL database to your store or windows phone app. (except SQLite, IndexDb)

    here is my blog post about WCF
    Here create WCF with database interaction

    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.

    ---------------------------------------

    M Prabath Maduranga Peiris
    Microsoft Student Partner
    Blogs : prabathsl.blogspot.com

    Tuesday, August 26, 2014 3:39 PM
  • Implement ASP.NET Web API and make a rest call.

    http://www.asp.net/web-api

    Thanks

    Tuesday, August 26, 2014 3:49 PM
  • Thanks Mr.Prabhath for tthe answer, But when i open those links regarding your blog post and WCF services there is nothing in the web page and showing it as page not found error. Can you please give me the relevant and working links.

    Wednesday, August 27, 2014 4:17 AM
  • WCF is pretty hard compared with WebApi. And when making a windows phone store app you cant generate a service proxy.

    http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, August 27, 2014 7:27 AM