alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ServiceExtensionController

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

    Inheritance
    object
    ServiceExtensionController
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.SmartComponents
    Assembly: Syncfusion.Blazor.SmartComponents.dll
    Syntax
    public static class ServiceExtensionController

    Methods

    AddSyncfusionSmartComponents(IServiceCollection)

    Registers Syncfusion smart components and their dependencies into the 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
    IServiceCollection services
    Returns
    Type
    ISmartComponentsBuilder
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved