
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
-
In Microsoft Visual Studio 2005, click New on the File menu, and then click Web Site.
-
In the New Web Site dialog box, select Voice Response Web Application.
-
In the Location box, select HTTP.
-
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.
-
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.
-
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