Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (143).NET Core  (23)Angular  (39)ASP.NET  (47)ASP.NET Core  (53)ASP.NET MVC  (84)Azure  (27)Blazor  (50)DocIO  (18)Essential JS 2  (65)Essential Studio  (159)Flutter  (53)JavaScript  (135)Microsoft  (96)PDF  (48)React  (29)Succinctly series  (118)Syncfusion  (403)TypeScript  (30)Uno Platform  (2)UWP  (4)Vue  (25)Webinar  (14)Windows Forms  (52)WPF  (92)Xamarin  (106)XlsIO  (20)Other CategoriesBarcode  (4)BI  (29)Bold BI  (3)Build conference  (6)Business intelligence  (53)Button  (4)C#  (100)Chart  (40)Cloud  (8)Company  (445)Dashboard  (4)Data Science  (3)Data Validation  (2)DataGrid  (31)Development  (235)Doc  (7)eBook  (89)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (14)Extensions  (7)File Manager  (3)Gantt  (6)Gauge  (4)Git  (3)Grid  (25)HTML  (8)Installer  (1)Knockout  (2)LINQPad  (1)Linux  (1)M-Commerce  (1)Metro Studio  (11)Mobile  (141)Mobile MVC  (9)OLAP server  (1)Orubase  (12)Partners  (20)PDF viewer  (15)Performance  (2)PHP  (1)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (5)Road Map  (9)Scheduler  (15)SfDataGrid  (7)Silverlight  (21)Sneak Peek  (12)Solution Services  (2)Spreadsheet  (2)SQL  (4)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (9)Tips and Tricks  (18)UI  (66)Uncategorized  (68)Unix  (2)User interface  (49)Visual State Manager  (1)Visual Studio  (12)Visual Studio Code  (7)Web  (101)What's new  (62)Windows 8  (19)Windows App  (1)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Share on twitter
Share on facebook
Share on linkedin
Build PWAs with Blazor WebAssembly Using Syncfusion Blazor Components [Webinar Show Notes]

Build Progressive Web Apps with Blazor WebAssembly Using Syncfusion Blazor Components [Webinar Show Notes]

This blog provides show notes for our July 28, 2020 webinar, “Build PWAs with Blazor WebAssembly Using Syncfusion Components,” hosted by Syncfusion product manager Sridhar Narasimhan. A recording of the webinar is embedded below. A transcript of the webinar Q&A segment is available at the end of this blog post.

Introduction

This webinar will cover the following topics:

  • What’s new in Syncfusion’s Blazor suite for the 2020 Volume 2 release, including components that have moved from preview to production status.
  • Updates to Syncfusion Essential JS 2 suites.
  • Breaking changes in the Syncfusion Blazor suite.
  • How to build a simple to-do progressive web application with ASP.NET Core-hosted Blazor WebAssembly using Syncfusion Blazor components.

What’s New in Blazor for 2020 Volume 2

Now let’s go into more detail about what’s new in our Blazor suite:

  • Compatibility support for .NET 5.0 preview 6.
  • New components move from preview to production:
    • Card
    • Progress Bar
  • New Scheduler features:
    • Enhanced virtual scrolling that helps users load multiple resources with a template.
    • Inline editing that enables users to edit an appointment’s title by clicking on its subject and to create an appointment by clicking on a cell.
    • A horizontal year view that shows the annual view of the calendar.
    • Enhancements to the timeline year view to help configure multiple resources and enable automatic row height when adding appointments.
  • ProgressBar features:
    • Active progress bar allows users to actively indicate the status of progress.
    • Striped progress bar provides a striped appearance to the indicator.
    • Progress segments allow users to display the progress of a task is segments.
  • Word Processor features:
    • Form fields allow users to design forms using legacy form fields (text, check box, and drop-downs) in a Word document. Users can fill the forms as well.
    • Track changes allows users to view the changes made to a Word document by reviewers and accept or reject those changes.
  • PDF Viewer:
    • Ink annotations let you draw freehand on PDF files. You can move, resize, remove, or edit the appearance of the freehand drawing.
  • Pivot Table features:
    • Support for CSV data sources. CSV data can be transferred from a local file or web service or from an online downloadable link.
    • New chart types for the pivot chart:
      • Pie
      • Doughnut
      • Pyramid
      • Funnel

