Posts

Showing posts with the label xaml

Silverlight WindowsPhone How to communicate with C code from WebBrowser javascript and vice versa beginners tutorials C XAML

Image
Silverlight WindowsPhone How to communicate with C code from WebBrowser javascript and vice versa beginners tutorials C XAML Introduction: We can use WebBrowser control in silverlight windows phone(8.0 &8.1) for displaying html content, and so some times we may need to communicate windows phone native code (C#) from webbrowser html content. For example, lets assume there is one html button in webbrowser content, and when clicking on html button we need to navigate to another windows phone native page. Which means we need to trigger windowsphone native program(i.e, C# code) from javascript function and then navigate to another page. Also from this article we can learn how to call javascript function from windows phone C# code. Requirements: This sample is targeted for windows phone silverlight 8.0 OS,So make sure you�ve downloaded and installed the Windows Phone 8.0 SDK or later. For more information, see Get the SDK. I assumes that you�re going to test your app on the Windows P...

Visual Studio 2013 Consuming local asmx webservice with windowsphone device C Xaml

Image
Visual Studio 2013 Consuming local asmx webservice with windowsphone device C Xaml Introduction: Hi guys! I hope all you are doing good. Today this article can explain following topics: Creating .asmx webservice in visual studio 2013. Publishing .asmx webservice to IIS(Internet Information Services). So that we can access local webservice in same netwotk. Creating new windowsphone 8 project. Consuming local .asmx webservice with windowsphone 8 device. Requirements: To test this sample you should have visual studio 2013 professional/ultimate. This sample is target to windowsphone 8.0 OS Description: I assume you should have experience in writing webservice. If you dont have knowledge, dont worry this article can teach you in beginners level. Lets start to understand this sample with following steps. 1.Creating .asmx webservice in visual studio 2013: Open Visual Studio 2013 Professional =>New Project=>Visual C#=>Web=>Visual Studio 2012=>APS.NET Empty Web Application And yo...