Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NodeServicesServiceCollectionExtensions Class

Definition

Namespace:
Microsoft.Extensions.DependencyInjection
Assembly:
Microsoft.AspNetCore.NodeServices.dll
Package:
Microsoft.AspNetCore.NodeServices v2.0.0
Package:
Microsoft.AspNetCore.NodeServices v2.1.0
Package:
Microsoft.AspNetCore.NodeServices v2.2.0
Package:
Microsoft.AspNetCore.NodeServices v3.0.3
Package:
Microsoft.AspNetCore.NodeServices v3.1.18
Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Extension methods for setting up NodeServices in an IServiceCollection.

public static class NodeServicesServiceCollectionExtensions
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static class NodeServicesServiceCollectionExtensions
type NodeServicesServiceCollectionExtensions = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type NodeServicesServiceCollectionExtensions = class
Public Module NodeServicesServiceCollectionExtensions
Inheritance
NodeServicesServiceCollectionExtensions
Attributes

Methods

Name Description
AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)
Obsolete.

Adds NodeServices support to the serviceCollection.

AddNodeServices(IServiceCollection)
Obsolete.

Adds NodeServices support to the serviceCollection.

Applies to


Feedback

Was this page helpful?