XAF - Blazor Demo Update with User Authentication and Permission Management

XAF Team Blog
06 April 2020

We hope everyone is safe and in good health. These are certainly challenging times – but we can get through it together.

We updated our Blazor Demo to help demonstrate our newest enhancements. Please feel free to test the new features online and share your feedback in the comments section below. 

Security System

In this iteration, we focused our efforts on user authentication and group authorization features (UI). As we all know, it’s quite important for XAF developers and end-users to configure users, roles and data access rights at runtime. Our update includes the following: 

  • Users can log in and log off;
  • Records inaccessible through permissions are hidden;
  • Record fields inaccessible through permissions are displayed as 'Protected Content'; 
  • Users can edit permissions using appropriate editors.

Since Blazor Components do not have specialized editors for certain scenarios, we used the following temporary solutions: 

  • Criteria properties use a multi-line text editor with syntax validation; 
  • The combo box for Navigation Permissions displays a plain list instead of a hierarchy.

Miscellaneous Enhancements

  • Incremental filtering in lookup editors;
  • Clearer expand/collapse icons in the navigation menu;
  • StaticImage view item;
  • An additional dark Bootswatch theme is now available - Superhero;
  • The following known issues have been resolved:
    • Items are now correctly aligned in popup Detail Views;
    • Date editors with a value of 1/1/0001 have empty text and show the current date in the calendar.

What's Next?

We'll polish these features and hope to publish the next update in April. We have not added data input validation support (only error notifications are shown for broken rules) nor have we added a compact theme - we will work on this after the our v20.1 release (around May). For more information on our plans for Blazor UI, see eXpressApp Framework - 2020 Roadmap.

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
Mario Blatarić
Mario Blatarić

I did some early testing on pre-alpha and I am very optimistic, it is clean and fast. I need to rewrite some of my big classes (yea, I learned why de-coupling is such a big hype) to give it a proper spin, but I will probably wait initial release since Covid-19 combined with earthquake created a lot unexpected work for us. 

Can't wait to give Compact layout a spin :-) 

2 April 2020
Jacek Kosiński
Jacek Kosiński
Have you plan to release in next days  DX 20.1 EAP/BETA to test these features with own code ?
6 April 2020
Dennis (DevExpress)
Dennis Garavsky (DevExpress)
@Jacek Kosiński: Yes, as always.
6 April 2020
Konstantin Balashov
Konstantin Balashov
When  Scheduler module will be available in XAF Blazor?
6 April 2020
Bunty
Bunty
Excellent work XAF team
7 April 2020
Anatol (DevExpress Support)
Anatol (DevExpress Support)
Konstantin, we do not have this module in our roadmap for this year. Please see our plans for the next release at https://community.devexpress.com/blogs/xaf/archive/2020/01/23/expressapp-framework-2020-roadmap-your-opinion-counts.aspx.

It is also possible that you will be able to integrate Scheduler and other components unavailable by default on your own as soon as we support extensibility in v20.2.

7 April 2020
Customer56436436
Rustamer
1) the validation Interface looks terrible IMHO.
One of the necessary parts even for CTP.
At least do an auto-hide. Otherwise, there are messages from other views, which is confusing.
And check this window on different skins - the text of the validation message is not visible on the Sketchy skin.
In the demo, many business objects do not have validation at all. Saved empty! It feels like it was done on purpose.
2) Periodic reports of server connection problems due to SingnalR during various operations.
3) If I click on the search in the empty "Find Task by Subject" panel, I get to the detail View of a random element
 
11 April 2020
Nafis Suhari
Nafis Suhari
When the New XAF version with Blazor is coming, hope in this year 2020 ?, What Month ?
11 April 2020
Dennis (DevExpress)
Dennis Garavsky (DevExpress)

This early preview does not yet support the Validation module.

Blazor UI (CTP) will be out in a month or so. For more information on our plans for Blazor UI, see eXpressApp Framework - 2020 Roadmap.

What are the most critical use-case scenarios you want to deliver in the first version of your production app? With that, we will be in a better position to prioritize future development and comment further.

11 April 2020
Customer56436436
Rustamer
I would use XAF Blazor to create simple apps for internal use in the company. Not for sale and real users. Simple accounting systems within the company. The main operation is data input in Detail Views. And of course viewing in ListView

Accordingly validation with a demonstration of all the errors in one window there is still need imho. Now there are problems that prevent convenient data entry. Maybe you should make a Popup dialog with error list ? However, I'm just annoyed with the current demonstration of errors.

I understand that you are rolling out a very early version to test, but the majority of programmers has been waiting for a relatively edible version for simple data input. But then try to make significant changes already in minor versions.

I also would like to see separate detailed blog post about the future of mobile usage scenario, because now it looks doubtful in comparison with the old mobile unit on Devextreme. Somehow, we are looking at Xamarin development ;)


Thank you for your work!
 
11 April 2020
Jacek Kosiński
Jacek Kosiński

In my case important will be conditional appearance and validation rules . Nic to see filter editor and autofilter row. 

...And dreming about dashboards or reporting support but its not critical 

14 April 2020
Customer57667
Customer57667
Can this main layout be implemented with usual dx blazor components, or are you using any custom xaf components?
15 April 2020
Anatol (DevExpress Support)
Anatol (DevExpress Support)
It mostly uses DevExpress Blazor Components. You can see their main features at https://demos.devexpress.com/blazor.
We also implemented custom editors for the Contact.Photo and Resume.File fields.
Please feel free to post a Support Center ticket if you need assistance with replicating any particular UI element: https://supportcenter.devexpress.com/ticket/list
15 April 2020
Jacek Kosiński
Jacek Kosiński
In dx blazor components is avaiable autofilter. is this possible to turn it in xaf blazor app ?
2 May 2020
Dennis (DevExpress)
Dennis Garavsky (DevExpress)
@Jacek Kosiński: Absolutely! 
3 May 2020

Please login or register to post comments.