Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building a client application


For the client application, we'll create a WPF client application to display batches and orders and allow us to change their state. We'll use MVVM Light again, like we did for the message simulator we created in the sales solution, to help us implement a neat MVVM pattern. We'll create a number of data services to get data from the API using Azure AD authentication.

Preparing the WPF project

We'll create a WPF application and install NuGet packages for MVVM Light, JSON.NET, and Azure AD authentication in the following procedure (for the Express version of Visual Studio, you'll need Visual Studio Express for desktops):

  1. Add a WPF project to the solution called ManagementApplication.

  2. In the NuGet Package Manager Console, enter the following command to install MVVM Light:

    install-package mvvmlight
    
  3. Now, enter the following command to install the Microsoft.IdentityModel.Clients.ActiveDirectory package:

    install-package Microsoft.IdentityModel.Clients.ActiveDirectory
    
  4. Now...