Contents

Syncfusion EJ2 AspNet Core Blazor components installation

If you need professional and supported set of components for server side / client side Blazor web applications use Syncfusion components.

More info:

Installation - NuGet packages :

  • Syncfusion.EJ2.Blazor

Startup.cs

Configure method

Licensing is not needed in case of preview version and library don’t even contain “Licensing” namespace.

// Register Syncfusion license Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("…licence string…");

_Host.cshtml

@addTagHelper *, Syncfusion.EJ2.Blazor

_Imports.razor

@using Syncfusion.EJ2.Blazor @using Syncfusion.EJ2.Blazor.Calendars

Components usage in razor files

@page “/”

The result

If everything is deployed as expected you should see similar result page:

/images/2019-07-07-23_31_02-WebApplication1.png