Creating a Speech Project

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This is the first of seven tutorial topics covering tools in Speech Server. For reference information about Microsoft Visual Studio 2005, see the Visual Studio 2005 Help.

This sequence of tutorials demonstrates how to build a simple Web-based application using Speech Server Developer Tools. Specifically, the tutorials demonstrate building a Start page of an imaginary pizza ordering service for use by a telephony Speech Application Language Tags (SALT) client.

The procedures for creating the pizza ordering service application build on each other. Performing the procedures in sequence is therefore important.

Beginning the Speech Application

Begin your speech application by opening Visual Studio 2005 and creating a project for the application.

To create a speech application

  1. In Microsoft Visual Studio 2005, click New on the File menu, and then click Web Site.

  2. In the New Web Site dialog box, select Voice Response Web Application.

  3. In the Location box, select HTTP.

  4. In the unnamed box to the right of Location, replace the proposed name with http://localhost/PizzaOrder, and then click OK.

    The Web-based Voice Response Application Project Wizard appears.

  5. Clear the Create new Conversational Grammar Builder grammar check box.

    This tutorial uses Speech Grammar Editor to build a grammar for the application. It is possible to use Conversational Grammar Builder as well. For more information, see Use Conversational Grammar Builder to Create Grammars.

  6. Select the Create new Grxml Grammar check box, and then click OK.

    Visual Studio 2005 creates the elements of your project.

The previous procedure creates a SALT voice response application project, with an application Start page named Default.aspx. It copies the default voice mode grammar library into the project. In addition, it creates an application manifest for use in deploying your application.

In the directory you have chosen for Visual Studio projects, which by default is the Visual Studio Projects folder in My Documents, you will find the following files, assuming you chose a Visual C# project:

  • PizzaOrder\PizzaOrder.sln
  • PizzaOrder\PizzaOrderPrompts
  • PizzaOrder\PizzaOrderPrompts\PizzaOrderPrompts.PrProj
  • PizzaOrder\PizzaOrderPrompts\Prompts.promptdb

The following files are located in your public Web directory on drive C:

  • C:\Inetpub\wwwroot\PizzaOrder\App_Data
  • C:\Inetpub\wwwroot\PizzaOrder\AssemblyInfo.cs
  • C:\Inetpub\wwwroot\PizzaOrder\Default.aspx
  • C:\Inetpub\wwwroot\PizzaOrder\Default.aspx.cs
  • C:\Inetpub\wwwroot\PizzaOrder\Global.asax
  • C:\Inetpub\wwwroot\PizzaOrder\manifest.xml
  • C:\Inetpub\wwwroot\PizzaOrder\Outbound.aspx
  • C:\Inetpub\wwwroot\PizzaOrder\Web.Config
  • C:\Inetpub\wwwroot\PizzaOrder\Grammars
  • C:\Inetpub\wwwroot\PizzaOrder\Grammars\Library.grxml
  • C:\Inetpub\wwwroot\PizzaOrder\Grammars\PizzaOrder.grxml
  • C:\Inetpub\wwwroot\PizzaOrder\Lexicons
  • C:\Inetpub\wwwroot\PizzaOrder\Lexicons\PizzaOrder.cal
To See

Go to the next step in this tutorial

Creating Grammars