GraphQL.AspNet.Subscriptions
1.3.2
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package GraphQL.AspNet.Subscriptions --version 1.3.2
NuGet\Install-Package GraphQL.AspNet.Subscriptions -Version 1.3.2
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="GraphQL.AspNet.Subscriptions" Version="1.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GraphQL.AspNet.Subscriptions --version 1.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GraphQL.AspNet.Subscriptions, 1.3.2"
#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.
// Install GraphQL.AspNet.Subscriptions as a Cake Addin
#addin nuget:?package=GraphQL.AspNet.Subscriptions&version=1.3.2
// Install GraphQL.AspNet.Subscriptions as a Cake Tool
#tool nuget:?package=GraphQL.AspNet.Subscriptions&version=1.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
GraphQL ASP.NET
Documentation: https://graphql-aspnet.github.io
GraphQL ASP.NET is a fully featured graphql library that utilizes a controller/action programming model similar to ASP.NET.
This Controller
// BakeryController.cs
[GraphRoute("groceryStore/bakery")]
public class BakeryController : GraphController
{
public BakeryController(IPastryService pastryService, IBreadService breadService)
{/* ... */}
[Query("pastries/search")]
public IEnumerable<IPastry> SearchPastries(string nameLike, int maxResults = 50)
{/* ... */}
[Query("pastries/recipe")]
public Recipe RetrieveRecipe(int id)
{/* ... */}
[Query("breadCounter/orders")]
public IEnumerable<BreadOrder> FindOrders(int customerId)
{/* ... */}
}
This GraphQL Query
query SearchGroceryStore($pastryName: String!) {
groceryStore {
bakery {
pastries {
search(nameLike: $pastryName) {
name
type
}
recipe(id: 15) {
name
ingredients {
name
}
}
}
breadCounter {
orders(id: 36) {
id
items {
id
quantity
}
}
}
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- GraphQL.AspNet (>= 1.3.2)
- Microsoft.AspNetCore.Authentication.Abstractions (>= 2.1.1)
- Microsoft.AspNetCore.Authorization (>= 2.1.2)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.1.1)
- Microsoft.AspNetCore.Mvc.Abstractions (>= 2.1.3)
- Microsoft.AspNetCore.WebSockets (>= 2.1.7)
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- Microsoft.Extensions.Configuration (>= 2.1.1)
- Microsoft.Extensions.DependencyInjection (>= 2.1.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 2.1.1)
- Microsoft.Extensions.Logging (>= 2.1.1)
- System.Collections.Immutable (>= 1.6.0)
- System.ComponentModel.Annotations (>= 4.3.0)
- System.Drawing.Common (>= 4.7.2)
- System.Runtime.Caching (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.6.0)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Channels (>= 6.0.0)
- System.Threading.Tasks.Dataflow (>= 4.11.0)
-
net6.0
- GraphQL.AspNet (>= 1.3.2)
- System.Collections.Immutable (>= 1.6.0)
- System.ComponentModel.Annotations (>= 4.3.0)
- System.Drawing.Common (>= 4.7.2)
- System.Runtime.Caching (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.6.0)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Channels (>= 6.0.0)
- System.Threading.Tasks.Dataflow (>= 4.11.0)
-
net7.0
- GraphQL.AspNet (>= 1.3.2)
- System.Collections.Immutable (>= 1.6.0)
- System.ComponentModel.Annotations (>= 4.3.0)
- System.Drawing.Common (>= 4.7.2)
- System.Runtime.Caching (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.6.0)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Channels (>= 6.0.0)
- System.Threading.Tasks.Dataflow (>= 4.11.0)
-
net8.0
- GraphQL.AspNet (>= 1.3.2)
- System.Collections.Immutable (>= 1.6.0)
- System.ComponentModel.Annotations (>= 4.3.0)
- System.Drawing.Common (>= 4.7.2)
- System.Runtime.Caching (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.7.2)
- System.Text.Json (>= 4.6.0)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Channels (>= 6.0.0)
- System.Threading.Tasks.Dataflow (>= 4.11.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0-beta1 | 197 | 11/26/2023 |
1.3.2 | 132 | 3/10/2024 |
1.3.1 | 230 | 12/20/2023 |
1.3.0 | 349 | 11/24/2023 |
1.2.7 | 131 | 10/8/2023 |
1.2.6 | 120 | 9/10/2023 |
1.2.5 | 129 | 8/27/2023 |
1.2.4 | 149 | 7/30/2023 |
1.2.3 | 131 | 6/10/2023 |
1.2.1 | 133 | 5/7/2023 |
1.1.0 | 583 | 2/20/2023 |
1.0.2 | 257 | 1/29/2023 |
1.0.1 | 266 | 1/22/2023 |
1.0.0 | 278 | 1/15/2023 |
1.0.0-RC4 | 130 | 1/6/2023 |
0.10.2-beta | 142 | 7/10/2022 |
0.10.1-beta | 134 | 6/12/2022 |