BJS.CRM.Net 1.0.3

dotnet add package BJS.CRM.Net --version 1.0.3
                    
NuGet\Install-Package BJS.CRM.Net -Version 1.0.3
                    
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="BJS.CRM.Net" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BJS.CRM.Net" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="BJS.CRM.Net" />
                    
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 BJS.CRM.Net --version 1.0.3
                    
#r "nuget: BJS.CRM.Net, 1.0.3"
                    
#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 BJS.CRM.Net@1.0.3
                    
#: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=BJS.CRM.Net&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=BJS.CRM.Net&version=1.0.3
                    
Install as a Cake Tool

BJS.CRM.Net

Explanation of the Sections

  • Description: Provides an overview of what the package includes and what problems it solves.
  • Extensions: Important extensions
  • Installation: Offers instructions on how to install the package using both NuGet Package Manager and .NET CLI.
  • License: Links to the license file, informing users about the terms of use.
  • Contributing: Encourages community involvement and contributions.

Description

BJS.CRM.Framework is a NuGet package that provides a collection of useful extensions for Dynamics CRM development and common C# tasks. These extensions simplify working with OrganizationService, Entity, etc. objects in Dynamics CRM, as well as offering enhancements to standard C#.

Extensions

ToJson Converts a Dataverse Entity to a JSON string. This is useful for transmitting entity data outside the platform.

string json = entity.ToJson();

ToCrmEntity Parses a JSON string back into a Dataverse Entity. Useful when receiving data from external sources or stored JSON formats.

var entity = CrmEntityJsonConverter.FromJson(json);

These methods simplify data exchange and help with serialization in plugin development or integrations.

Note:
The ToCrmEntity() method expects the JSON to be in the exact structure returned by ToJson().
Do not modify the JSON structure manually or use arbitrary JSON formats.

Installation

You can install this package via NuGet Package Manager or the .NET CLI:

NuGet Package Manager

Install-Package BJS.CRM.Framework -Version {version_number}

.NET CLI

dotnet add package BJS.CRM.Framework --version {version_number}

License

This project is licensed under the MIT License. See the LICENSE.txt file for details.

Contributing

I will make it available for public contribution for any features, bug fixes, or improvements.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.