What’s New in Essential JS 2 for 2020 Volume 2

Now let’s go into more detail about what’s new in our Essential JS 2 suites.

  • New Gantt Chart features:
    • Indent and outdent on hierarchical levels of tasks.
    • Resource view advanced features:
      • Multi-taskbar support helps visualize multiple tasks assigned to each resource in a row when records are in a collapsed state.
      • Overallocation indicates when a resource is assigned two or more tasks that occur in the same date range.
    • New DataGrid features:
      • Autofill frozen rows and columns.
      • Filter operator selector in filter bar.
      • Frozen rows and columns with infinite scrolling.
    • New Spreadsheet features:
      • Conditional formatting allows you to format a cell or range of cells based on the conditions applied.
      • Aggregates let you quickly check the sum, average, and count for the selected cells or range in the sheet tab.

Breaking Changes in 2020 Volume 2

With the new release, there have been a couple of breaking changes introduced. For a full list, please visit the following link: https://blazor.syncfusion.com/documentation/release-notes/18.2.44/.

Build a To-Do PWA with Blazor WebAssembly Using Blazor Components

Procedure:

  1. Install the latest .NET Core SDK (3.1.300 or later):
    1. Windows: Visual Studio 2019 16.6.
    2. macOS: Visual Studio for Mac 8.6.
    3. Windows/macOS/Linux: Visual Studio Code with the C# extension.
  2. Create a new Blazor PWA.

  1. Create a model for to-do items.

  1. Import Syncfusion Blazor components into the application:
    1. Install the Syncfusion.Blazor NuGet package in the application using the NuGet Package Manager.
    2. You can add client-side style resources like a stylesheet from the NuGet package to the <head> element of the ~/wwwroot/index.html page in the Blazor WebAssembly app.
    3. Open the ~/Program.cs file and register the Syncfusion Blazor Service.

  1. Add the to-do component and code its functionality.
  2. Install the progressive web app.

  1. Hosting:
    1. Modify the base href in index.html: <base href=”/BlazorPWA/” />
    2. CRG: Custom script and CSS.
    3. Publish client project to a folder.
    4. Service worker asset changes: Remove static assets.
  2. Azure deployment:
    1. Move published folder to Azure.
    2. Configure map settings.
    3. Launch application.
  3. Testing offline support:
    1. Install the application from the browser for a native application effect.
    2. Set the throttle setting in the browser dev tools for offline mode.
    3. Refresh to see if the application loads in offline mode.

Conclusion

In this webinar, we took a tour of various changes in Syncfusion’s Blazor and Essential JS 2 tolls in 2020 Volume 2. Then, we built a progressive web application with ASP.NET Core-hosted Blazor WebAssembly using our Blazor components. We hope you enjoyed this webinar.

Recommended resources (related links):

Webinar Q&A

When you are deploying the application, which application should we deploy, server or client?

You should deploy the client application. For more information, refer to this link: https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/?view=aspnetcore-3.1&tabs=visual-studio.

Do we need to change anything in the server?

In creating my simple to-do application , I don’t require any server changes. You can add server-side code based on your application requirements.

When you say it is accessible offline, do we need to do any more changes in code to sync application data (changes done by user when offline)?

Yes. You can check out this Steve Sanderson sample for an example of how to do it:

Are you planning to add a ribbon control to the Blazor suite?

Not immediately, but maybe in later releases. You can submit your request on our feedback page at https://www.syncfusion.com/feedback/blazor-components.

Can I use Blazor WebAssembly (WASM) without any web server (IIS), say, only static pages using a browser on the client? Is it possible with or without Syncfusion controls?

Yes, you can. Refer to this link for more information: https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-3.1.

Tags:

Share this post:

Share on twitter
Share on facebook
Share on linkedin

Leave a comment

Popular Now

Be the first to get updates

Subscribe RSS feed
Scroll To Top