VeeFriends.CRM 5.0.10

dotnet add package VeeFriends.CRM --version 5.0.10
                    
NuGet\Install-Package VeeFriends.CRM -Version 5.0.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VeeFriends.CRM" Version="5.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VeeFriends.CRM" Version="5.0.10" />
                    
Directory.Packages.props
<PackageReference Include="VeeFriends.CRM" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VeeFriends.CRM --version 5.0.10
                    
#r "nuget: VeeFriends.CRM, 5.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VeeFriends.CRM@5.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VeeFriends.CRM&version=5.0.10
                    
Install as a Cake Addin
#tool nuget:?package=VeeFriends.CRM&version=5.0.10
                    
Install as a Cake Tool

VeeFriends.CRM

This package has nothing todo with VeeFriends.com or Gary Vaynerchuk or NFTs.

Nuget

Installation

$ dotnet add package VeeFriends.CRM

Usage

This SDK is a very opinionated OData Microsoft Dynamics 365 SDK. It is designed to be used with your own CRM instance.

  1. Supply your CRM host
  2. Supply your CRM credentials
  3. Supply your CRM entities
  4. Supply your CRM anayltics key (power apps) (optional)
  5. Build the client
var client = new CrmClientBuilder()
    .AddCrmVersion()
    .AddCrmHost(host)
    .AddCredentials(clientId, clientSecret, tenantId)
    .AddEntity<SampleUserModel>()
    .AddAnalytics(anayltics)
    .Build();	

Next, get your entity context.

var context = client.For<SampleUserModel>();

Note: In order for models to be used with the SDK, they must inherit from CrmModel and be supplied with a class attribute [CrmEntity('contacts', 'contactid')] The first parameter is the collection name and the second is the primary key or identifier of the entity.

Here's an example contact entity.

[CrmEntity("contacts", "contactid")]
public class SampleUserModel : CrmModel
{
    [JsonPropertyName("contactid")]
    public Guid Id { get; set; }

    [JsonPropertyName("firstname")]
    public string? FirstName { get; set; }

    [JsonPropertyName("lastname")]
    public string? LastName { get; set; }
}

Next, you can use the context to query your CRM.

var users = await context
	.QueryAsync(x => x.FirstName == "Gary");

Feel free to explore the other methods.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on VeeFriends.CRM:

Package Downloads
VeeFriends.Reporting.Contacts

VeeFriends Series 1 reporting SDK.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.10 6,983 8/8/2025
5.0.9 6,298 5/7/2025
5.0.8 156 5/7/2025
5.0.7 160 5/7/2025
5.0.6 3,337 3/4/2025
5.0.5 3,280 3/3/2025
5.0.4 225 3/3/2025
5.0.3 206 3/3/2025
5.0.2 703 2/21/2025
5.0.1 5,997 12/11/2024
2.0.91 121 12/11/2024
2.0.90 1,728 11/26/2024
2.0.89 133 11/26/2024
2.0.88 141 11/26/2024
2.0.87 566 11/22/2024
2.0.86 124 11/22/2024
2.0.85 117 11/22/2024
2.0.84 125 11/22/2024
2.0.83 5,934 10/25/2024
2.0.82 1,450 10/4/2024
2.0.81 2,281 9/5/2024
2.0.80 1,422 8/26/2024
2.0.79 130 8/26/2024
2.0.78 129 8/26/2024
2.0.77 134 8/26/2024
2.0.76 127 8/26/2024
2.0.75 2,075 8/19/2024
2.0.74 206 8/19/2024
2.0.73 154 8/19/2024
2.0.72 389 8/17/2024
2.0.71 169 8/17/2024
2.0.70 171 8/17/2024
2.0.69 158 8/17/2024
2.0.68 165 8/17/2024
2.0.67 170 8/17/2024
2.0.66 156 8/16/2024
2.0.65 156 8/16/2024
2.0.64 6,155 7/11/2024
2.0.63 119 7/11/2024
2.0.62 127 7/11/2024
2.0.61 131 7/11/2024
2.0.60 139 7/11/2024
2.0.59 6,762 5/2/2024
2.0.58 3,391 4/17/2024
2.0.57 1,179 3/18/2024
2.0.56 155 3/15/2024
2.0.55 7,416 2/7/2024
2.0.54 1,751 1/23/2024
2.0.53 4,495 11/29/2023
2.0.52 129 11/29/2023
2.0.51 140 11/29/2023
2.0.50 146 11/29/2023
2.0.49 2,573 10/10/2023
2.0.48 6,519 8/8/2023
2.0.47 191 7/7/2023
2.0.45 3,015 6/29/2023
2.0.44 191 6/29/2023
2.0.43 188 6/29/2023
2.0.42 183 6/29/2023
2.0.41 202 6/29/2023
2.0.40 203 6/29/2023
2.0.39 204 6/28/2023
2.0.38 182 6/28/2023
2.0.37 389 6/27/2023
2.0.36 183 6/27/2023
2.0.35 246 6/27/2023
2.0.34 176 6/27/2023
2.0.33 195 6/26/2023
2.0.32 228 6/9/2023
2.0.30 201 6/9/2023
2.0.29 198 6/9/2023
2.0.28 191 6/9/2023
2.0.27 228 6/9/2023
2.0.26 198 6/9/2023
2.0.25 208 6/9/2023
2.0.22 206 6/9/2023
2.0.21 291 5/31/2023
2.0.19 264 5/26/2023
2.0.18 200 5/26/2023
2.0.17 207 5/26/2023
2.0.16 208 5/25/2023
2.0.15 208 5/24/2023
2.0.14 217 5/24/2023
2.0.13 207 5/24/2023
2.0.12 209 5/24/2023
2.0.11 197 5/24/2023
2.0.10 194 5/24/2023
2.0.9 195 5/24/2023
2.0.8 200 5/24/2023
2.0.7 194 5/24/2023
2.0.6 191 5/24/2023
2.0.5 206 5/24/2023
2.0.4 205 5/24/2023
2.0.3 182 5/24/2023