Creating a Bing Custom Search Instance with Keys for Bing API

In this post, we will create a new Bing Custom Search Instance that we can use to access the Bing Custom Search API. This will enable us to access the Bing Search API from apps we build, thereby opening our apps to the power of Bing Search. First, go to https://www.customsearch.ai/ and sign in: You will see the steps below. Click Create new instance: Name the instance and click OK: You … Continue reading Creating a Bing Custom Search Instance with Keys for Bing API

Getting a Bing Custom Search API Key in Azure Portal

In this post we will go through signing up for a Bing Custom Search key using the Azure portal. Go to https://portal.azure.com and search for Bing Custom Search: Click Create: Enter details including the name and pricing tier. Click Create: You will see below, with the endpoint, e.g. https://api.cognitive.microsoft.com/bingcustomsearch/v7.0 Click on Keys and note the keys for use in your apps:  

Get Weather by Speaking App with Azure Cognitive Services

In our previous posts, we signed up for a cognitive service subscription key and built a C# console app that listens to what a user is saying, sends the input to Microsoft Azure Cognitive Services Speech Service and returns the text. In this post, we will extend our app to get the real-time weather of a city that the user speaks when prompted. Yahoo! has a Weather API that we … Continue reading Get Weather by Speaking App with Azure Cognitive Services

Azure Cognitive Services Speech to Text Hello World in C#

In this post we will create a Windows console app that integrates with Azure Cognitive Services Speech Service to convert to text what we are speaking. In Visual Studio, create a new console app: You will see: Add Microsoft.CognitiveServices.Speech through NuGet: Click on the Solution->Configuration Manager: Change the platform to your current platform: Add the code. This is based on this sample code here. For yourapikey, use the key created here. … Continue reading Azure Cognitive Services Speech to Text Hello World in C#

Get a Microsoft Cognitive Services Subscription Key (Speech)

To get a Microsoft Cognitive Services Subscription Key, go to: https://azure.microsoft.com/en-us/try/cognitive-services/. Click on Speech APIs and select Get API Key: You may see the option to sign in or sign up: Once signed in and signed up, under Speech services click Add: You will may see the message, with links to the Quick-Start Guide and other Cognitive Services. Click Got It: You will then see your endpoint region and Keys: You can also get … Continue reading Get a Microsoft Cognitive Services Subscription Key (Speech)

Text-To-Speech Hello World in Windows

In this post, we will use the Speech Synthesizer in the System.Speech.Synthesis namespace to convert text to speech. Create a new console app in Visual Studio: Add a reference to System.Speech: Click on the Solution->Configuration Manager: Change the platform to your current platform: Add the code:   On running this, your computer will say “Hello World”. To change the voice to another voice, we can set it using SelectVoice: This … Continue reading Text-To-Speech Hello World in Windows