For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Add the optional MobileFirst components by using NuGet

We can prepare your environment for developing MobileFirst applications with optional components such as MobileFirst push by getting the framework and library files through installing IBM.MobileFirstPlatformFoundationPush package from NuGet. The MobileFirst SDK for Windows 8 and Windows 10 Universal Windows Platform (UWP) is a prerequisite and is also available from NuGet.


Overview

Information on packages on NuGet is available on the Nuget Packages page at https://www.nuget.org/packages. To add the optional MobileFirst push to our Visual Studio Project, follow these steps:


Procedure

  1. Create a Visual Studio C# Project for Windows Universal or open an existing project or solution.
  2. Select Tools > NuGet Package Manager > Package Manager Console.
  3. Choose the project where we want to install the MobileFirst push component.
  4. Install the MobileFirst push component by running the Install-Package IBM.MobileFirstPlatformFoundationPush command.

    Or,

    We can also add the MobileFirst push component to our Visual Studio Project by right-clicking the References tab of your project and selecting Manage NuGet Packages. Search for IBM.MobileFirstPlatformFoundationPush and click Install.


Results

We can now develop your native Windows Universal applications with the capability to send push notifications by using the MobileFirst push component.

Parent topic: Methods of setting up your environment

Related links

Adding the MobileFirst SDK by using NuGet