Table of Contents

The Hsl.Xrm.Sdk provides helpers for interacting with the Common Data Service (CDS) using .NET Code. Check out our articles on details on how to get started:

The code is broken down into the following assemblies:

Hsl.Xrm.Sdk

  • Provides helpers and extension methods for Xrm classes like Entity.GetFieldValue
  • SettingsManager provides helpers for retrieving Hsl - Settings records.
  • IXrmContext provides a standard context that can be used both from plugin or other code.

Hsl.Xrm.Sdk.Client

  • Provides helpers for connecting to CDS externally (as opposed to a plugin).
    • Provides the ability to make async calls to the OrganizationService if using App Authentication. This will generally lead to better performance/scaling. See the section Avoid Blocking Calls of the ASP.NET Core Performance Best Practices
    • Provides the ability to cycle through multiple different credentials.

Hsl.Xrm.Sdk.Plugin

Helpers for writing plugin code.