alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class ServiceExtensionController

    This class includes methods for setting up dependency injection, endpoint registration, and anti-forgery token validation.

    Inheritance
    System.Object
    ServiceExtensionController
    Namespace: Syncfusion.EJ2
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public static class ServiceExtensionController : Object

    Methods

    AddSyncfusionSmartComponents(IServiceCollection)

    Registers Syncfusion smart components and their dependencies into the Microsoft.Extensions.DependencyInjection.IServiceCollection. This method sets up required services and components for the smart components to function correctly.

    Declaration
    public static ISmartComponentsBuilder AddSyncfusionSmartComponents(this IServiceCollection services)
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services
    Returns
    Type
    ISmartComponentsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved