Let’s make something together

KAISPE has been providing solutions and services to customers using Microsoft Dynamics, Azure, Power platform, Oracle NetSuite, mobile and web app development.

    • +1 315 791 4472
      590 Madison Avenue 21st Floor Manhattan, NY 10022 USA.


  • +92 213 432 6085
    Suite#213 Sumya Business Avenue MACHS Karachi, Pakistan.

Consuming Azure ML experiment web service using Visual Studio

  • April 8, 2020

As I was working on Student Churn Prediction model using Azure  Machine Learning (ML Experiment Web Service). My goal was to consume a Web service using a CSV as input file to score results in our C# Application.

To achieve this goal, we need to get return predictions results to the application in real time. To connect to a Machine Learning real-time endpoint, the following NuGet packages must be installed:

  • Microsoft.AspNet.WebApi.Client
  • NewtonsoftJson

Next, we will import a CSV as our input file to score results in real-time.

Now, we need to pass input data variables to our input schema to score results.

Next, we need to call the rest endpoint for the web service and convert my input schema in json form.

In the last step we will be using Power Bi to get some useful insight using our output data.

I hope you found this blog post helpful. If you have any questions, please feel free to contact [email protected]