2020 Volume 1 Web Updates and Blazor: Webinar Q&A | 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)

2020 Volume 1 Web Updates and Blazor: Webinar Q&A

Syncfusion’s recent release of Essential Studio 2020 Vol. 1 contained a number of enhancements for its suite of controls for Blazor—a platform gaining popularity among developers. In a recent webinar, titled “2020 Volume 1 – Web Updates and Blazor,” Syncfusion’s Uma Maheswari reviewed the new Blazor and web features added to Essential Studio.

If you missed the webinar, you can watch it right here.

You can also find this webinar, and many others, on Syncfusion’s YouTube channel. The following answers and questions came from the Q&A segment of the webinar.

Do you have performance benchmarks for these components? If yes, where can we find them?

We maintain performance benchmarks for all our components internally, but we have not published those benchmarks online.

Regarding the DataGrid, here are its performance metrics.

Configuration: 10 columns rendered; 5,000 rows; paging enabled.

Approximate times:

  • Initial loading: 220 ms
  • Grouping (single column): 200 ms
  • Ungrouping (single column): 250 ms
  • Filtering using “contains” operator (single column): 80 ms
  • Clearing filter: 180 ms

NOTE: When dealing with a large data set, we recommend using the paging or virtualization feature to retrieve and display chunks of data.

Where can we find the unit test for components in GitHub for Angular?

It is not currently available in GitHub; we do not have immediate plans to publish it.

CardHeader allows a title, but I don’t think it has a ContentChild. Will this be a feature in the future?

CardHeader does support placing any of the child content options within it—like HTML elements, text, links, images, or components—by passing them directly inside the CardHeader tag, like this:

<CardHeader>

 Machine Learning

 <SfButton>Click here</SfButton>

 <img src="avatar5.png" height="30" width="30" />

</CardHeader>

Check out this example:

https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorApp11710410849

Will there be a Report Viewer for Blazor in the near future? I know there is a workaround using JavaScript, but a native Blazor component would be nice.

Sorry, but we do not plan to release a fully native Blazor component.

With the latest update, will there be support for the ResourceView type in the JavaScript Gantt control?

Yes, resource view support is available in our JavaScript Gantt component in this latest release. You can refer to this example: https://ej2.syncfusion.com/demos/#/material/gantt/resource-view.html.

You can find the documentation at https://ej2.syncfusion.com/documentation/gantt/resource-view.

Does Blazor localization not use JavaScript files?

Since we migrated our localization files from JSON to .resx files in v.18.1.0.42 for Blazor server apps, we don’t need JavaScript files for localization. However, the Blazor WebAssembly app still requires JavaScript files and JSON data for localization and globalization. Please refer to our documentation: https://blazor.syncfusion.com/documentation/common/localization/#localization.

Will there be a Blazor report component like Crystal Reports for WPF?

Yes. Please refer to the following blog post: “Blazor Report Viewer Component Using Bold Reports.”

Are you going to implement the ability to save documents in the Word editor from cloud storage providers like Azure and Google? You have Azure support for opening them, but not for saving them.

We already provided an API for saving document editor content as a blob. Using that, you can store the blob in a cloud at the application level. For opening documents from a cloud, we have a documented code example; however, for saving, we don’t have anything documented yet. We have considered it and will document that feature soon.

Please refer to https://blazor.syncfusion.com/documentation/document-editor/opening-a-document.

The following code example shows saving document editor content in Blazor.

public async void onSave()
{

   DocumentEditorModule editor = container.GetDocumentEditor();
   object base64Data = await editor.SaveAsBlob(FormatType.Docx);
   Dictionary<string, string> documentContent = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<string, string>>(base64Data.ToString());
   byte[] data = Convert.FromBase64String(documentContent["data"]);
   Stream stream = new MemoryStream(data);

   //Connect to Azure.
   CloudStorageAccount storageAccount = CloudStorageAccount.Parse(“yourconnectionString”);

   // Create a reference to the file client.
   CloudFileClient fileClient = storageAccount.CreateCloudFileClient();

   // Get a reference to the file share we created previously.
   CloudFileShare share = fileClient.GetShareReference("yourfilesharename");
 
   if (share.Exists())
   {
     // Generate a SAS for a file in the share.
     CloudFileDirectory rootDir = share.GetRootDirectoryReference();
     CloudFile cfile = rootDir.GetFileReference("documentname.docx");
     Stream fileStream = stream;
     cfile.UploadFromStream(fileStream);
     fileStream.Dispose();
   }
}

Can you make a video on the Word editor for loading, editing, saving, and updating documents in a cloud?

Yes, we will make a video on this topic and will publish it before the end of April.

Is Blazor as stable as .NET Core for creating web apps?

Yes, Blazor server-side is production-ready. By May, during Build, Microsoft may announce that Blazor WebAssembly is production ready.

Are there any features missing in the Blazor Scheduler compared to .NET Core, like multiple resources?

There is no difference between the ASP.NET Core and Blazor versions of the Scheduler. All the features available in ASP.NET Core are available in Blazor as well.

Just to make sure, the new Blazor components are not wrappers around JavaScript controls, correct?

Yes, that is correct.

Will the file manager support storage from Dropbox so we can allow users to manage their own content?

That is not supported yet. We received a similar request recently. Please visit the following link to vote for this request to help us prioritize it as a feature in an upcoming release.

https://www.syncfusion.com/feedback/8433/implement-the-dropbox-and-one-drive-file-system-providers

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed