9/28/2019 Admin

Radzen - The Fastest Way To Build Blazor Applications


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

An error has occurred. This application may no longer respond until reloaded. Reload 🗙