You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8ca3588
Browse filesBrowse the repository at this point in the historyBrowse files
<PackageReleaseNotes>Release notes and documentation can be found on the project site: https://github.com/anthonyreilly/NetCoreForce</PackageReleaseNotes>
21
+
<PackageReleaseNotes>v6.0.0 adds .NET 10 and Client Credentials login, and removes EOL .NET Core 3.1 - 7.0 targets. See the CHANGELOG for full details and breaking changes: https://github.com/anthonyreilly/NetCoreForce/blob/main/CHANGELOG.md</PackageReleaseNotes>
NetCoreForce lets .NET applications query, create, update and delete Salesforce records through the Salesforce REST API, with OAuth 2.0 login, SOQL and SOSL queries, composite requests, and strongly typed models for Salesforce objects.
List<SfAccount>accounts=awaitclient.Query<SfAccount>("SELECT Id, Name FROM Account LIMIT 10");
28
+
```
29
+
30
+
See the [Authentication](https://netcoreforce.com/auth.html) and [Examples](https://netcoreforce.com/examples.html) docs for other login flows and more usage examples.
9
31
10
32
## Changes in v6
11
33
@@ -27,13 +49,14 @@ The primary target is .NET Standard 2.0 to provide the widest possible support.
27
49
- .NET Standard 2.0 for widest possible support including .NET Framework 4.6.2+
28
50
- .NET Standard 2.1 for newer .NET Core versions
29
51
30
-
For more info on .NET Standard compatiblity[see the Microsoft documentation here](https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0)
52
+
For more info on .NET Standard compatibility[see the Microsoft documentation here](https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0)
"_description": "NetCoreForce is a Salesforce REST API client library for .NET and C#: OAuth login, SOQL queries, CRUD, composite requests, and generated object models.",
Copy file name to clipboardExpand all lines: docs/auth.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
---
2
+
title: "Salesforce OAuth Authentication in .NET"
3
+
_description: "How to log in to the Salesforce REST API from .NET and C# with NetCoreForce, using the OAuth 2.0 Client Credentials, Web Server, refresh token, and Username-Password flows."
4
+
---
5
+
1
6
# Authentication
2
7
3
8
NetCoreForce supports several Salesforce OAuth 2.0 flows. There are two ways to use them:
Copy file name to clipboardExpand all lines: docs/examples.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
---
2
+
title: "Salesforce REST API Examples in C#"
3
+
_description: "C# examples for the Salesforce REST API with NetCoreForce: CRUD, SOQL queries, upsert by external ID, composite requests, SOSL search, file downloads, and metadata."
4
+
---
5
+
1
6
# Examples
2
7
3
8
Usage examples for common tasks, starting with everyday CRUD and query operations and moving on to less common ones. For other ways to log in and initialize the client, see [Authentication](auth.md).
Copy file name to clipboardExpand all lines: docs/index.md
+60-43Lines changed: 60 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,47 @@
1
1
---
2
2
_layout: landing
3
+
title: "NetCoreForce: Salesforce REST API Client for .NET"
4
+
_description: "NetCoreForce is a Salesforce REST API client library for .NET and C#: OAuth login, SOQL queries, CRUD, composite requests, and generated object models."
## A Salesforce REST API client library for .NET and C#
10
+
*This project is not offered, sponsored, or endorsed by Salesforce.*
8
11
9
-
# NetCoreForce
12
+
NetCoreForce lets .NET applications query, create, update and delete Salesforce records through the Salesforce REST API, with OAuth 2.0 login, SOQL and SOSL queries, composite requests, and strongly typed models for Salesforce objects.
10
13
11
-
## A .NET Salesforce REST API integration library
12
-
*This project is not offered, sponsored, or endorsed by Salesforce.*
List<SfAccount>accounts=awaitclient.Query<SfAccount>("SELECT Id, Name FROM Account LIMIT 10");
32
+
```
33
+
34
+
-[Authentication](auth.md) - Client Credentials, Web Server, refresh token, and other login flows
35
+
-[Examples](examples.md) - CRUD, queries, upserts, composite requests, search, metadata and more
36
+
-[API Reference](api/NetCoreForce.Client.ForceClient.yml) - full `ForceClient` reference
13
37
14
38
## Library Targets
15
39
16
-
The primary target is .NET Standard 2.0 to provide the widest possible support.
40
+
The primary target is .NET Standard 2.0 to provide the widest possible support.
17
41
- .NET Standard 2.0 for widest possible support including .NET Framework 4.6.2+
18
42
- .NET Standard 2.1 for newer .NET Core versions
19
43
20
-
For more info on .NET Standard compatiblity[see the Microsoft documentation here](https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0)
44
+
For more info on .NET Standard compatibility[see the Microsoft documentation here](https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0)
21
45
22
46
Full target list
23
47
- .NET Standard 2.0
@@ -32,55 +56,48 @@ Full target list
32
56
33
57
All possible frameworks are specifically targeted so that conditional compilation can be done where required.
34
58
35
-
Full tested support is for .NET Core 8.0 - 10.0 as tooling and tests target those.
36
-
Legacy .NET Frameworks are partially tested
59
+
Full tested support is for .NET 8.0 - 10.0 as tooling and tests target those.
*[NetCoreForce.Client](https://www.nuget.org/packages/NetCoreForce.Client/) - the Salesforce REST API client
64
+
*[NetCoreForce.Models](https://www.nuget.org/packages/NetCoreForce.Models/) - pre-generated models for standard Salesforce objects
65
+
*[NetCoreForce.ModelGenerator](https://www.nuget.org/packages/NetCoreForce.ModelGenerator/) - .NET CLI tool to generate models for your org, including custom objects and fields
<Description>A .NET Standard and .NET Core Salesforce REST API integration library</Description>
9
+
<Title>NetCoreForce Salesforce REST API Client</Title>
10
+
<Description>Salesforce REST API client library for .NET and C#. OAuth 2.0 login (Client Credentials, Web Server, refresh token), SOQL and SOSL queries, CRUD and upsert, composite requests, and file downloads. Supports .NET 8-10, .NET Standard 2.0/2.1 and .NET Framework 4.6.2+.</Description>
0 commit comments