When you buy this book you support this site! - Thank You for your support!

Sep 28

Written by: Michael Washington
9/28/2019 7:02 AM  RssIcon

image

Radzen is an application builder that has been around for years. It allows developers to build Line Of Business applications much in the way Visual Studio LightSwitch did.

To see what Radzen can do, see their demonstration site at: https://razor.radzen.com/

 

How to Get Radzen

image

You can download Radzen for free at the following link: https://www.radzen.com/download/#windows

 

A First Look

image

We will start out by creating a table in SQL Server.

 

image

We then open Radzen.

 

image

Create a new Application.

 

image

Select a location and click Create.

 

image

We want to start with the Data.

 

image

We select new to create a data source.

 

image

We select MS SQL Server, fill in the connection information, then click Infer Schema.

 

image

It will analyze the data sourceā€¦

 

image

We indicate that it is to automatically create the pages we need.

We then click the Finish button.

 

image

At this point the application is complete.

To see it, we need to close the My DataSources screen.

 

image

We are able to see the pages created.

Clicking on a page allows us to see it in designer mode.

We can see what the page will look like in various screen sizes.

We can click the run button, to run the application, and open it in the web browser.

 

image

The Output window will show the current status and display any errors.

 

image

The application will display in the web browser.

 

image

We can enter and edit data.

 

image

The data grid allows us to sort, filter, delete, and to select records to edit.

 

image

Basic form editing controls are also included.

 

Updating The Application

image

Lets say we update the application to add a new field.

 

image

We can return to the DataSources screen.

 

image

Select Infer Schema.

 

image

We check the box next to the newly detected field to indicate we want it added to the application.

We then click the Finish button.

Note, we do not click the Generate pages for CRUD operations.

 

image

Returning to the application design screen, we can select a page.

 

image

The Toolbox allows us to add a new Row.

 

image

image

We can then add Colums to the Row.

 

image

image

We can add controls to the screen.

 

image

When we run the application, the field is now editable.

 

Visual Studio

image

Another nice thing about Radzen is that it creates normal Visual Studio solutions, so it works with Source Control.

 

image

When you open the solution in Visual Studio you will see nice clean code with all the Radzen specific code in a separate project.

 

Links

Radzen

Tags: Radzen , Blazor
Categories:

2 comment(s) so far...


Gravatar

Re: Radzen–The Fastest Way To Build Blazor Applications

Hello
Can you write a detail article with master / detail (order/order details) create with radzen
Thank !

By Costas Kounadis on   10/8/2019 4:26 AM
Gravatar

Re: Radzen–The Fastest Way To Build Blazor Applications

@Costas Kounadis - That is covered in their documentation here: https://www.radzen.com/documentation/blazor/quickstart/

By Michael Washington on   10/8/2019 4:27 AM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation