Looking for a .NET Framework example? Have a look.

Using Management Endpoints

This tutorial takes you through setting up a .NET Core application with cloud management endpoints automatically added in.
Create a .NET Core WebAPI with Actuators enabled
  1. Create a new ASP.NET Core WebAPI app with the Steeltoe Initializr
    • SteeltoeVersion: 2.4 for the latest stable
    • Project Metadata:
      Name: Management_Endpoints_Example
      Target Framework: netcoreapp3.1 is the latest stable
    • Dependencies: Actuators, DynamicLogging
    • Click Generate Project to download a zip containing the new project
  2. Extract the zipped project and open in your IDE of choice (we use Visual Studio)
  3. Set the instance address in appsettings.json
  4. Run the application