For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create a .NET Core VB app using the FME SDK

Learn how to build a .NET Core VB application that integrates with the FME SDK, including debug logging with NLog.

Overview

This example demonstrates how to build a basic .NET Core Visual Basic (VB) application that integrates with the FME SDK version 6.0.1. You will learn how to configure the SDK, enable debug logging with NLog, and evaluate feature flags for your users.

This setup is ideal for developers working with .NET Core and VB who want to incorporate feature flagging and experimentation into their applications.

Environment

  • Visual Studio for Mac 8.4

  • NuGet 5.3

  • .NET Core SDK 2.1.301

Packages

  • Common.Logging.NLog41 3.4.1

  • NLog.Config 4.6.8

  • NLog 4.6.8

  • NLog.Schema 4.6.8

Usage

1. Configure logging

The example uses NLog to enable detailed debug logging of the SDK operations. Logging is configured to write to a rolling file named splitio.log.

2. Initialize the SDK

Update your FME API key, user ID, and feature flag names in the code below to match your environment.

3. Review the sample code

  • Replace "API Key", "User ID key", and "Feature flag name" with your actual FME API key, user identifiers, and feature flag names.

  • Build and run your .NET Core VB app to start evaluating feature flags.

  • Check the generated splitio.log file for debug logs.

Next steps

Last updated

Was this helpful?