Whats New in 2020 Volume 1 Beta: Blazor | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (175).NET Core  (29).NET MAUI  (208)Angular  (109)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (41)Black Friday Deal  (1)Blazor  (220)BoldSign  (15)DocIO  (24)Essential JS 2  (107)Essential Studio  (200)File Formats  (67)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (101)Streamlit  (1)Succinctly series  (131)Syncfusion  (920)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (37)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (151)Chart  (132)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (633)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (41)Extensions  (22)File Manager  (7)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (508)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (11)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (387)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (597)What's new  (333)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
whats new in beta blazor

Whats New in 2020 Volume 1 Beta: Blazor

Syncfusion is glad to announce the availability of the Essential Studio 2020 Volume 1 beta release. In this release, we have some exciting updates in our Blazor components, which we’ll discuss in this article.

Preview to production-ready components

The following components have been developed to meet industrial standards. They are now marked as production-ready components for Blazor:

New components

We have developed some new components for the Blazor platform based on the number of requests we received for them:

These new components are now in preview mode and will eventually be developed for production.

Kanban (preview)

The Kanban component is used to visually organize and prioritize your work, and manage workflow transparency. This component is widely used in real-time applications such as for software and product development, project management, and task planning.

Key features

The key features of the Kanban component:

  • Data binding from local and remote data sources.
  • Expandable and collapsible swimlane rows.
  • Templating for UI elements: cards, columns, swimlane headers, and tooltips.
  • Stacked headers.
  • Work-in-progress (WIP) validation.
  • Single or multiple card selection.
  • Expandable and collapsible columns.
Kanban component used for task scheduling
Kanban component used for task scheduling

Card (preview)

The new Card component has been introduced. It is a flexible and extensible content container with multiple variants and options like headers, footers, media, content, and actions.

Card component used in different use cases
Card component used in different use cases

Progress Bar (preview)

The new Progress Bar component has been introduced in our Blazor suite. This component can be used to visualize the changing status of an extended operation, such as a download, file transfer, or installation.

Key features

The key features of the Progress Bar are:

  • Visualizing progress in different shapes, such as rectangles and circles.
  • Customizing ranges with different colors.
  • Customizing the thickness of the progress and its track.
  • Displaying custom content at the center of circular progress bars.
  • Visualizing progress in segments.
  • Customizing the angle of circular progress bars.

Progress Bar - Blazor component

Breaking changes in 2020 Vol. 1 release (18.1.0.36)

Though we try hard to avoid breaking changes in the APIs, there are some inevitable situations that force us to do so. Here are the breaking changes you should be aware of when upgrading your Syncfusion Blazor application to Essential Studio version 18.1.0.36.

The breaking changes primarily consist of changes in the names, and issues can be easily resolved by refactoring them. We have made these changes to avoid confusion between the JavaScript controls (EJ2) and the native Blazor components. The changes include:

NuGet changes

In previous versions, the NuGet package names for Syncfusion Blazor components had EJ2 in them. From version 18.1.0.36, EJ2 is removed from the names of the NuGet packages.

The old and new NuGet package names are provided in the following table.

Before 18.1.0.36 versionFrom 18.1.0.36 version
Syncfusion.EJ2.BlazorSyncfusion.Blazor
Syncfusion.EJ2.WordEditor.BlazorSyncfusion.Blazor.WordProcessor
Syncfusion.EJ2.Blazor.PdfViewerServer.WindowsSyncfusion.Blazor.PdfViewerServer.Windows
Syncfusion.EJ2.Blazor.PdfViewerServer.LinuxSyncfusion.Blazor.PdfViewerServer.Linux
Syncfusion.EJ2.Blazor.PdfViewerServer.OSXSyncfusion.Blazor.PdfViewerServer.OSX

Namespace changes

In a similar fashion, we have removed EJ2 from the namespaces as well. In the previous versions, every component name was prefixed with Syncfusion.EJ2.Blazor to frame their namespace. From now on, it is just going to be Syncfusion.Blazor.

The following table illustrates the changes in namespaces across different versions.

Before 18.1.0.36 versionFrom 18.1.0.36 version
Syncfusion.EJ2.BlazorSyncfusion.Blazor
Syncfusion.EJ2.Blazor.ButtonsSyncfusion.Blazor.Buttons
Syncfusion.EJ2.Blazor.CalendarsSyncfusion.Blazor.Calendars
Syncfusion.EJ2.Blazor.ChartsSyncfusion.Blazor.Charts
Syncfusion.EJ2.Blazor.GridsSyncfusion.Blazor.Grids

Component name changes

The names of the components that were prefixed with Ejs have been renamed with the prefix Sf. The following table shows the changes in the names of the Blazor components.

Before 18.1.0.36 versionFrom 18.1.0.36 version
EjsGridSfGrid
EjsChartSfChart
EjsButtonSfButton
EjsCalendarSfCalendar

Resource changes

In the previous version, you would be loading scripts ej2.min.js and ejs-interop.min.js manually in the application, which is not required from the 18.1.0.36 version on.

The scripts will be loaded from NuGet via static web assets for the components used in the page. We have also provided styles as static web assets to use in applications. The following code example illustrates the load of styles as static web assests,

<head> // in  _Host.cshtml in Blazor server application 
    <link href="_content/Syncfusion.Blazor/styles/bootstrap4.css" rel="stylesheet" />
</head>

The following image shows the script loaded from static web assets for Button component which is loaded in the page.Styles loaded as static web assests

You can load a resource from CRG by disabling the default script loading from static web assets by passing arguments to the AddSyncfusionBlazor service.

The following code example illustrates the same.

public void ConfigureServices(IServiceCollection services)
{
    services.AddRazorPages();
    services.AddServerSideBlazor();
    services.AddSingleton<WeatherForecastService>();
    services.AddSyncfusionBlazor(true); // Startup.cs in Blazor server app / Program.cs in Wasm app 
}

Conclusion

I hope you now have a clear idea about the new components and breaking changes that need to be done when upgrading to the latest version of Syncfusion’s Blazor components. You can download the latest beta version from this page, or you can get our NuGet packages from nuget.org.

If you don’t have a Syncfusion license, but would like to try out these new features, you can sign up for a free 30-day trial.

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed