Creating an appointment reminder app with .NET SDK

Testing your application

Let's put your appointment reminder app through its paces!

  1. Open a terminal or command prompt.
  2. Navigate into the sinch_appointment_reminder folder.
  3. Run the following command:
    Copy
    Copied
    dotnet run

    You should see the following output on your console.

    Copy
    Copied
    Build succeeded with warnings in 1.1s
    info: Microsoft.Hosting.Lifetime[14]
          Now listening on: http://localhost:5221
    info: Microsoft.Hosting.Lifetime[0]
          Application started. Press Ctrl+C to shut down.
    info: Microsoft.Hosting.Lifetime[0]
          Hosting environment: Development
    info: Microsoft.Hosting.Lifetime[0]
          Content root path: C:\Users\myuser\Desktop\getting started tutorials\dotnet\sinch-appointment-reminder
  4. Open a browser to the port identified in your console. Using the output from above, we'd open our browser to: http://localhost:5221/appointment.
  5. Try it out! Input an appointment for John Ricardo with Dr Jane Doe. Be sure to set the time and date so that the appointment is at least two hours and five minutes into the future. When you submit the appointment details, the application redirects you to a success page.

    You should also get a text a couple of hours before the appointed time. (If you're doing this yourself, you may want to choose a date and time closer to the present!)



We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.