Tag: How to
How to Get the Name of the Windows Phone Device which is identified by the remote peers ?
How to Get the Name of the Windows Phone Device which is identified by the remote peers ?
How to get Installed Speech Recognizers from Windows Phone using C#?
Below is a sample code snippet demonstrating how to retrieve the installed speech recognizers from Windows Phone using C#. How to get Installed Speech Recognizers from Windows Phone using C#? Output en-US de-DE zh-TW fr-FR it-IT ja-JP pl-PL pt-BR ru-RU en-IN zh-CN en-GB es-MX zh-HK es-ES
How to Concatenate Array of Integers to a String in C# ?
Below is a sample code snippet demonstrating how to concatenate array of integers to a string in c#. How to Concatenate Array of Integers to a String in C# ?
How to Create Extension Method in C# ?
Extension methods are great way to add a method to an existing type . A typical scenario is when you dont have the access to the sourcecode and want to add a method to the type . How to Create Extension Method in C# ? Below is a sample code snippet that demonstrates how to create an extension method for the integer type to tell…
How to Declare and Define an Integer Type in F# ?
How to Declare and Define an Integer data type variable in F# ?
How to Programatically Send Email with attachments in Windows Phone 8.1 using C# ?
Below is a sample code snippet that demonstrates how to send email with attachments programmatically in Windows Phone 8.1 using C# . How to Programatically Send Email with attachments in Windows Phone 8.1 using C# ?
How to get the first day of the month in SQL Server ?
If you want to get the first day of the month of a input datetime variable from a SQL Query , here’s how you do it.
How to Declare and Define an Boolean data type variable in F# ?
How to Declare and Define an Boolean data type variable in F# ?
How to refer to the file in Windows Phone app using ms-appx ?
When using the Speech recognition , you might refer to the Voice Command Definition file within your project . Assuming that the file name is AbundantcodeGrammar.xml . you might refer to the file with the ms-appx as shown below. new Uri(“ms-appx:///AbundantcodeGrammar.xml”,UriKind.RelativeOrAbsolute); When referring to the file at runtime , there are times when you might receive an error 0x80070002 error – The system cannot find…
How to accept HTML Form Data in a ASP.NET Web API Action Method ?
There are times when you might want to create an endpoint in ASP.NET WebAPI that can handle the HTML form data posted as x-www-form-urlencoded. One of the options is to use the model binding concept. In this case , the model should have the names of the keys that are passed in the HTTP request. The MediaFormatters are used to extract the data from…
Which Events to use to Save the Transient State in Windows Phone 8?
It is necessary for the developers to save the transient and the persistent state of the app when the application goes to the deactivated status. Which Events to use to Save the Transient State in Windows Phone 8? The PhoneApplicationPage’s OnNavigatedFrom and OnNavigatedTo methods can be used to save the transient state in Windows Phone 8.
Different Types of For Loops in F#
F# supports 3 different types of For Loops . These include For…to – This is astandard for loop For .. In – This is similar to For Each in C# for…downto Different Types of For Loops in F# Below is a code snippet demonstrating the different For Loops in F#