Project Description
A Visual Studio template that auto-generates ASP.NET Web Apps that consume AzureML RRS APIs.Visual Studio 2012 or 2013 is required. Run Setup.exe to install.

Visual Studio ASP.NET Template to create Apps to consume RRS APIs

Download and run Setup.exe to add a Visual Studio template. After installation is complete:

  •   In Visual Studio, click File->New->Project
  •   Click on Visual C#, then scroll down and look for AzureML RRS Client Template (it installs a template in Visual Studio 2012 or 2013 Templates/ProjectTemplates directory)
  •   Select the template, open, then enter your RRS service URL and key.
  •   In the generated project, click Run.

The template will create an ASP.NET project, and load the default.aspx page into the browser. Enter the data for your service, submit, then view the response. You can also publish the app as a web site to Azure Web Sites from inside Solution Explorer.

For more details see the Documentation page.

If you see issues with the app, first test your API directly in AzureML Studio in the API Dashboard using the Test button to ensure the API is functional.

Source Code included

The Source code for the template is included. To use the source code, update the web.config file's AppSettings.

Known issues

If there are spaces in the Experiment's column names, OData will remove the space and the post back to API with data from the ASP.Net page will error out. 

The template will not work if the experiment the API was published from does not take input parameters.

License

This project is shared under the MIT License.

Last edited Jun 11, 2015 at 6:18 PM by RaymondL, version 15