Configure a Push Agent

Add the Push Agent NetLogic from
Template Libraries
and configure the parameters of the Push Agent.
Prerequisites
  1. Install the
    MQTTNet
    and
    NewtonSoft.Json
    packages. See NuGet packages.
    TIP: You can check the required libraries versions in the Push Agent description in
    Template Libraries
    .
  1. To configure a Push Agent
  2. From the main toolbar, select
    Template Libraries
    .
  3. In
    Template Libraries
    , search for
    Push Agent
    .
  4. Under
    Components
    , drag
    Push Agent
    onto NetLogic in
    Project view
    .
  5. Select
    Close
    .
  6. In
    Project view
    , select
    Push Agent
    .
  7. In
    Properties
    , edit the Push Agent properties.
    For more information, see Push Agent properties.
  8. In
    Project view
    , double-click
    Push Agent
    .
    An external editor opens in a separate tab.
  9. Build the project.
  • Generate CA and client certificates. See Create a certificate.
    IMPORTANT: Use the newest OpenSSL library and encryption algorithm supported in .NET to generate the PFX certificates. If you use the RC2 algorithm to generate the PFX certificate, certificate-based authentication for Azure IoT Hub fails on the terminal.
  • Implement the PushAgent NetLogic into the application interface. See Push Agent interface.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.