NetCoreForce
A .NET Salesforce REST API integration library
This project is not offered, sponsored, or endorsed by Salesforce.
Library Targets
The primary target is .NET Standard 2.0 to provide the widest possible support.
- .NET Standard 2.0 for widest possible support including .NET Framework 4.6.1+ and .NET Core 2.0
- .NET Standard 2.1 for newer .NET Core versions
For more info on .NET Standard compatiblity see the Microsoft documentation here
Full target list
- .NET Standard 2.0
- .NET Standard 2.1
- .NET Core 3.1
- .NET 5.0
- .NET 6.0
- .NET 7.0
- .NET 8.0
- .NET 9.0
- .NET Framework 4.6.2
- .NET Framework 4.7.2
- .NET Framework 4.8
All possible frameworks are specifically targeted so that conditional compilation can be done where required.
Full tested support is for .NET Core 6.0 - 9.0 as tooling and tests target those.
Legacy .NET Frameworks are partially tested
Full tested support is for .NET Core 6.0 - 9.0 as tooling and tests target those.
NuGet Packages
CHANGELOG
Projects in this solution:
- NetCoreForce.Client
- Main library
- NetCoreForce.Client.Tests
- Unit tests (offline/mocked)
- NetCoreForce.FunctionalTests
- Online Unit tests (Needs valid login credentials)
- NetCoreForce.ModelGenerator
- Check README for docs
- Optional custom dotnet-cli tool for code generation of custom objects/fields.
- NetCoreForce.Models
- Check README for docs
- Optional library with a set of pre-generated standard models
- SampleConsole
- A simple .NET Core console app to demonstrate the library.
Designed to minimize dependencies:
- Newtonsoft.Json (JSON Serialization)
- System.Text.Encodings.Web (URL formatting)
- Microsoft.Bcl.AsyncInterfaces
- Only included in .netstandard2.0, .netcoreapp2.0 targets
- Provides await using, async disposables
(Migration from Newtonsoft.Json to System.Text.Json is planned)
Feedback and suggestions welcome.
Licensed under the MIT license.